Umstellung der Vorlagen in templates/webpages/am von HTML::Template auf Template.
[kivitendo-erp.git] / templates / webpages / am / config_master.html
1 [% USE HTML %]<body>
2
3  <div class="listtop">[% title %]</div>
4
5  <form method="post" action="am.pl"name="Form">
6
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) %]">
12
13   <p>
14    <table>
15     <tr>
16      <th align="right"><translate>Name</translate></th>
17      <td><input name="name" size="15" value="[% HTML.escape(myconfig_name) %]"></td>
18     </tr>
19
20     <tr>
21      <th align="right"><translate>Password</translate></th>
22      <td><input type="password" name="new_password" size="10" value="[% HTML.escape(myconfig_password) %]"></td>
23     </tr>
24
25     <tr>
26      <th align="right"><translate>E-mail</translate></th>
27      <td><input name="email" size="30" value="[% HTML.escape(myconfig_email) %]"></td>
28     </tr>
29
30     <tr valign="top">
31      <th align="right"><translate>Signature</translate></th>
32      <td><textarea name="signature" rows="3" cols="50">[% HTML.escape(myconfig_signature) %]</textarea></td>
33     </tr>
34
35     <tr>
36      <th align="right"><translate>Phone</translate></th>
37      <td><input name="tel" size="14" value="[% HTML.escape(myconfig_tel) %]"></td>
38     </tr>
39
40     <tr>
41      <th align="right"><translate>Fax</translate></th>
42      <td><input name="fax" size="14" value="[% HTML.escape(myconfig_fax) %]"></td>
43     </tr>
44     <tr>
45      <th align="right"><translate>Company</translate></th>
46      <td><input name="company" size="30" value="[% HTML.escape(myconfig_company) %]"></td>
47     </tr>
48     <tr valign="top">
49      <th align="right"><translate>Address</translate></th>
50      <td><textarea name="address" rows="4" cols="50">[% HTML.escape(myconfig_address) %]</textarea></td>
51     </tr>
52     <tr>
53      <th align="right"><translate>Date Format</translate></th>
54      <td>
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>
58        [%- END %]
59       </select>
60      </td>
61     </tr>
62     <tr>
63      <th align="right"><translate>Output Number Format</translate></th>
64      <td>
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>
68        [%- END %]
69       </select>
70      </td>
71     </tr>
72
73     <tr>
74      <th align="right"><translate>Dropdown Limit</translate></th>
75      <td><input name="vclimit" size="10" value="[% HTML.escape(myconfig_vclimit) %]"></td>
76     </tr>
77
78     <tr>
79      <th align="right"><translate>Language</translate></th>
80      <td>
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>
84        [%- END %]
85       </select>
86      </td>
87     </tr>
88
89     <tr>
90      <th align="right"><translate>Stylesheet</translate></th>
91      <td>
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>
95        [%- END %]
96       </select>
97      </td>
98     </tr>
99
100     <tr>
101      <th align="right"><translate>Setup Menu</translate></th>
102      <td>
103       <input name="menustyle" id="menustyle_v3" type="radio" class="radio" value="v3" [% IF menustyle_v3 %]checked[% END %]>&nbsp;
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 %]>&nbsp;
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 %]>&nbsp;
108       <label for="menustyle_old"><translate>Old (on the side)</translate></label>
109      </td>
110     </tr>
111
112     <tr>
113      <th align="right"><translate>Form details (second row)</translate></th>
114      <td>
115       <input type="radio" id="rad_show_form_details" name="show_form_details" value="1" [% IF myconfig_show_form_details %]checked[% END %]>&nbsp;
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 %]>&nbsp;
118       <label for="rad_hide_form_details"><translate>Hide by default</translate></label></td>
119     </tr>
120
121     <input name="printer" type="hidden" value="[% HTML.escape(myconfig_printer) %]">
122     <tr class="listheading">
123      <th colspan="2"><translate>Print options</translate></th>
124     </tr>
125
126     <tr>
127      <th align="right"><translate>Default template format</translate></th>
128      <td>
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>
132        [%- END %]
133       </select>
134      </td>
135     </tr>
136
137     <tr>
138      <th align="right"><translate>Default output medium</translate></th>
139      <td>
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>
143        [%- END %]
144       </select>
145      </td>
146     </tr>
147
148     <tr>
149      <th align="right"><translate>Default printer</translate></th>
150      <td>
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>
154        [%- END %]
155       </select>
156      </td>
157     </tr>
158
159     <tr>
160      <th align="right"><translate>Number of copies</translate></th>
161      <td><input name="copies" size="10" value="[% HTML.escape(myconfig_copies) %]"></td>
162     </tr>
163
164
165     <tr class="listheading">
166      <th colspan="2">&nbsp;</th>
167     </tr>
168
169     <tr>
170      <th align="right"><translate>Business Number</translate></th>
171      <td><input name="businessnumber" size="25" value="[% HTML.escape(myconfig_businessnumber) %]"></td>
172     </tr>
173     <tr>
174      <th align="right"><translate>Year End</translate> (mm/dd)</th>
175      <td><input name="yearend" size="5" value="[% HTML.escape(defaults_yearend) %]"></td>
176     </tr>
177
178     <tr class="listheading">
179      <th colspan="2"><translate>Last Numbers & Default Accounts</translate></th>
180     </tr>
181
182     <tr>
183      <td colspan="2">
184       <table width="100%">
185        <tr>
186         <th align="right" nowrap><translate>Inventory Account</translate></th>
187         <td>
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>
191           [%- END %]
192          </select>
193         </td>
194        </tr>
195
196        <tr>
197         <th align="right" nowrap><translate>Revenue Account</translate></th>
198         <td>
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>
202           [%- END %]
203          </select>
204         </td>
205        </tr>
206
207        <tr>
208         <th align="right" nowrap><translate>Expense Account</translate></th>
209         <td>
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>
213           [%- END %]
214          </select>
215         </td>
216        </tr>
217
218        <tr>
219         <th align="right" nowrap><translate>Foreign Exchange Gain</translate></th>
220         <td>
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>
224           [%- END %]
225          </select>
226         </td>
227        </tr>
228
229        <tr>
230         <th align="right" nowrap><translate>Foreign Exchange Loss</translate></th>
231         <td>
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>
235           [%- END %]
236          </select>
237         </td>
238        </tr>
239
240        <tr>
241         <td colspan="2">
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) %]">
244         </td>
245        </tr>
246       </table>
247      </td>
248     </tr>
249
250     <tr>
251      <td colspan="2">
252       <table width="100"%>
253        <tr>
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>
258        </tr>
259
260        <tr>
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>
265        </tr>
266
267        <tr>
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>
270        </tr>
271
272        <tr>
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>
277        </tr>
278
279        <tr>
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>
284        </tr>
285
286        <tr>
287         <th align="right" nowrap><translate>Last RFQ Number</translate></th>
288         <td><input name="rfqnumber" size="10" value="[% HTML.escape(defaults_rfqnumber) %]"></td>
289        </tr>
290
291       </table>
292      </td>
293     </tr>
294    </table>
295   </p>
296
297   <hr height="3" noshade>
298
299   <p><input type="submit" class="submit" name="action" value="<translate>Save</translate>"></p>
300  </form>
301
302 </body>
303 </html>