<h2><tmpl_var name="list_head_txt"></h2>
<p><tmpl_var name="list_desc_txt"></p>

<div class="panel panel_invoice_recurring_item">

  <div class="pnl_formsarea">
    <fieldset class="inlineLabels"><legend>Item</legend>
	<tmpl_if name='terminated'>
	<div class="ctrlHolder">
      	{tmpl_var name='already_cancelled_txt'}
	  </div>
	  <div class="ctrlHolder">
      	<label for="start_date">{tmpl_var name='termination_date_txt'}</label>
        {tmpl_var name='termination_date'}
	  </div>
	  <input type="hidden" name="end_date" value="{tmpl_var name='termination_date'}">
	  </tmpl_else>
	<div class="ctrlHolder">
      	{tmpl_var name='cancellation_explanation_txt'}
	  </div>
	  <div class="ctrlHolder">
      	<label for="end_date">{tmpl_var name='end_date_txt'}</label>
        <select name="end_date" id="end_date" class="selectInput"{tmpl_var name='end_date_disabled'}>
					{tmpl_var name='end_date'}
				</select>
	  </div>
	  <div class="buttonHolder buttons">
      <button class="positive iconstxt icoPositive" type="button" value="{tmpl_var name='btn_save_txt'}" onClick="clickSubmitButton();submitFormConfirm('pageForm','billing/dashboard_product_edit.php','{tmpl_var name='submit_confirmation'}','{tmpl_var name='order_confirmation'}');"><span>{tmpl_var name='btn_save_txt'}</span></button>
      <button class="negative iconstxt icoNegative" type="button" value="{tmpl_var name='btn_cancel_txt'}" onClick="loadContent('dashboard/dashboard.php');"><span>{tmpl_var name='btn_cancel_txt'}</span></button>
    </div>
    </tmpl_if>
    </fieldset>
</div>
    <input type="hidden" name="id" value="{tmpl_var name='id'}">
	<input type="hidden" id="clickedsubmitbutton" name="clickedsubmitbutton" value="no">

    
  
</div>
<script language="JavaScript" type="text/javascript">
    function clickSubmitButton(){
		jQuery('#clickedsubmitbutton').val('yes');
	};
			
</script>