demo_01.html 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  3. <head>
  4. <link rel="STYLESHEET" href="css/print_static.css" type="text/css" />
  5. </head>
  6. <body>
  7. <div id="body">
  8. <div id="section_header">
  9. </div>
  10. <div id="content">
  11. <div class="page" style="font-size: 7pt">
  12. <table style="width: 100%;" class="header">
  13. <tr>
  14. <td><h1 style="text-align: left">SCHEDULE A</h1></td>
  15. <td><h1 style="text-align: right">Job: 132-003</h1></td>
  16. </tr>
  17. </table>
  18. <table style="width: 100%; font-size: 8pt;">
  19. <tr>
  20. <td>Job: <strong>132-003</strong></td>
  21. <td>Purchasers(s): <strong>Palmer</strong></td>
  22. </tr>
  23. <tr>
  24. <td>Created: <strong>2004-08-13</strong></td>
  25. <td>Last Change: <strong>2004-08-16 9:28 AM</strong></td>
  26. </tr>
  27. <tr>
  28. <td>Address: <strong>667 Pine Lodge Dr.</strong></td>
  29. <td>Legal: <strong>N/A</strong></td>
  30. </tr>
  31. </table>
  32. <table style="width: 100%; border-top: 1px solid black; border-bottom: 1px solid black; font-size: 8pt;">
  33. <tr>
  34. <td>Model: <strong>Franklin</strong></td>
  35. <td>Elevation: <strong>B</strong></td>
  36. <td>Size: <strong>1160 Cu. Ft.</strong></td>
  37. <td>Style: <strong>Reciprocating</strong></td>
  38. </tr>
  39. </table>
  40. <table class="change_order_items">
  41. <tr><td colspan="6"><h2>Standard Items:</h2></td></tr>
  42. <tbody>
  43. <tr>
  44. <th>Item</th>
  45. <th>Description</th>
  46. <th>Quantity</th>
  47. <th colspan="2">Unit Cost</th>
  48. <th>Total</th>
  49. </tr>
  50. <tr class="even_row">
  51. <td style="text-align: center">1</td>
  52. <td>Sprockets (13 tooth)</td>
  53. <td style="text-align: center">50</td>
  54. <td style="text-align: right; border-right-style: none;">$10.00</td>
  55. <td class="change_order_unit_col" style="border-left-style: none;">Ea.</td>
  56. <td class="change_order_total_col">$5,000.00</td>
  57. </tr>
  58. <tr class="odd_row">
  59. <td style="text-align: center">2</td>
  60. <td>Cogs (Cylindrical)</td>
  61. <td style="text-align: center">45</td>
  62. <td style="text-align: right; border-right-style: none;">$25.00</td>
  63. <td class="change_order_unit_col" style="border-left-style: none;">Ea.</td>
  64. <td class="change_order_total_col">$1125.00</td>
  65. </tr>
  66. <tr class="even_row">
  67. <td style="text-align: center">3</td>
  68. <td>Gears (15 tooth)</td>
  69. <td style="text-align: center">32</td>
  70. <td style="text-align: right; border-right-style: none;">$19.00</td>
  71. <td class="change_order_unit_col" style="border-left-style: none;">Ea.</td>
  72. <td class="change_order_total_col">$608.00</td>
  73. </tr>
  74. <tr class="odd_row">
  75. <td style="text-align: center">4</td>
  76. <td>Leaf springs (13 N/m)</td>
  77. <td style="text-align: center">6</td>
  78. <td style="text-align: right; border-right-style: none;">$125.00</td>
  79. <td class="change_order_unit_col" style="border-left-style: none;">Ea.</td>
  80. <td class="change_order_total_col">$750.00</td>
  81. </tr>
  82. <tr class="even_row">
  83. <td style="text-align: center">5</td>
  84. <td>Coil springs (6 N/deg)</td>
  85. <td style="text-align: center">7</td>
  86. <td style="text-align: right; border-right-style: none;">$11.00</td>
  87. <td class="change_order_unit_col" style="border-left-style: none;">Ea.</td>
  88. <td class="change_order_total_col">$77.00</td>
  89. </tr>
  90. </tbody>
  91. <tr>
  92. <td colspan="3" style="text-align: right;">(Tax is not included; it will be collected on closing.)</td>
  93. <td colspan="2" style="text-align: right;"><strong>GRAND TOTAL:</strong></td>
  94. <td class="change_order_total_col"><strong>$7560.00</strong></td></tr>
  95. </table>
  96. <table class="sa_signature_box" style="border-top: 1px solid black; padding-top: 2em; margin-top: 2em;">
  97. <tr>
  98. <td>WITNESS:</td><td class="written_field" style="padding-left: 2.5in">&nbsp;</td>
  99. <td style="padding-left: 1em">PURCHASER:</td><td class="written_field" style="padding-left: 2.5in; text-align: right;">X</td>
  100. </tr>
  101. <tr>
  102. <td colspan="3" style="padding-top: 0em">&nbsp;</td>
  103. <td style="text-align: center; padding-top: 0em;">Mr. Leland Palmer</td>
  104. </tr>
  105. <tr><td colspan="4" style="white-space: normal">
  106. This change order shall have no force or effect until approved and signed
  107. by an authorizing signing officer of the supplier. Any change or special
  108. request not noted on this document is not contractual.
  109. </td>
  110. </tr>
  111. <tr>
  112. <td colspan="2">ACCEPTED THIS
  113. <span class="written_field" style="padding-left: 4em">&nbsp;</span>
  114. DAY OF <span class="written_field" style="padding-left: 8em;">&nbsp;</span>,
  115. 20<span class="written_field" style="padding-left: 4em">&nbsp;</span>.
  116. </td>
  117. <td colspan="2" style="padding-left: 1em;">TWIN PEAKS SUPPLY LTD.<br/><br/>
  118. PER:
  119. <span class="written_field" style="padding-left: 2.5in">&nbsp;</span>
  120. </td>
  121. </tr>
  122. </table>
  123. </div>
  124. </div>
  125. </div>
  126. <script type="text/php">
  127. if ( isset($pdf) ) {
  128. $font = Font_Metrics::get_font("verdana");
  129. // If verdana isn't available, we'll use sans-serif.
  130. if (!isset($font)) { Font_Metrics::get_font("sans-serif"); }
  131. $size = 6;
  132. $color = array(0,0,0);
  133. $text_height = Font_Metrics::get_font_height($font, $size);
  134. $foot = $pdf->open_object();
  135. $w = $pdf->get_width();
  136. $h = $pdf->get_height();
  137. // Draw a line along the bottom
  138. $y = $h - 2 * $text_height - 24;
  139. $pdf->line(16, $y, $w - 16, $y, $color, 1);
  140. $y += $text_height;
  141. $text = "Job: 132-003";
  142. $pdf->text(16, $y, $text, $font, $size, $color);
  143. $pdf->close_object();
  144. $pdf->add_object($foot, "all");
  145. global $initials;
  146. $initials = $pdf->open_object();
  147. // Add an initals box
  148. $text = "Initials:";
  149. $width = Font_Metrics::get_text_width($text, $font, $size);
  150. $pdf->text($w - 16 - $width - 38, $y, $text, $font, $size, $color);
  151. $pdf->rectangle($w - 16 - 36, $y - 2, 36, $text_height + 4, array(0.5,0.5,0.5), 0.5);
  152. $pdf->close_object();
  153. $pdf->add_object($initials);
  154. // Mark the document as a duplicate
  155. $pdf->text(110, $h - 240, "DUPLICATE", Font_Metrics::get_font("verdana", "bold"),
  156. 110, array(0.85, 0.85, 0.85), 0, 0, -52);
  157. $text = "Page {PAGE_NUM} of {PAGE_COUNT}";
  158. // Center the text
  159. $width = Font_Metrics::get_text_width("Page 1 of 2", $font, $size);
  160. $pdf->page_text($w / 2 - $width / 2, $y, $text, $font, $size, $color);
  161. }
  162. </script>
  163. </body>
  164. </html>