summaryrefslogtreecommitdiff
path: root/templates/demo/work_order.html
blob: 6fb884f0d5279ab31c5508cb9a8d0414c791b0fb (plain)
  1. <body bgcolor=ffffff>
  2. <table width="100%">
  3. <?lsmb INCLUDE letterhead.html ?>
  4. <tr>
  5. <td width=10>&nbsp;</td>
  6. <th colspan=3>
  7. <h4>W O R K &nbsp;&nbsp; O R D E R</h4>
  8. </th>
  9. </tr>
  10. <tr>
  11. <td>&nbsp;</td>
  12. <td>
  13. <table width=100% callspacing=0 cellpadding=0>
  14. <tr bgcolor=000000>
  15. <th align=left width="50%"><font color=ffffff>To</th>
  16. <th align=left width="50%"><font color=ffffff>Ship To</th>
  17. </tr>
  18. <tr valign=top>
  19. <td><?lsmb name ?>
  20. <br><?lsmb address1 ?>
  21. <?lsmb IF address2 ?>
  22. <br><?lsmb address2 ?>
  23. <?lsmb END ?>
  24. <br><?lsmb city ?>
  25. <?lsmb IF state ?>
  26. , <?lsmb state ?>
  27. <?lsmb END ?>
  28. <?lsmb zipcode ?>
  29. <?lsmb IF country ?>
  30. <br><?lsmb country ?>
  31. <?lsmb END ?>
  32. <br>
  33. <?lsmb IF contact ?>
  34. <br>Attn: <?lsmb contact ?>
  35. <?lsmb END ?>
  36. <?lsmb IF customerphone ?>
  37. <br>Tel: <?lsmb customerphone ?>
  38. <?lsmb END ?>
  39. <?lsmb IF customerfax ?>
  40. <br>Fax: <?lsmb customerfax ?>
  41. <?lsmb END ?>
  42. <?lsmb IF email ?>
  43. <br><?lsmb email ?>
  44. <?lsmb END ?>
  45. </td>
  46. <td><?lsmb shiptoname ?>
  47. <br><?lsmb shiptoaddress1 ?>
  48. <?lsmb IF shiptoaddress2 ?>
  49. <br><?lsmb shiptoaddress2 ?>
  50. <?lsmb END ?>
  51. <br><?lsmb shiptocity ?>
  52. <?lsmb IF shiptostate ?>
  53. , <?lsmb shiptostate ?>
  54. <?lsmb END ?>
  55. <?lsmb shiptozipcode ?>
  56. <?lsmb IF shiptocountry ?>
  57. <br><?lsmb shiptocountry ?>
  58. <?lsmb END ?>
  59. <br>
  60. <?lsmb IF shiptocontact ?>
  61. <br><?lsmb shiptocontact ?>
  62. <?lsmb END ?>
  63. <?lsmb IF shiptophone ?>
  64. <br>Tel: <?lsmb shiptophone ?>
  65. <?lsmb END ?>
  66. <?lsmb IF shiptofax ?>
  67. <br>Fax: <?lsmb shiptofax ?>
  68. <?lsmb END ?>
  69. <?lsmb IF shiptoemail ?>
  70. <br><?lsmb shiptoemail ?>
  71. <?lsmb END ?>
  72. </td>
  73. </tr>
  74. </table>
  75. </td>
  76. </tr>
  77. <tr height=5></tr>
  78. <tr>
  79. <td>&nbsp;</td>
  80. <td>
  81. <table width=100% border=1>
  82. <tr>
  83. <th width=17% align=left nowrap>Order #</th>
  84. <th width=17% align=left>Order Date</th>
  85. <th width=17% align=left>Required by</th>
  86. <th width=17% align=left nowrap>Salesperson</th>
  87. <th width=17% align=left nowrap>Shipping Point</th>
  88. <th width=15% align=left nowrap>Ship Via</th>
  89. </tr>
  90. <tr>
  91. <td><?lsmb ordnumber ?></td>
  92. <td><?lsmb orddate ?></td>
  93. <td><?lsmb reqdate ?></td>
  94. <td><?lsmb employee ?></td>
  95. <td><?lsmb shippingpoint ?>&nbsp;</td>
  96. <td><?lsmb shipvia ?>&nbsp;</td>
  97. </tr>
  98. </table>
  99. </td>
  100. </tr>
  101. <tr>
  102. <td>&nbsp;</td>
  103. <td>
  104. <table width="100%">
  105. <tr bgcolor=000000>
  106. <th align=right><font color=ffffff>Item</th>
  107. <th align=left><font color=ffffff>Number</th>
  108. <th align=left><font color=ffffff>Description</th>
  109. <th><font color=ffffff>Qt'y</th>
  110. <th>&nbsp;</th>
  111. <th><font color=ffffff>Bin</th>
  112. <th><font color=ffffff>Serial #</th>
  113. </tr>
  114. <?lsmb FOREACH number ?>
  115. <?lsmb loop_count = loop.count - 1 ?>
  116. <tr valign=top>
  117. <td align=right><?lsmb runningnumber.${loop_count} ?>.</td>
  118. <td><?lsmb number.${loop_count} ?></td>
  119. <td><?lsmb description.${loop_count} ?></td>
  120. <td align=right><?lsmb qty.${loop_count} ?></td>
  121. <td><?lsmb unit.${loop_count} ?></td>
  122. <td><?lsmb bin.${loop_count} ?></td>
  123. <td><?lsmb serialnumber.${loop_count} ?></td>
  124. </tr>
  125. <?lsmb END ?>
  126. <tr>
  127. <td colspan=7><hr noshade></td>
  128. </tr>
  129. </table>
  130. </td>
  131. </tr>
  132. <tr>
  133. <td>&nbsp;</td>
  134. <?lsmb IF notes ?>
  135. <td><?lsmb notes ?></td>
  136. <?lsmb END ?>
  137. </tr>
  138. </table>
  139. </body>
  140. </html>