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

   Version:  1.0
   Date:     2021-01-04
   File:     request_quotation.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><?lsmb text('Request for Quotation') ?></title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <style type="text/css">
  body {
  background-color: white;
  }
  tr.c3 {background-color: black}
  span.c2 {color: white}
  h4.c1 {text-transform:uppercase}
  </style>
</head>
<body>
  <table width="100%">
    <?lsmb INCLUDE letterhead ?>
    <tr>
      <th colspan="3">
        <h4 class="c1"><?lsmb text('Request for Quotation') ?></h4>
      </th>
    </tr>
    <tr>
      <td>
        <table width="100%">
          <tr class="c3">
            <th align="left" width="50%"><span class="c2"><?lsmb text('To:') ?></span></th>
            <th align="left" width="50%"><span class="c2"><?lsmb text('Ship To:') ?></span></th>
          </tr>
          <tr valign="top">
            <td><?lsmb name ?><br>
            <?lsmb address1 ?> <?lsmb IF address2 ?><br>
            <?lsmb address2 ?> <?lsmb END ?><br>
            <?lsmb city ?> <?lsmb IF state ?> , <?lsmb state ?> <?lsmb END ?> <?lsmb zipcode ?>
            <?lsmb IF country ?><br>
            <?lsmb country ?> <?lsmb END ?><br>
            <?lsmb IF contact ?><br>
            <?lsmb text('Attn: [_1]', contact) ?> <?lsmb END ?> <?lsmb IF vendorphone ?><br>
            <?lsmb text('Tel: [_1]', vendorphone) ?> <?lsmb END ?> <?lsmb IF vendorfax ?><br>
            <?lsmb text('Fax: [_1]', vendorfax) ?> <?lsmb END ?></td>
            <td><?lsmb shiptoname ?><br>
            <?lsmb shiptoaddress1 ?> <?lsmb IF shiptoaddress2 ?><br>
            <?lsmb shiptoaddr2 ?> <?lsmb END ?><br>
            <?lsmb shiptocity ?> <?lsmb IF shiptostate ?> , <?lsmb shiptostate ?> <?lsmb END ?>
            <?lsmb shiptozipcode ?> <?lsmb IF shiptocountry ?><br>
            <?lsmb shiptocountry ?> <?lsmb END ?><br>
            <?lsmb IF shiptocontact ?><br>
            <?lsmb text('Attn: [_1]', shiptocontact) ?> <?lsmb END ?> <?lsmb IF shiptophone ?><br>
            <?lsmb text('Tel: [_1]', shiptophone) ?> <?lsmb END ?> <?lsmb IF shiptofax ?><br>
            <?lsmb text('Fax: [_1]', shiptofax) ?> <?lsmb END ?></td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td></td>
    </tr>
    <tr>
      <td>
        <table width="100%" border="1">
          <tr>
            <th width="17%" align="left"><?lsmb text('RFQ #') ?></th>
            <th width="17%" align="left"><?lsmb text('Date') ?></th>
            <th width="17%" align="left"><?lsmb text('Required by') ?></th>
            <th width="17%" align="left"><?lsmb text('Contact') ?></th>
            <th width="17%" align="left"><?lsmb text('Shipping Point') ?></th>
            <th width="15%" align="left"><?lsmb text('Ship via') ?></th>
          </tr>
          <tr>
            <td><?lsmb quonumber ?></td>
            <td><?lsmb quodate ?></td>
            <td><?lsmb reqdate ?>&nbsp;</td>
            <td><?lsmb employee ?></td>
            <td><?lsmb shippingpoint ?>&nbsp;</td>
            <td><?lsmb shipvia ?>&nbsp;</td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td></td>
    </tr>
    <tr>
      <td><?lsmb text('Please provide price and delivery time for the following items:') ?></td>
    </tr>
    <tr>
      <td></td>
    </tr>
    <tr>
      <td>
        <table width="100%">
          <tr>
            <th align="right"><?lsmb text('Item') ?></th>
            <th align="left"><?lsmb text('Number') ?></th>
            <th align="left"><span class="c2"><?lsmb text('Description') ?></span></th>
            <th><?lsmb text('Qty') ?></th>
            <th>&nbsp;</th>
            <th><?lsmb text('Delivery') ?></th>
            <th></th>
            <th></th>
          </tr><?lsmb FOREACH number ?><?lsmb loop_count = loop.index ?>
          <tr valign="top">
            <td align="right"><?lsmb runningnumber.${loop_count} ?>.</td>
            <td><?lsmb number.${loop_count} ?></td>
            <td><?lsmb item_description.${loop_count}.replace("\n","<br />") ?></td>
            <td align="right"><?lsmb qty.${loop_count} ?></td>
            <td><?lsmb unit.${loop_count} ?></td>
          </tr><?lsmb END ?>
          <tr>
            <td colspan="8">
              <hr noshade>
            </td>
          </tr>
        </table>
      </td>
    </tr><?lsmb IF notes ?>
    <tr>
      <td>
        <table width="100%">
          <tr valign="top">
            <td></td>
            <td>
              <?lsmb  FOREACH P IN notes.split('\n\n') ?>
              <p><?lsmb P ?></p><?lsmb END ?>
            </td>
          </tr>
        </table>
      </td>
    </tr><?lsmb END ?>
  </table>
</body>
</html>
