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

<div class="panel panel_invoice_client_settings">

  <div class="pnl_formsarea">
    <fieldset class="inlineLabels"><legend>Settings</legend>
      <div class="ctrlHolder">
      	<label for="invoice_company_id">{tmpl_var name='invoice_company_id_txt'}</label>
        <select name="invoice_company_id" id="invoice_company_id" class="selectInput">
					{tmpl_var name='invoice_company_id'}
				</select>
      </div>
      <div class="ctrlHolder">
      	<label for="payment_email">{tmpl_var name='payment_email_txt'}</label>
        <input name="payment_email" id="payment_email" value="{tmpl_var name='payment_email'}" size="30" maxlength="255" type="text" class="textInput" />
			</div>
      <div class="ctrlHolder">
      	<label for="payment_terms">{tmpl_var name='payment_terms_txt'}</label>
        <select name="payment_terms" id="payment_terms" class="selectInput">
					{tmpl_var name='payment_terms'}
				</select>
      </div>
      <div class="ctrlHolder">
      	<label for="payment_gateway">{tmpl_var name='payment_gateway_txt'}</label>
        <select name="payment_gateway" id="payment_gateway" class="selectInput">
					{tmpl_var name='payment_gateway'}
				</select>
      </div>
	  <div class="ctrlHolder">
      	<label for="last_invoice_number">{tmpl_var name='last_invoice_number_txt'}</label>
        <input name="last_invoice_number" id="last_invoice_number" value="{tmpl_var name='last_invoice_number'}" size="30" maxlength="255" type="text" class="textInput" />
			</div>
		<div class="ctrlHolder">
      	<label for="last_refund_number">{tmpl_var name='last_refund_number_txt'}</label>
        <input name="last_refund_number" id="last_refund_number" value="{tmpl_var name='last_refund_number'}" size="30" maxlength="255" type="text" class="textInput" />
			</div>
		<div class="ctrlHolder">
      	<label for="last_proforma_number">{tmpl_var name='last_proforma_number_txt'}</label>
        <input name="last_proforma_number" id="last_proforma_number" value="{tmpl_var name='last_proforma_number'}" size="30" maxlength="255" type="text" class="textInput" />
			</div>
      <div class="ctrlHolder">
				<p class="label">{tmpl_var name='no_invoice_sending_txt'}</p>
					<div class="multiField">
						{tmpl_var name='no_invoice_sending'}
					</div>
			</div>
    </fieldset>

    <input type="hidden" name="id" value="{tmpl_var name='id'}">

    <div class="buttonHolder buttons">
      <button class="positive iconstxt icoPositive" type="button" value="{tmpl_var name='btn_save_txt'}" onClick="submitForm('pageForm','billing/invoice_client_settings_edit.php');"><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('billing/client_list.php');"><span>{tmpl_var name='btn_cancel_txt'}</span></button>
    </div>
  </div>
  
</div>
