<!-- BEGIN DYNAMIC BLOCK: invoicebuttons -->
<div id="invoicebutton_{INVOICEBUTTON_PAY}" style="float:left; padding-right:4px; display:{INVOICEBUTTON_DISPLAY}">
<form method=post action=index.php>
<input type="button" name="invoicebutton" class="{INVOICEBUTTON_SIZE}" value='{INVOICEBUTTON_VALUE}' onclick="{INVOICEBUTTON_JSFUNCTION}">
</form>
</div>
<!-- END DYNAMIC BLOCK: invoicebuttons -->

<!-- BEGIN DYNAMIC BLOCK: paywith -->
<div style='padding-top:5px;'class='newline'></div>
<div style="padding-bottom:10px;">
  <b style='padding-right:5px;font-size:10px;'>[l]Payment Method[/l]:</b>
  <span id="paymethod_select" style="display:none">
    <form name="paymethod">
      <select name="paymentmethod" id="paymentmethod" onchange="refreshCCSection();">
        <option value="0">[l]-- Select payment method --[/l]</option>
        <!-- BEGIN DYNAMIC BLOCK: payoption -->
        <option value="{PAYMENT_TYPE}" {PAYMENT_SELECTED}> {PAYMENT_NAME}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
        <!-- END DYNAMIC BLOCK: payoption -->
      </select>
      [ <a href="javascript:restoreDefaultPaymentMethod({DISPLAY_PAYINVOICE_FOR_DEFAULT_METHOD});" class="liveupdate">[l]Return to default[/l]</a> ]
    </form>
  </span>
  <span id="paymethod_pretty">
    {DEFAULT_METHOD} 
    <!-- BEGIN DYNAMIC BLOCK: multipleoptions -->
    [ <a href="javascript:showAlternatePaymentMethods();" class="liveupdate">[l]change[/l]</a> ]
    <!-- END DYNAMIC BLOCK: multipleoptions -->
  </span>
</div>
<!-- END DYNAMIC BLOCK: paywith -->

<!-- hidden div used to show the passphrase text box -->
<div style='padding-top:5px;'class='newline'></div>
<div id="passphrasediv" style="display:none;padding-bottom:5px;">
<form name='processform' method='post' onSubmit="{PROCESSINVOICEJSFUNCTION} return false;">
<b style='padding-right:5px;font-size:10px;'>[l]Enter passphrase[/l]:</b>
<input id='processform_passphrase' type=password name='passphrase' size="8" />
<input type=submit name=invoicebutton class=button_medium value='[lh]Submit[/lh]' onClick="{PROCESSINVOICEJSFUNCTION} return false;" />
</form>
</div>

<!--BEGIN DYNAMIC BLOCK: noButtonsMsg -->
[l]You can't perform any operation on this(these) invoice(s)[/l]
<!--END DYNAMIC BLOCK: noButtonsMsg -->
