summaryrefslogtreecommitdiff
path: root/UI/am-defaults.html
blob: c34de1f5a2215df196674276d1287c8fd664e2fd (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. </table>
  69. </td>
  70. </tr>
  71. <tr>
  72. <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>
  73. </tr>
  74. <tr>
  75. <td>
  76. <input name="curr" size="40" value="<?lsmb form.curr ?>" />
  77. </td>
  78. </tr>
  79. <tr>
  80. <td>
  81. <table>
  82. <tr>
  83. <th align="right" nowrap="nowrap"><?lsmb text('GL Reference Number') ?></th>
  84. <td><input name="glnumber" size="40" value="<?lsmb form.glnumber ?>" /></td>
  85. </tr>
  86. <tr>
  87. <th align="right" nowrap="nowrap"><?lsmb text('Sales Invoice/AR Transaction Number') ?></th>
  88. <td><input name="sinumber" size="40" value="<?lsmb form.sinumber ?>" /></td>
  89. </tr>
  90. <tr>
  91. <th align="right" nowrap="nowrap"><?lsmb text('Sales Order Number') ?></th>
  92. <td><input name="sonumber" size="40" value="<?lsmb form.sonumber ?>" /></td>
  93. </tr>
  94. <tr>
  95. <th align="right" nowrap="nowrap"><?lsmb text('Vendor Invoice/AP Transaction Number') ?></th>
  96. <td><input name="vinumber" size="40" value="<?lsmb form.vinumber ?>" /></td>
  97. </tr>
  98. <tr>
  99. <th align="right" nowrap="nowrap"><?lsmb text('Purchase Order Number') ?></th>
  100. <td><input name="ponumber" size="40" value="<?lsmb form.ponumber ?>" /></td>
  101. </tr>
  102. <tr>
  103. <th align="right" nowrap="nowrap"><?lsmb text('Sales Quotation Number') ?></th>
  104. <td><input name="sqnumber" size="40" value="<?lsmb form.sqnumber ?>" /></td>
  105. </tr>
  106. <tr>
  107. <th align="right" nowrap="nowrap"><?lsmb text('RFQ Number') ?></th>
  108. <td><input name="rfqnumber" size="40" value="<?lsmb form.rfqnumber ?>" /></td>
  109. </tr>
  110. <tr>
  111. <th align="right" nowrap="nowrap"><?lsmb text('Part Number') ?></th>
  112. <td><input name="partnumber" size="40" value="<?lsmb form.partnumber ?>" /></td>
  113. </tr>
  114. <tr>
  115. <th align="right" nowrap="nowrap"><?lsmb text('Job/Project Number') ?></th>
  116. <td><input name="projectnumber" size="40" value="<?lsmb form.projectnumber ?>" /></td>
  117. </tr>
  118. <tr>
  119. <th align="right" nowrap="nowrap"><?lsmb text('Employee Number') ?></th>
  120. <td><input name="employeenumber" size="40" value="<?lsmb form.employeenumber ?>" /></td>
  121. </tr>
  122. <tr>
  123. <th align="right" nowrap="nowrap"><?lsmb text('Customer Number') ?></th>
  124. <td><input name="customernumber" size="40" value="<?lsmb form.customernumber ?>" /></td>
  125. </tr>
  126. <tr>
  127. <th align="right" nowrap="nowrap"><?lsmb text('Vendor Number') ?></th>
  128. <td><input name="vendornumber" size="40" value="<?lsmb form.vendornumber ?>" /></td>
  129. </tr>
  130. </table>
  131. </td>
  132. </tr>
  133. <tr>
  134. <td><hr size="3" noshade="noshade" /></td>
  135. </tr>
  136. </table>
  137. <?lsmb FOREACH hidden IN hiddens.keys;
  138. PROCESS input element_data={
  139. type => 'hidden',
  140. name => hidden,
  141. value => hiddens.item(hidden)
  142. }; END;
  143. PROCESS button element_data={name => 'action', value => 'save_defaults' text => text('Save')} ?>
  144. </form>
  145. </body>
  146. </html>