<?lsmb#   This is a comment block; it's ignored by the template engine.

   Version:  1.0
   Date:     2021-01-04
   File:     printPayment.html
   Set:      demo

Template version numbers are explicitly not aligned across templates or
releases. No explicit versioning was applied before 2021-01-04.

-?>
<!DOCTYPE html>
<html>
<head>
  <meta name="generator" content="HTML Tidy for HTML5 for Linux version 5.6.0">
  <title></title>
  <style type="text/css">
  td.c7 {text-align:left}
  span.c6 {text-transform:uppercase}
  th.c5 {text-align:right}
  td.c4 {text-align:center}
  span.c3 {color: black}
  h1.c2 {text-transform:uppercase}
  th.c1 {text-align:left}
  </style>
</head>
<body>
  <?lsmb column_count = 0 -?>
  <table width="100%" id="header_table">
    <tr id="header_bar">
      <th id="top_bar_header" colspan="2" width="30%" class="c1">
        <h5>LOGO AREA<br>
        <?lsmb text('Address: [_1]', company.address) ?><br>
        <?lsmb text('Tel: [_1]', company.telephone) ?></h5>
      </th>
      <th class="c1">
        <h1 class="c2"><?lsmb text('Payment Order Number [_1]', header.payment_reference) ?></h1>
      </th>
    </tr>
  </table>
  <table class="datarow" width="100%" cellspacing="0" cellpadding="0" border="1">
    <tr>
      <th class="titledatarow" align="center" width="7%"><span class=
      "c3"><?lsmb text('Invoice') ?>&nbsp;<?lsmb text('Number')?></span></th>
      <th class="titledatarow" align="center" width="11%"><span class=
      "c3"><?lsmb text('Account') ?></span></th>
      <th class="titledatarow" align="center" width="68%"><span class=
      "c3"><?lsmb text('Description') ?></span></th>
      <th class="titledatarow" align="center" width="14%"><span class=
      "c3"><?lsmb text('Source') ?></span></th>
      <th class="titledatarow" align="center" width="14%"><span class=
      "c3"><?lsmb text('Amount') ?></span></th>
    </tr><?lsmb FOREACH row IN rows -?>
    <tr valign="top">
      <td class="c4"><?lsmb row.invoice_number ?></td>
      <td class="c4"><?lsmb row.chart_description?>--<?lsmb row.chart_accno?></td>
      <td class="c4"><?lsmb row.memo -?></td>
      <td class="c4"><?lsmb row.source ?></td>
      <td class="c4"><?lsmb row.amount ?></td>
    </tr><?lsmb END -?>
    <tr valign="top">
      <th class="c5" colspan="4">&nbsp; <?lsmb text('TOTAL') ?></th>
      <td class="c4"><?lsmb header.amount ?></td>
    </tr>
  </table>
  <table width="100%">
    <tr>
      <th class="titledatarow c1"><span class="c3"><?lsmb text('Currency') ?>:
      <?lsmb header.currency ?></span></th>
      <th class="titledatarow c1"><span class="c3"><?lsmb text('Date') ?>:
      <?lsmb header.payment_date ?></span></th>
      <th rowspan="5" width="30%" class="c1"><span class="c6"><?lsmb text('Signature') ?><br>
      <br>
      <br>
      <br>
      <br>
      <br>
      <br>
      ___________________________________________<br>
      <?lsmb text('Identification') ?></span></th>
    </tr>
    <tr>
      <td width="70%" class="c7" colspan="3"><span><b><?lsmb text('Pay in behalf of') ?>:</b>
      <?lsmb header.legal_name ?></span></td>
    </tr>
    <tr>
      <td class="c7" colspan="3"><span><b><?lsmb text('The amount of') ?>:</b>
      <?lsmb   header.amount2text  -?></span></td>
    </tr>
    <tr>
      <td class="c7" colspan="3"><span><b><?lsmb text('This document has been approved by')
        -?>:</b><?lsmb header.employee_first_name -?>&nbsp;<?lsmb  header.employee_last_name -?></span></td>
    </tr>
    <tr>
      <td colspan="3" class="c7"><span><b><?lsmb text('Approved signature')?>:</b>
      ____________________________</span></td>
    </tr>
    <tr>
      <td class="c7" colspan="3"><span><b><?lsmb text('Notes') ?>:</b>
      <?lsmb header.notes ?></span></td>
    </tr>
  </table>
</body>
</html>
