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

<div class="panel panel_invoice_message_template">

  <div class="pnl_formsarea">
    <fieldset class="inlineLabels"><legend>Settings</legend>
      <div class="ctrlHolder">
      	<label for="template_type">{tmpl_var name='template_type_txt'}</label>
        <select name="template_type" id="template_type" class="selectInput">
					{tmpl_var name='template_type'}
				</select>
      </div>
      <div class="ctrlHolder">
      	<label for="template_name">{tmpl_var name='template_name_txt'}</label>
        <input name="template_name" id="template_name" value="{tmpl_var name='template_name'}" size="30" maxlength="255" type="text" class="textInput" />
			</div>
      <div class="ctrlHolder">
      	<label for="subject">{tmpl_var name='subject_txt'}</label>
        <input name="subject" id="subject" value="{tmpl_var name='subject'}" style="width:500px" size="30" maxlength="255" type="text" class="textInput" />
		<br clear="all">{tmpl_var name='variables_txt'}: <a href="javascript:void(0);" class="addPlaceholder">{INVOICE_NUMBER}</a>, <a href="javascript:void(0);" class="addPlaceholder">{INVOICE_AMOUNT}</a>, <a href="javascript:void(0);" class="addPlaceholder">{INVOICE_CURRENCY}</a>, <a href="javascript:void(0);" class="addPlaceholder">{INVOICE_DATE}</a>, <a href="javascript:void(0);" class="addPlaceholder">{INVOICE_PAY_LINK}</a> <b style="color:#f00;">::</b> <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_CONTACT_NAME}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_COMPANY_NAME}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_COMPANY_ID}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_CUSTOMER_NO}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_VAT_ID}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_STREET}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_ZIP}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_CITY}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_STATE}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_COUNTRY}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_TELEPHONE}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_MOBILE}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_FAX}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_EMAIL}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_INTERNET}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_ICQ}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_NOTES}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_BANKACCOUNT_NO}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_BANKACCOUNT_OWNER}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_BANK_CODE}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_BANK_NAME}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_BANKACCOUNT_IBAN}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_BANKACCOUNT_SWIFT}</a> <b style="color:#f00;">::</b> <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_COMPANY_NAME}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_COMPANY_NAME_SHORT}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_CONTACT_NAME}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_CEO_NAME}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_VAT_ID}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_TAX_ID}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_COMPANY_REGISTER}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_STREET}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_ZIP}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_CITY}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_STATE}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_COUNTRY}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_TELEPHONE}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_FAX}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_EMAIL}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_INTERNET}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_BANKACCOUNT_OWNER}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_BANKACCOUNT_NO}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_BANK_CODE}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_BANK_NAME}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_BANKACCOUNT_IBAN}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_BANKACCOUNT_SWIFT}</a>
			</div>
      <div class="ctrlHolder">
      	<label for="message">{tmpl_var name='message_txt'}</label>
        <textarea name="message" id="message" rows='' cols='' style="width:500px">{tmpl_var name='message'}</textarea>
		<br clear="all">{tmpl_var name='variables_txt'}: <a href="javascript:void(0);" class="addPlaceholder">{INVOICE_NUMBER}</a>, <a href="javascript:void(0);" class="addPlaceholder">{INVOICE_AMOUNT}</a>, <a href="javascript:void(0);" class="addPlaceholder">{INVOICE_CURRENCY}</a>, <a href="javascript:void(0);" class="addPlaceholder">{INVOICE_DATE}</a>, <a href="javascript:void(0);" class="addPlaceholder">{INVOICE_PAY_LINK}</a> <b style="color:#f00;">::</b> <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_CONTACT_NAME}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_COMPANY_NAME}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_COMPANY_ID}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_CUSTOMER_NO}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_VAT_ID}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_STREET}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_ZIP}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_CITY}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_STATE}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_COUNTRY}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_TELEPHONE}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_MOBILE}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_FAX}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_EMAIL}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_INTERNET}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_ICQ}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_NOTES}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_BANKACCOUNT_OWNER}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_BANKACCOUNT_NO}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_BANK_CODE}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_BANK_NAME}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_BANKACCOUNT_IBAN}</a>, <a href="javascript:void(0);" class="addPlaceholder">{CLIENT_BANKACCOUNT_SWIFT}</a> <b style="color:#f00;">::</b> <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_COMPANY_NAME}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_COMPANY_NAME_SHORT}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_CONTACT_NAME}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_CEO_NAME}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_VAT_ID}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_TAX_ID}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_COMPANY_REGISTER}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_STREET}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_ZIP}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_CITY}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_STATE}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_COUNTRY}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_TELEPHONE}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_FAX}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_EMAIL}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_INTERNET}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_BANKACCOUNT_OWNER}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_BANKACCOUNT_NO}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_BANK_CODE}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_BANK_NAME}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_BANKACCOUNT_IBAN}</a>, <a href="javascript:void(0);" class="addPlaceholder">{ISSUER_BANKACCOUNT_SWIFT}</a>
      </div>
	  <div class="buttonHolder buttons">
      <button class="positive iconstxt icoPositive" type="button" value="{tmpl_var name='btn_save_txt'}" onClick="submitForm('pageForm','billing/invoice_message_template_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/invoice_message_template_list.php');"><span>{tmpl_var name='btn_cancel_txt'}</span></button>
    </div>
    </fieldset>

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

    
  </div>
  
</div>
