4 <div class="listtop">[% title %]</div>
6 <form method="post" action="am.pl"name="Form">
8 <input type="hidden" name="type" value="defaults">
12 <tr class="listheading">
13 <th colspan="4">[% 'Ranges of numbers' | $T8 %]</th>
17 <th align="right" nowrap>[% 'Last Invoice Number' | $T8 %]</th>
18 <td><input name="invnumber" size="10" value="[% HTML.escape(defaults_invnumber) %]"></td>
19 <th align="right" nowrap>[% 'Last Customer Number' | $T8 %]</th>
20 <td><input name="customernumber" size="10" value="[% HTML.escape(defaults_customernumber) %]"></td>
24 <th align="right" nowrap>[% 'Last Credit Note Number' | $T8 %]</th>
25 <td><input name="cnnumber" size="10" value="[% HTML.escape(defaults_cnnumber) %]"></td>
26 <th align="right" nowrap>[% 'Last Vendor Number' | $T8 %]</th>
27 <td><input name="vendornumber" size="10" value="[% HTML.escape(defaults_vendornumber) %]"></td>
31 <th align="right" nowrap>[% 'Last Sales Order Number' | $T8 %]</th>
32 <td><input name="sonumber" size="10" value="[% HTML.escape(defaults_sonumber) %]"></td>
36 <th align="right" nowrap>[% 'Last Purchase Order Number' | $T8 %]</th>
37 <td><input name="ponumber" size="10" value="[% HTML.escape(defaults_ponumber) %]"></td>
38 <th align="right" nowrap>[% 'Last Article Number' | $T8 %]</th>
39 <td><input name="articlenumber" size="10" value="[% HTML.escape(defaults_articlenumber) %]"></td>
43 <th align="right" nowrap>[% 'Last Sales Quotation Number' | $T8 %]</th>
44 <td><input name="sqnumber" size="10" value="[% HTML.escape(defaults_sqnumber) %]"></td>
45 <th align="right" nowrap>[% 'Last Service Number' | $T8 %]</th>
46 <td><input name="servicenumber" size="10" value="[% HTML.escape(defaults_servicenumber) %]"></td>
50 <th align="right" nowrap>[% 'Last RFQ Number' | $T8 %]</th>
51 <td><input name="rfqnumber" size="10" value="[% HTML.escape(defaults_rfqnumber) %]"></td>
55 <th align="right" nowrap>[% 'Last Sales Delivery Order Number' | $T8 %]</th>
56 <td><input name="sdonumber" size="10" value="[% HTML.escape(defaults_sdonumber) %]"></td>
57 <th align="right" nowrap>[% 'Last Purchase Delivery Order Number' | $T8 %]</th>
58 <td><input name="pdonumber" size="10" value="[% HTML.escape(defaults_pdonumber) %]"></td>
61 <tr class="listheading">
62 <th colspan="4">[% 'Default Accounts' | $T8 %]</th>
66 <th align="right" nowrap>[% 'Inventory Account' | $T8 %]</th>
68 <select name="inventory_accno">
69 [%- FOREACH row = ACCNOS_IC %]
70 <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
77 <th align="right" nowrap>[% 'Revenue Account' | $T8 %]</th>
79 <select name="income_accno">
80 [%- FOREACH row = ACCNOS_IC_INCOME %]
81 <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
88 <th align="right" nowrap>[% 'Expense Account' | $T8 %]</th>
90 <select name="expense_accno">
91 [%- FOREACH row = ACCNOS_IC_EXPENSE %]
92 <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
99 <th align="right" nowrap>[% 'Foreign Exchange Gain' | $T8 %]</th>
101 <select name="fxgain_accno">
102 [%- FOREACH row = ACCNOS_FX_GAIN %]
103 <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
110 <th align="right" nowrap>[% 'Foreign Exchange Loss' | $T8 %]</th>
112 <select name="fxloss_accno">
113 [%- FOREACH row = ACCNOS_FX_LOSS %]
114 <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
120 <tr class="listheading">
121 <th colspan="4">[% 'Miscellaneous' | $T8 %]</th>
125 <th align="right">[% 'Business Number' | $T8 %]</th>
126 <td colspan="3"><input name="businessnumber" size="25" value="[% HTML.escape(defaults_businessnumber) %]"></td>
130 <th align="right">[% 'Year End' | $T8 %] (mm/dd)</th>
131 <td colspan="3"><input name="yearend" size="5" value="[% HTML.escape(defaults_yearend) %]"></td>
135 <th align="right">[% 'Currencies' | $T8 %] <sup>(1)</sup></th>
136 <td colspan="3"><input name="curr" size="20" value="[% HTML.escape(defaults_curr) %]"></td>
140 <th align="right">[% 'Weight unit' | $T8 %]</th>
141 <!-- <td colspan="3"><input name="weightunit" size="20" maxlength="5" value="[% HTML.escape(defaults_weightunit) %]"></td> -->
143 [%- INCLUDE 'generic/multibox.html'
145 default = defaults_weightunit,
146 style = 'size:20; maxength:5',
157 <hr height="3" noshade>
159 <p><input type="submit" class="submit" name="action" value="[% 'Save' | $T8 %]"></p>
161 <hr height="3" noshade>
164 (1) [% 'Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies' | $T8 %]