summaryrefslogtreecommitdiff
path: root/UI/Customer/customer.html
blob: 23bb064b047520b405d382d93f8f4fa3f4dc8c32 (plain)
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4. <head>
  5. <title><?lsmb form.titlebar ?></title>
  6. <meta http-equiv="Pragma" content="no-cache" />
  7. <meta http-equiv="Expires" content="-1" />
  8. <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
  9. <link rel="stylesheet" href="css/<?lsmb form.stylesheet ?>" type="text/css" title="LedgerSMB stylesheet" />
  10. <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
  11. <meta name="robots" content="noindex,nofollow" />
  12. </head>
  13. <div class="customer">
  14. <font size="17"><?lsmb customer.name?></font>
  15. <form name="customer" method="POST" action="vendor.pl">
  16. <table>
  17. <tr>
  18. <td><b><?lsmb text('Shipping Address') ?></b></td>
  19. <td><b><?lsmb text('Billing Address (if different)') ?></p></td>
  20. </tr>
  21. <hr/>
  22. <?lsmb FOREACH entry = customer.ordered ?>
  23. <tr>
  24. <td>
  25. <label for="shipping_<?lsmb entry ?>"><?lsmb text(entry) ?>:
  26. </label>
  27. <input id="shipping_<?lsmb entry ?>" type="textarea"
  28. name="shipping_<?lsmb entry ?>"
  29. value="<?lsmb customer.entry ?>">
  30. </td>
  31. <td>
  32. <input type="textarea" name="billing_<?lsmb entry ?>"
  33. value="<?lsmb customer.entry ?>">
  34. </td>
  35. </tr>
  36. <?lsmb END ?>
  37. <tr>
  38. <td>
  39. <label for="startdate"><?lsmb text('Starting Date:') ?></label>
  40. <input id="startdate" type="textarea" name="startdate"
  41. value="<?lsmb customer.startdate ?>">
  42. </td>
  43. <td>
  44. <label for="enddate"><?lsmb('End date:') ?></label>
  45. <input id="enddate" type="textarea" name="startdate"
  46. value="<?lsmb customer.enddate ?>">
  47. </td>
  48. </tr>
  49. <tr>
  50. <td>
  51. <label for"creditlimit"><?lsmb text('Credit Limit:') ?></label>
  52. <input id="creditlimit" name="creditlimit" type="textarea"
  53. value="<?lsmb customer.creditlimit ?>">
  54. </td>
  55. <td>
  56. <label for="terms"><?lsmb text('Terms:') ?></label>
  57. <input id="terms" name="terms" type="textarea"
  58. value="<?lsmb customer.terms ?>"> days
  59. </td>
  60. <td>
  61. <label for="discount"><?lsmb text('Discount %:') ?></label>
  62. <input id="discount" name="discount" type="textarea"
  63. value="<?lsmb customer.discount ?>">
  64. </td>
  65. </tr>
  66. <tr>
  67. <td>
  68. <label for="taxnumber"><?lsmb text('Tax Number/SSN:') ?></label>
  69. <input id="taxnumber" name="taxnumber" type="textarea"
  70. value="<?lsmb customer.taxnumber ?>">
  71. </td>
  72. <td>
  73. <label for"gifi_accno"><?lsmb text('Subcontract GIFI:') ?>
  74. </label>
  75. <input id="gifi_accno" name="gifi_accno" type="textarea"
  76. value="<?lsmb customer.gifi_accno ?>">
  77. </td>
  78. <td>
  79. <label for"sic_code"><?lsmb text('SIC Code:') ?></label>
  80. <input id="sic_code" name="sic_code" type="textarea"
  81. value="<?lsmb customer.sic_code ?>">
  82. </td>
  83. </tr>
  84. <tr>
  85. <td></td>
  86. <td>
  87. <label for"bic"><?lsmb text('BIC:') ?></label>
  88. <input id="bic" name="bic" type="textarea"
  89. value="<?lsmb customer.bic ?>">
  90. </td>
  91. <td>
  92. <label for="iban"><?lsmb text('IBAN:') ?></label>
  93. <input id="iban" name="iban" type="textarea"
  94. value="<?lsmb customer.iban ?>">
  95. </td>
  96. </tr>
  97. <tr>
  98. <td>
  99. <label for="notes"><?lsmb text('Notes:') ?></label><br/>
  100. <textarea name="notes" rows="3" cols="40" id="notes"><?lsmb
  101. customer.notes
  102. ?></textarea>
  103. <!-- The prior funny whitespace may look funny but it prevents
  104. additional whitespace from being added to the data every time
  105. it is saved -->
  106. </td>
  107. </tr>
  108. <tr>
  109. <hr/>
  110. <br/>
  111. <td>
  112. <button class="submit" type="submit" name="action" value="save" accesskey="S" title="Save [Alt-S]"><?lsmb text('Save') ?></button>
  113. </td>
  114. <td>
  115. <button class="submit"
  116. type="submit"
  117. name="action"
  118. value="ap_transaction"
  119. accesskey="A"
  120. title="AP Transaction [Alt-A]">
  121. <?lsmb text('AP Transaction') ?></button>
  122. </td>
  123. <td>
  124. <button class="submit"
  125. type="submit"
  126. name="action"
  127. value="customer_invoice"
  128. accesskey="I"
  129. title="customer Invoice [Alt-I]">
  130. <?lsmb text('Customer Invoice') ?></button>
  131. </td>
  132. <td>
  133. <button class="submit"
  134. type="submit"
  135. name="action"
  136. value="purchase_order"
  137. accesskey="O"
  138. title="Purchase Order [Alt-O]">
  139. <?lsmb text('Purchase Order') ?></button>
  140. </td>
  141. <td>
  142. <button class="submit"
  143. type="submit"
  144. name="action"
  145. value="rfq"
  146. accesskey="Q"
  147. title="RFQ [Alt-Q]"><?lsmb text('RFQ') ?></button>
  148. </td>
  149. <td>
  150. <button class="submit"
  151. type="submit"
  152. name="action"
  153. value="pricelist"
  154. accesskey="P"
  155. title="Pricelist [Alt-P]">
  156. <?lsmb text('Pricelist') ?></button>
  157. </td>
  158. </tr>
  159. </table>
  160. </form>
  161. </div>