3 <div class="listtop">[% title %]</div>
5 <form method="post" action="am.pl"name="Form">
7 <input type="hidden" name="type" value="preferences">
8 <input type="hidden" name="role" value="[% HTML.escape(myconfig_role) %]">
9 <input type="hidden" name="login" value="[% HTML.escape(login) %]">
10 <input type="hidden" name="password" value="[% HTML.escape(password) %]">
11 <input type="hidden" name="old_password" value="[% HTML.escape(myconfig_password) %]">
16 <th align="right"><translate>Name</translate></th>
17 <td><input name="name" size="15" value="[% HTML.escape(myconfig_name) %]"></td>
21 <th align="right"><translate>Password</translate></th>
22 <td><input type="password" name="new_password" size="10" value="[% HTML.escape(myconfig_password) %]"></td>
26 <th align="right"><translate>E-mail</translate></th>
27 <td><input name="email" size="30" value="[% HTML.escape(myconfig_email) %]"></td>
31 <th align="right"><translate>Signature</translate></th>
32 <td><textarea name="signature" rows="3" cols="50">[% HTML.escape(myconfig_signature) %]</textarea></td>
36 <th align="right"><translate>Phone</translate></th>
37 <td><input name="tel" size="14" value="[% HTML.escape(myconfig_tel) %]"></td>
41 <th align="right"><translate>Fax</translate></th>
42 <td><input name="fax" size="14" value="[% HTML.escape(myconfig_fax) %]"></td>
45 <th align="right"><translate>Company</translate></th>
46 <td><input name="company" size="30" value="[% HTML.escape(myconfig_company) %]"></td>
49 <th align="right"><translate>Address</translate></th>
50 <td><textarea name="address" rows="4" cols="50">[% HTML.escape(myconfig_address) %]</textarea></td>
53 <th align="right"><translate>Date Format</translate></th>
55 <select name="dateformat">
56 [%- FOREACH row = DATEFORMATS %]
57 <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
63 <th align="right"><translate>Output Number Format</translate></th>
65 <select name="numberformat">
66 [%- FOREACH row = NUMBERFORMATS %]
67 <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
74 <th align="right"><translate>Dropdown Limit</translate></th>
75 <td><input name="vclimit" size="10" value="[% HTML.escape(myconfig_vclimit) %]"></td>
79 <th align="right"><translate>Language</translate></th>
81 <select name="countrycode">
82 [%- FOREACH row = COUNTRYCODES %]
83 <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
90 <th align="right"><translate>Stylesheet</translate></th>
92 <select name="usestylesheet">
93 [%- FOREACH row = STYLESHEETS %]
94 <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
101 <th align="right"><translate>Setup Menu</translate></th>
103 <input name="menustyle" id="menustyle_v3" type="radio" class="radio" value="v3" [% IF menustyle_v3 %]checked[% END %]>
104 <label for="menustyle_v3"><translate>Top (CSS)</translate></label>
105 <input name="menustyle" id="menustyle_neu" type="radio" class="radio" value="neu" [% IF menustyle_neu %]checked[% END %]>
106 <label for="menustyle_neu"><translate>Top (Javascript)</translate></label>
107 <input name="menustyle" id="menustyle_old" type="radio" class="radio" value="old" [% IF menustyle_old %]checked[% END %]>
108 <label for="menustyle_old"><translate>Old (on the side)</translate></label>
113 <th align="right"><translate>Form details (second row)</translate></th>
115 <input type="radio" id="rad_show_form_details" name="show_form_details" value="1" [% IF myconfig_show_form_details %]checked[% END %]>
116 <label for="rad_show_form_details"><translate>Show by default</translate></label>
117 <input type="radio" id="rad_hide_form_details" name="show_form_details" value="0" [% UNLESS myconfig_show_form_details %]checked[% END %]>
118 <label for="rad_hide_form_details"><translate>Hide by default</translate></label></td>
121 <input name="printer" type="hidden" value="[% HTML.escape(myconfig_printer) %]">
122 <tr class="listheading">
123 <th colspan="2"><translate>Print options</translate></th>
127 <th align="right"><translate>Default template format</translate></th>
129 <select name="template_format">
130 [%- FOREACH row = TEMPLATE_FORMATS %]
131 <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
138 <th align="right"><translate>Default output medium</translate></th>
140 <select name="default_media">
141 [%- FOREACH row = MEDIA %]
142 <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
149 <th align="right"><translate>Default printer</translate></th>
151 <select name="default_printer_id">
152 [%- FOREACH row = PRINTERS %]
153 <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
160 <th align="right"><translate>Number of copies</translate></th>
161 <td><input name="copies" size="10" value="[% HTML.escape(myconfig_copies) %]"></td>
165 <tr class="listheading">
166 <th colspan="2"> </th>
170 <th align="right"><translate>Business Number</translate></th>
171 <td><input name="businessnumber" size="25" value="[% HTML.escape(myconfig_businessnumber) %]"></td>
174 <th align="right"><translate>Year End</translate> (mm/dd)</th>
175 <td><input name="yearend" size="5" value="[% HTML.escape(defaults_yearend) %]"></td>
178 <tr class="listheading">
179 <th colspan="2"><translate>Last Numbers & Default Accounts</translate></th>
186 <th align="right" nowrap><translate>Inventory Account</translate></th>
188 <select name="inventory_accno">
189 [%- FOREACH row = ACCNOS_IC %]
190 <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
197 <th align="right" nowrap><translate>Revenue Account</translate></th>
199 <select name="income_accno">
200 [%- FOREACH row = ACCNOS_IC_INCOME %]
201 <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
208 <th align="right" nowrap><translate>Expense Account</translate></th>
210 <select name="expense_accno">
211 [%- FOREACH row = ACCNOS_IC_EXPENSE %]
212 <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
219 <th align="right" nowrap><translate>Foreign Exchange Gain</translate></th>
221 <select name="fxgain_accno">
222 [%- FOREACH row = ACCNOS_FX_GAIN %]
223 <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
230 <th align="right" nowrap><translate>Foreign Exchange Loss</translate></th>
232 <select name="fxloss_accno">
233 [%- FOREACH row = ACCNOS_FX_LOSS %]
234 <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
242 <translate>Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies</translate><br>
243 <input name="curr" size="40" value="[% HTML.escape(defaults_curr) %]">
254 <th align="right" nowrap><translate>Last Invoice Number</translate></th>
255 <td><input name="invnumber" size="10" value="[% HTML.escape(defaults_invnumber) %]"></td>
256 <th align="right" nowrap><translate>Last Customer Number</translate></th>
257 <td><input name="customernumber" size="10" value="[% HTML.escape(defaults_customernumber) %]"></td>
261 <th align="right" nowrap><translate>Last Credit Note Number</translate></th>
262 <td><input name="cnnumber" size="10" value="[% HTML.escape(defaults_cnnumber) %]"></td>
263 <th align="right" nowrap><translate>Last Vendor Number</translate></th>
264 <td><input name="vendornumber" size="10" value="[% HTML.escape(defaults_vendornumber) %]"></td>
268 <th align="right" nowrap><translate>Last Sales Order Number</translate></th>
269 <td><input name="sonumber" size="10" value="[% HTML.escape(defaults_sonumber) %]"></td>
273 <th align="right" nowrap><translate>Last Purchase Order Number</translate></th>
274 <td><input name="ponumber" size="10" value="[% HTML.escape(defaults_ponumber) %]"></td>
275 <th align="right" nowrap><translate>Last Article Number</translate></th>
276 <td><input name="articlenumber" size="10" value="[% HTML.escape(defaults_articlenumber) %]"></td>
280 <th align="right" nowrap><translate>Last Sales Quotation Number</translate></th>
281 <td><input name="sqnumber" size="10" value="[% HTML.escape(defaults_sqnumber) %]"></td>
282 <th align="right" nowrap><translate>Last Service Number</translate></th>
283 <td><input name="servicenumber" size="10" value="[% HTML.escape(defaults_servicenumber) %]"></td>
287 <th align="right" nowrap><translate>Last RFQ Number</translate></th>
288 <td><input name="rfqnumber" size="10" value="[% HTML.escape(defaults_rfqnumber) %]"></td>
297 <hr height="3" noshade>
299 <p><input type="submit" class="submit" name="action" value="<translate>Save</translate>"></p>