HTML-Code aufgeräumt, Attribute gequotet, HTML-Sonderzeichen in Werten escapet. Die...
[kivitendo-erp.git] / templates / webpages / ic / form_header_de.html
1 [%- USE HTML %]
2 [%- USE LxERP %]
3 <body onLoad="fokus()">
4
5  <script type="text/javascript" src="js/common.js"></script>
6  <script type="text/javascript" src="js/parts_language_selection.js"></script>
7
8  <form method="post" name="ic" action="[% script %]">
9
10   <input name="id" type="hidden" value="[% HTML.escape(id) %]">
11   <input name="item" type="hidden" value="[% HTML.escape(item) %]">
12   <input name="title" type="hidden" value="[% HTML.escape(title) %]">
13   <input name="makemodel" type="hidden" value="[% HTML.escape(makemodel) %]">
14   <input name="alternate" type="hidden" value="[% HTML.escape(alternate) %]">
15   <input name="onhand" type="hidden" value="[% HTML.escape(onhand) %]">
16   <input name="orphaned" type="hidden" value="[% HTML.escape(orphaned) %]">
17   <input name="taxaccounts" type="hidden" value="[% HTML.escape(taxaccounts) %]">
18   <input name="rowcount" type="hidden" value="[% HTML.escape(rowcount) %]">
19   <input name="eur" type="hidden" value="[% HTML.escape(eur) %]">
20   <input name="language_values" type="hidden" value="[% HTML.escape(language_values) %]">
21   <input name="original_partnumber" type="hidden" value="[% HTML.escape(original_partnumber) %]">
22
23   <div class="listtop">[% title %]</div>
24
25   <p>
26    <table width="100%">
27     <tr>
28      <td>
29       <table width="100%">
30        <tr valign="top">
31         <th align="left">Artikelnummer</th>
32         <th align="left">Artikelbeschreibung</th>
33         [%- IF all_partsgroup.size %]
34         <th align="left">Warengruppe</th>
35         [% END %]
36        </tr>
37
38        <tr valign="top">
39         <td><input name="partnumber" value="[% HTML.escape(partnumber) %]" size="20"></td>
40         <td>
41          [%- IF description_area %]
42          <textarea name="description" rows="[% HTML.escape(rows) %]" cols="40" wrap="soft">[% HTML.escape(description) %]</textarea>
43          [%- ELSE %]
44          <input name="description" size="40" value="[% HTML.escape(description) %]">
45          [%- END %]
46         </td>
47
48         [%- IF all_partsgroup.size %]
49         <td>
50          [%- INCLUDE generic/multibox.html
51          name       = 'selectpartsgroup',
52          DATA       = all_partsgroup,
53          show_empty = 1,
54          id_sub     = 'pg_keys',
55          label_key  = 'partsgroup',
56          -%]
57         </td>
58         [%- END %]
59         <input type="hidden" name="oldpartsgroup" value="[% HTML.escape(oldpartsgroup) %]">
60        </tr>
61       </table>
62      </td>
63     </tr>
64
65     <tr>
66      <td>
67       <table width="100%" height="100%">
68        <tr valign="top">
69         <td width="70%">
70          <table width="100%" height="100%">
71           <tr>
72            <td colspan="2">
73             <table>
74              [%- IF BUCHUNGSGRUPPEN.size %]
75              <tr>
76               <th align="right">Buchungsgruppe</th>
77               <td>
78                [%- INCLUDE generic/multibox.html
79                      name       = 'buchungsgruppen_id',
80                      DATA       = BUCHUNGSGRUPPEN,
81                      id_key     = 'id',
82                      label_key  = 'description',
83                -%]
84              </tr>
85              [%- END %]
86              <input type="hidden" name="IC_income" value="[% HTML.escape(IC_income_default) %]">
87              [%- UNLESS is_assembly %]
88              <input type="hidden" name="IC_expense" value="[% HTML.escape(IC_expense_default) %]">
89              [%- END %]
90              [%- IF is_part %]
91              <input type="hidden" name="IC" value="[% HTML.escape(IC_default) %]">
92              [%- END %]
93             </table>
94            </td>
95           </tr>
96
97           <tr>
98            <th align="left">Bemerkungen</th>
99            [%- UNLESS is_service %]
100            <th align="left">Formel</th>
101            [%- END %]
102           </tr>
103
104           <tr>
105            <td>
106             <textarea name="notes" rows="[% HTML.escape(notes_rows) %]" cols="45" wrap="soft">[% HTML.escape(notes) %]</textarea>
107            </td>
108
109            [%- UNLESS is_service %]
110            <td>
111             <ilayer>
112              <layer onmouseover="this.T_STICKY=true;this.T_STATIC=true;return escape('Die Formeln m&uuml;ssen in der folgenden Syntax eingegeben werden:<br>Bei normalen Artikeln:<br>Variablenname= Variable Einheit;<br>Variablenname2= Variable2 Einheit2;<br>...<br>###<br>Variable + Variable2 * ( Variable - Variable2 )<br>Bitte achten Sie auf die Leerzeichen in der Formel<br>Es muss jeweils die Gesamte Zeile eingegeben werden')">
113               <textarea name="formel" rows="4" cols="30" wrap="soft">[% HTML.escape(formel) %]</textarea></layer></ilayer>
114            </td>
115            [%- END %]
116           </tr>
117
118           <tr>
119            <th align="left"></th>
120            <th align="left">EAN-Code</th>
121           </tr>
122
123           <tr>
124            <td>
125             <button type="button" onclick="parts_language_selection_window('language_values')">Spracheinstellungen</button>
126            </td>
127            <td>
128             <input name="ean" size="40" value="[% HTML.escape(ean) %]">
129            </td>
130           </tr>
131
132           <tr>
133            <td colspan="2">
134             <table>
135              <tr>
136               <th align="right">Zahlungskonditionen</th>
137               <td>
138                [%- INCLUDE generic/multibox.html
139                      name       = 'payment_id',
140                      DATA       = payment_terms,
141                      show_empty = 1,
142                      id_key     = 'id',
143                      label_key  = 'description',
144                -%]
145               </td>
146              </tr>
147             </table>
148            </td>
149           </tr>
150          </table>
151         </td>
152
153         <td width="30%">
154          <table width="100%">
155           <tr>
156            <th align="right" nowrap="true">Erneuert am</th>
157            <td width="13">
158             <input name="priceupdate" id="priceupdate" size="11"  title="[% HTML.escape(dateformat) %]" value="[% HTML.escape(priceupdate) %]">
159             <input type="button" name="priceupdate" id="trigger1" value="?">
160            </td>
161           </tr>
162
163           <tr>
164            <th align="right" nowrap="true">Listenpreis</th>
165            <td><input name="listprice" size="11" value="[% LxERP.format_amount(listprice) %]"></td>
166           </tr>
167
168           <tr>
169            <th align="right" nowrap="true">Verkaufspreis</th>
170            <td><input name="sellprice" size="11" value="[% LxERP.format_amount(sellprice) %]"></td>
171           </tr>
172
173           [%- UNLESS is_assembly %]
174           <tr>
175            <th align="right" nowrap="true">Einkaufspreis</th>
176            <td><input name="lastcost" size="11" value="[% LxERP.format_amount(lastcost) %]"></td>
177           </tr>
178           [%- END %]
179
180           [%- IF ALL_PRICE_FACTORS.size %]
181           <tr>
182            <th align="right">Preisfaktor</th>
183            <td>
184             [%- INCLUDE generic/multibox.html
185                   name       = 'price_factors_id',
186                   DATA       = ALL_PRICE_FACTORS,
187                   show_empty = 1,
188                   id_key     = 'id',
189                   label_key  = 'description',
190             -%]
191            </td>
192           </tr>
193           [%- END %]
194
195           <tr>
196            <th align="right" nowrap="true">Einheit</th>
197            <td>
198             <input type="hidden" name="unit_changeable" value="[% HTML.escape(unit_changeable) %]">
199             [%- UNLESS unit_changeable %]
200             <input type="hidden" name="unit" value="[% HTML.escape(unit) %]">[% HTML.escape(unit) %]
201             [%- ELSE %]
202             [%- INCLUDE generic/multibox.html
203                   name       = 'unit',
204                   DATA       = ALL_UNITS,
205                   id_key     = 'name',
206                   label_key  = 'name',
207             -%]
208             [%- END %]
209            </td>
210           </tr>
211
212           [%- UNLESS is_service %]
213           <tr>
214            <th align="right" nowrap="true">Gewicht</th>
215            <td>
216             [%- IF is_assembly %]&nbsp;[% LxERP.format_amount(weight) %][%- END %]
217             <input[% IF is_assembly %] type="hidden"[% END %] size="10" name="weight" value="[% LxERP.format_amount(weight) %]">
218            </td>
219           </tr>
220           [%- END %]
221
222           [%- UNLESS is_service %]
223           <tr>
224            <th align="right" nowrap>Auf Lager</th>
225            <th align="left" nowrap class="plus[% IF onhand > 0 %]1[% ELSE %]0[% END %]">&nbsp;[% LxERP.format_amount(onhand) %]</th>
226           </tr>
227
228           [%- IF is_assembly %]
229           <tr>
230            <th align="right" nowrap>Einlagern</th>
231            <td><input name="stock" size="10" value="[% LxERP.format_amount(stock) %]"></td>
232           </tr>
233           [%- END %]
234
235           <tr>
236            <th align="right" nowrap="true">Mindestlagerbestand</th>
237            <td><input name="rop" size="10" value="[% LxERP.format_amount(rop) %]"></td>
238           </tr>
239
240           <tr>
241            <th align="right" nowrap="true">Lagerplatz</th>
242            <td><input name="bin" size="10" value="[% HTML.escape(bin) %]"></td>
243           </tr>
244
245           <tr>
246            <th align="right" nowrap><label for="not_discountable">Nicht rabattierfähig</label></th>
247            <td><input class="checkbox" type="checkbox" name="not_discountable" id="not_discountable" value="1" [% IF not_discountable %]checked[% END %]></td>
248           </tr>
249
250           <tr>
251            <th align="right" nowrap="true">Verrechnungseinheit</th>
252            <td><input name="ve" size="10" value="[% HTML.escape(ve) %]"></td>
253           </tr>
254
255           <tr>
256            <th align="right" nowrap="true">Geschäftsvolumen</th>
257            <td><input name="gv" size="10" value="[% LxERP.format_amount(gv) %]"></td>
258           </tr>
259
260           [%- END %]
261           [%- IF id %]
262           <tr>
263            <th align="right" nowrap="true"><label for="obsolete">Ungültig</label></th>
264            <td><input name="obsolete" id="obsolete" type="checkbox" class="checkbox" value="1" [% IF obsolete %]checked[% END %]></td>
265           </tr>
266           [%- END %]
267
268           <tr>
269            <th align="right" nowrap><label for="shop">Shopartikel</label></th>
270            <td><input class="checkbox" type="checkbox" name="shop" id="shop" value="1" [% IF shop %]checked[% END %]></td>
271           </tr>
272          </table>
273         </td>
274        </tr>
275       </table>
276      </td>
277     </tr>
278
279     [% UNLESS is_service %]
280     <tr>
281      <td>
282       <table width="100%">
283        <tr>
284         <th align="right" nowrap>Grafik</th>
285         <td><input name="image" size="40" value="[% HTML.escape(image) %]"></td>
286         <th align="right" nowrap>Mikrofilm</th>
287         <td><input name="microfiche" size="20" value="[% HTML.escape(microfiche) %]"></td>
288        </tr>
289        <tr>
290         <th align="right" nowrap>Zeichnung</th>
291         <td><input name="drawing" size="40" value="[% HTML.escape(drawing) %]"></td>
292        </tr>
293       </table>
294      </td>
295     </tr>
296     [%- END %]
297
298     <script type="text/javascript">
299      <!-- Calendar.setup({ inputField : "priceupdate", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger1" }); //-->
300     </script>