Auslagern von Hersteller/Modell-Zeilen in eigene Templates. Hersteller/Modell auch...
[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         <td>
32          <table>
33           <tr>
34            <td colspan="2">
35             <table>
36              <tr>
37               <th align="right">Artikelnummer</th>
38               <td><input name="partnumber" value="[% HTML.escape(partnumber) %]" size="40"></td>
39              </tr>
40              <tr>
41               <th align="right">Artikelbeschreibung</th>
42               <td>
43                [%- IF description_area %]
44                <textarea name="description" rows="[% HTML.escape(rows) %]" cols="40" wrap="soft">[% HTML.escape(description) %]</textarea>
45                [%- ELSE %]
46                <input name="description" size="40" value="[% HTML.escape(description) %]">
47                [%- END %]
48               </td>
49              </tr>
50              <tr>
51                <th align="right">EAN-Code</th>
52                <td><input name="ean" size="40" value="[% HTML.escape(ean) %]"></td>
53              </tr>
54              <tr>
55               [%- IF all_partsgroup.size %]
56               <th align="right">Warengruppe</th>
57               <td>
58                [%- INCLUDE generic/multibox.html
59                      name       = 'partsgroup',
60                      DATA       = all_partsgroup,
61                      show_empty = 1,
62                      id_sub     = 'pg_keys',
63                      label_key  = 'partsgroup',
64                      style      = 'width:250px'
65                -%]
66               </td>
67               <input type="hidden" name="oldpartsgroup" value="[% HTML.escape(oldpartsgroup) %]">
68               [% END %]
69              </tr>
70
71
72              [%- IF BUCHUNGSGRUPPEN.size %]
73              <tr>
74               <th align="right">Buchungsgruppe</th>
75               <td>
76                [%- INCLUDE generic/multibox.html
77                      name       = 'buchungsgruppen_id',
78                      DATA       = BUCHUNGSGRUPPEN,
79                      id_key     = 'id',
80                      label_key  = 'description',
81                      style      = 'width:250px'
82                -%]
83              </tr>
84              [%- END %]
85              <input type="hidden" name="IC_income" value="[% HTML.escape(IC_income_default) %]">
86              [%- UNLESS is_assembly %]
87              <input type="hidden" name="IC_expense" value="[% HTML.escape(IC_expense_default) %]">
88              [%- END %]
89              [%- IF is_part %]
90              <input type="hidden" name="IC" value="[% HTML.escape(IC_default) %]">
91              [%- END %]
92              <tr>
93               <th align="right">Zahlungskonditionen</th>
94               <td>
95                [%- INCLUDE generic/multibox.html
96                      name       = 'payment_id',
97                      DATA       = payment_terms,
98                      show_empty = 1,
99                      id_key     = 'id',
100                      label_key  = 'description',
101                      style      = 'width:250px'
102                -%]
103               </td>
104              </tr>
105             </table>
106            </td>
107           </tr>
108
109           <tr>
110            <td>
111             <button type="button" onclick="parts_language_selection_window('language_values')">Spracheinstellungen</button>
112            </td>
113           </tr>
114
115           <tr height="5"></tr>
116
117           <tr>
118            <td>
119             <table>
120              <tr>
121               <th align="left">Bemerkungen</th>
122               [%- UNLESS is_service %]
123               <th align="left">Formel</th>
124               [%- END %]
125              </tr>
126              <tr>
127               <td>
128                <textarea name="notes" rows="[% HTML.escape(notes_rows) %]" cols="45" wrap="soft">[% HTML.escape(notes) %]</textarea>
129               </td>
130               [%- UNLESS is_service %]
131               <td>
132                <ilayer>
133                 <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')">
134                  <textarea name="formel" rows="[% HTML.escape(notes_rows) %]" cols="30" wrap="soft">[% HTML.escape(formel) %]</textarea></layer></ilayer>
135                </td>
136               [%- END %]
137              </tr>
138             </table>
139            </td>
140           </tr>
141          </table>
142         </td>
143
144         <td>
145          <table>
146           <tr>
147            <th align="right" nowrap="true">Erneuert am</th>
148            <td>
149             <input name="priceupdate" id="priceupdate" size="11"  title="[% HTML.escape(dateformat) %]" value="[% HTML.escape(priceupdate) %]">
150             <input type="button" name="priceupdate" id="trigger1" value="?">
151            </td>
152           </tr>
153
154           <tr>
155            <th align="right" nowrap="true">Listenpreis</th>
156            <td><input name="listprice" size="11" value="[% LxERP.format_amount(listprice) %]"></td>
157           </tr>
158
159           <tr>
160            <th align="right" nowrap="true">Verkaufspreis</th>
161            <td><input name="sellprice" size="11" value="[% LxERP.format_amount(sellprice) %]"></td>
162           </tr>
163
164           [%- UNLESS is_assembly %]
165           <tr>
166            <th align="right" nowrap="true">Einkaufspreis</th>
167            <td><input name="lastcost" size="11" value="[% LxERP.format_amount(lastcost) %]"></td>
168           </tr>
169           [%- END %]
170
171           [%- IF ALL_PRICE_FACTORS.size %]
172           <tr>
173            <th align="right">Preisfaktor</th>
174            <td>
175             [%- INCLUDE generic/multibox.html
176                   name       = 'price_factors_id',
177                   DATA       = ALL_PRICE_FACTORS,
178                   show_empty = 1,
179                   id_key     = 'id',
180                   label_key  = 'description',
181                   style      = 'width:100px'
182             -%]
183            </td>
184           </tr>
185           [%- END %]
186
187           <tr>
188            <th align="right" nowrap="true">Einheit</th>
189            <td>
190             <input type="hidden" name="unit_changeable" value="[% HTML.escape(unit_changeable) %]">
191             [%- UNLESS unit_changeable %]
192             <input type="hidden" name="unit" value="[% HTML.escape(unit) %]">[% HTML.escape(unit) %]
193             [%- ELSE %]
194             [%- INCLUDE generic/multibox.html
195                   name       = 'unit',
196                   DATA       = ALL_UNITS,
197                   id_key     = 'name',
198                   label_key  = 'name',
199                   style      = 'width:100px'
200             -%]
201             [%- END %]
202            </td>
203           </tr>
204
205         [%- UNLESS is_service %]
206           <tr>
207            <th align="right" nowrap="true">Gewicht</th>
208            <td>
209             [%- IF is_assembly %]&nbsp;[% LxERP.format_amount(weight) %][%- END %]
210             <input[% IF is_assembly %] type="hidden"[% END %] size="10" name="weight" value="[% LxERP.format_amount(weight) %]">
211            </td>
212           </tr>
213         [%- END %]
214         [%- UNLESS is_service %]
215           <tr>
216            <th align="right" nowrap>Auf Lager</th>
217            <th align="left" nowrap class="plus[% IF onhand > 0 %]1[% ELSE %]0[% END %]">&nbsp;[% LxERP.format_amount(onhand) %]</th>
218           </tr>
219           [%- IF is_assembly %]
220           <tr>
221            <th align="right" nowrap>Einlagern</th>
222            <td><input name="stock" size="10" value="[% LxERP.format_amount(stock) %]"></td>
223           </tr>
224           [%- END %]
225           <tr>
226            <th align="right" nowrap="true">Mindestlagerbestand</th>
227            <td><input name="rop" size="10" value="[% LxERP.format_amount(rop) %]"></td>
228           </tr>
229           <tr>
230            <th align="right" nowrap="true">Lagerplatz</th>
231            <td><input name="bin" size="10" value="[% HTML.escape(bin) %]"></td>
232           </tr>
233           <tr>
234            <th align="right" nowrap="true">Verrechnungseinheit</th>
235            <td><input name="ve" size="10" value="[% HTML.escape(ve) %]"></td>
236           </tr>
237           <tr>
238            <th align="right" nowrap="true">Geschäftsvolumen</th>
239            <td><input name="gv" size="10" value="[% LxERP.format_amount(gv) %]"></td>
240           </tr>
241           <tr>
242            <th align="right" nowrap><label for="not_discountable">Nicht rabattierfähig</label></th>
243            <td><input class="checkbox" type="checkbox" name="not_discountable" id="not_discountable" value="1" [% IF not_discountable %]checked[% END %]></td>
244           </tr>
245         [%- END %]
246         [%- IF id %]
247           <tr>
248            <th align="right" nowrap="true"><label for="obsolete">Ungültig</label></th>
249            <td><input name="obsolete" id="obsolete" type="checkbox" class="checkbox" value="1" [% IF obsolete %]checked[% END %]></td>
250           </tr>
251         [%- END %]
252           <tr>
253            <th align="right" nowrap><label for="shop">Shopartikel</label></th>
254            <td><input class="checkbox" type="checkbox" name="shop" id="shop" value="1" [% IF shop %]checked[% END %]></td>
255           </tr>
256          </table>
257         </td>
258        </tr>
259       </table>
260      </td>
261     </tr>
262
263
264     [% UNLESS is_service %]
265     <tr>
266      <td>
267       <table>
268        <tr>
269         <th align="right" nowrap>Grafik</th>
270         <td><input name="image" size="40" value="[% HTML.escape(image) %]"></td>
271         <th align="right" nowrap>Mikrofilm</th>
272         <td><input name="microfiche" size="20" value="[% HTML.escape(microfiche) %]"></td>
273        </tr>
274        <tr>
275         <th align="right" nowrap>Zeichnung</th>
276         <td><input name="drawing" size="40" value="[% HTML.escape(drawing) %]"></td>
277        </tr>
278       </table>
279      </td>
280     </tr>
281     [%- END %]
282
283     <script type="text/javascript">
284      <!-- Calendar.setup({ inputField : "priceupdate", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger1" }); //-->
285     </script>