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