summaryrefslogtreecommitdiff
path: root/UI/am-defaults.html
blob: da4cbef0ae1f6902484ff268909b24d4b6181988 (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. <?lsmb PROCESS elements.html ?>
  14. <body>
  15. <form method="post" action="<?lsmb form.script ?>">
  16. <table width="100%">
  17. <tr><th class="listtop"><?lsmb text('System Defaults') ?></th></tr>
  18. <tr>
  19. <td>
  20. <table>
  21. <tr>
  22. <th align="right"><?lsmb text('Business Number') ?></th>
  23. <td><input name="businessnumber" size="25" value="<?lsmb form.businessnumber ?>" /></td>
  24. </tr>
  25. <tr>
  26. <th align="right"><?lsmb text('Weight Unit') ?></th>
  27. <td><input name="weightunit" size="5" value="<?lsmb form.weightunit ?>" /></td>
  28. </tr>
  29. </table>
  30. </td>
  31. </tr>
  32. <tr>
  33. <th class="listheading"><?lsmb escape(text('Last Numbers & Default Accounts')) ?></th>
  34. </tr>
  35. <tr>
  36. <td>
  37. <table>
  38. <tr>
  39. <th align="right" nowrap="nowrap"><?lsmb text('Inventory') ?></th>
  40. <td>
  41. <?lsmb PROCESS select element_data=selects.IC ?>
  42. </td>
  43. </tr>
  44. <tr>
  45. <th align="right" nowrap="nowrap"><?lsmb text('Income') ?></th>
  46. <td>
  47. <?lsmb PROCESS select element_data=selects.IC_income ?>
  48. </td>
  49. </tr>
  50. <tr>
  51. <th align="right" nowrap="nowrap"><?lsmb text('Expense') ?></th>
  52. <td>
  53. <?lsmb PROCESS select element_data=selects.IC_expense ?>
  54. </td>
  55. </tr>
  56. <tr>
  57. <th align="right" nowrap="nowrap"><?lsmb text('Foreign Exchange Gain') ?></th>
  58. <td>
  59. <?lsmb PROCESS select element_data=selects.FX_gain ?>
  60. </td>
  61. </tr>
  62. <tr>
  63. <th align="right" nowrap="nowrap"><?lsmb text('Foreign Exchange Loss') ?></th>
  64. <td>
  65. <?lsmb PROCESS select element_data=selects.FX_loss ?>
  66. </td>
  67. </tr>
  68. <tr>
  69. <th align="right" nowrap="nowrap"><?lsmb text('Default Country') ?></th>
  70. <td>
  71. <?lsmb PROCESS select element_data=selects.default_country ?>
  72. </td>
  73. </tr>
  74. </table>
  75. </td>
  76. </tr>
  77. <tr>
  78. <th align="left"><?lsmb escape(text('Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies')) ?></th>
  79. </tr>
  80. <tr>
  81. <td>
  82. <input name="curr" size="40" value="<?lsmb form.curr ?>" />
  83. </td>
  84. </tr>
  85. <tr>
  86. <td>
  87. <table>
  88. <tr>
  89. <th align="right" nowrap="nowrap"><?lsmb text('GL Reference Number') ?></th>
  90. <td><input name="glnumber" size="40" value="<?lsmb form.glnumber ?>" /></td>
  91. </tr>
  92. <tr>
  93. <th align="right" nowrap="nowrap"><?lsmb text('Sales Invoice/AR Transaction Number') ?></th>
  94. <td><input name="sinumber" size="40" value="<?lsmb form.sinumber ?>" /></td>
  95. </tr>
  96. <tr>
  97. <th align="right" nowrap="nowrap"><?lsmb text('Sales Order Number') ?></th>
  98. <td><input name="sonumber" size="40" value="<?lsmb form.sonumber ?>" /></td>
  99. </tr>
  100. <tr>
  101. <th align="right" nowrap="nowrap"><?lsmb text('Vendor Invoice/AP Transaction Number') ?></th>
  102. <td><input name="vinumber" size="40" value="<?lsmb form.vinumber ?>" /></td>
  103. </tr>
  104. <tr>
  105. <th align="right" nowrap="nowrap"><?lsmb text('Purchase Order Number') ?></th>
  106. <td><input name="ponumber" size="40" value="<?lsmb form.ponumber ?>" /></td>
  107. </tr>
  108. <tr>
  109. <th align="right" nowrap="nowrap"><?lsmb text('Sales Quotation Number') ?></th>
  110. <td><input name="sqnumber" size="40" value="<?lsmb form.sqnumber ?>" /></td>
  111. </tr>
  112. <tr>
  113. <th align="right" nowrap="nowrap"><?lsmb text('RFQ Number') ?></th>
  114. <td><input name="rfqnumber" size="40" value="<?lsmb form.rfqnumber ?>" /></td>
  115. </tr>
  116. <tr>
  117. <th align="right" nowrap="nowrap"><?lsmb text('Part Number') ?></th>
  118. <td><input name="partnumber" size="40" value="<?lsmb form.partnumber ?>" /></td>
  119. </tr>
  120. <tr>
  121. <th align="right" nowrap="nowrap"><?lsmb text('Job/Project Number') ?></th>
  122. <td><input name="projectnumber" size="40" value="<?lsmb form.projectnumber ?>" /></td>
  123. </tr>
  124. <tr>
  125. <th align="right" nowrap="nowrap"><?lsmb text('Employee Number') ?></th>
  126. <td><input name="employeenumber" size="40" value="<?lsmb form.employeenumber ?>" /></td>
  127. </tr>
  128. <tr>
  129. <th align="right" nowrap="nowrap"><?lsmb text('Customer Number') ?></th>
  130. <td><input name="customernumber" size="40" value="<?lsmb form.customernumber ?>" /></td>
  131. </tr>
  132. <tr>
  133. <th align="right" nowrap="nowrap"><?lsmb text('Vendor Number') ?></th>
  134. <td><input name="vendornumber" size="40" value="<?lsmb form.vendornumber ?>" /></td>
  135. </tr>
  136. </table>
  137. </td>
  138. </tr>
  139. <tr>
  140. <td><hr size="3" noshade="noshade" /></td>
  141. </tr>
  142. </table>
  143. <?lsmb FOREACH hidden IN hiddens.keys;
  144. PROCESS input element_data={
  145. type => 'hidden',
  146. name => hidden,
  147. value => hiddens.item(hidden)
  148. }; END;
  149. PROCESS button element_data={name => 'action', value => 'save_defaults' text => text('Save')} ?>
  150. </form>
  151. </body>
  152. </html>