1ae4073bdf2ea9ad6f7685365dbcb05684881edb
[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  <p><div class="listtop">[% title %]</div></p>
9
10  <form method="post" name="ic" action="[% script %]">
11
12   <input name="id" type="hidden" value="[% HTML.escape(id) %]">
13   <input name="item" type="hidden" value="[% HTML.escape(item) %]">
14   <input name="title" type="hidden" value="[% HTML.escape(title) %]">
15   <input name="makemodel" type="hidden" value="[% HTML.escape(makemodel) %]">
16   <input name="alternate" type="hidden" value="[% HTML.escape(alternate) %]">
17   <input name="onhand" type="hidden" value="[% HTML.escape(onhand) %]">
18   <input name="orphaned" type="hidden" value="[% HTML.escape(orphaned) %]">
19   <input name="taxaccounts" type="hidden" value="[% HTML.escape(taxaccounts) %]">
20   <input name="rowcount" type="hidden" value="[% HTML.escape(rowcount) %]">
21   <input name="eur" type="hidden" value="[% HTML.escape(eur) %]">
22   <input name="language_values" type="hidden" value="[% HTML.escape(language_values) %]">
23   <input name="original_partnumber" type="hidden" value="[% HTML.escape(original_partnumber) %]">
24
25   <ul id="maintab" class="shadetabs">
26    <li class="selected"><a href="#" rel="master_data">Stammdaten</a></li>
27    [%- IF CUSTOM_VARIABLES.size %]
28    <li><a href="#" rel="custom_variables">Benutzerdefinierte Variablen</a></li>
29    [%- END %]
30   </ul>
31
32   <div class="tabcontentstyle">
33   <div id="master_data" class="tabcontent">
34
35    <table width="100%">
36     <tr>
37      <td>
38       <table width="100%">
39        <tr valign="top">
40         <td>
41          <table>
42           <tr>
43            <td colspan="2">
44             <table>
45              <tr>
46               <th align="right">Artikelnummer</th>
47               <td><input name="partnumber" value="[% HTML.escape(partnumber) %]" size="40"></td>
48              </tr>
49              <tr>
50               <th align="right">Artikelbeschreibung</th>
51               <td>
52                [%- IF description_area %]
53                <textarea name="description" rows="[% HTML.escape(rows) %]" cols="40" wrap="soft">[% HTML.escape(description) %]</textarea>
54                [%- ELSE %]
55                <input name="description" size="40" value="[% HTML.escape(description) %]">
56                [%- END %]
57               </td>
58              </tr>
59              <tr>
60                <th align="right">EAN-Code</th>
61                <td><input name="ean" size="40" value="[% HTML.escape(ean) %]"></td>
62              </tr>
63              <tr>
64               [%- IF all_partsgroup.size %]
65               <th align="right">Warengruppe</th>
66               <td>
67                [%- INCLUDE generic/multibox.html
68                      name       = 'partsgroup',
69                      DATA       = all_partsgroup,
70                      show_empty = 1,
71                      id_sub     = 'pg_keys',
72                      label_key  = 'partsgroup',
73                      style      = 'width:250px'
74                -%]
75               </td>
76               <input type="hidden" name="oldpartsgroup" value="[% HTML.escape(oldpartsgroup) %]">
77               [% END %]
78              </tr>
79
80
81              [%- IF BUCHUNGSGRUPPEN.size %]
82              <tr>
83               <th align="right">Buchungsgruppe</th>
84               <td>
85                [%- INCLUDE generic/multibox.html
86                      name       = 'buchungsgruppen_id',
87                      DATA       = BUCHUNGSGRUPPEN,
88                      id_key     = 'id',
89                      label_key  = 'description',
90                      style      = 'width:250px'
91                -%]
92              </tr>
93              [%- END %]
94              <input type="hidden" name="IC_income" value="[% HTML.escape(IC_income_default) %]">
95              [%- UNLESS is_assembly %]
96              <input type="hidden" name="IC_expense" value="[% HTML.escape(IC_expense_default) %]">
97              [%- END %]
98              [%- IF is_part %]
99              <input type="hidden" name="IC" value="[% HTML.escape(IC_default) %]">
100              [%- END %]
101              <tr>
102               <th align="right">Zahlungskonditionen</th>
103               <td>
104                [%- INCLUDE generic/multibox.html
105                      name       = 'payment_id',
106                      DATA       = payment_terms,
107                      show_empty = 1,
108                      id_key     = 'id',
109                      label_key  = 'description',
110                      style      = 'width:250px'
111                -%]
112               </td>
113              </tr>
114             </table>
115            </td>
116           </tr>
117
118           <tr>
119            <td>
120             <button type="button" onclick="parts_language_selection_window('language_values')">Spracheinstellungen</button>
121            </td>
122           </tr>
123
124           <tr height="5"></tr>
125
126           <tr>
127            <td>
128             <table>
129              <tr>
130               <th align="left">Bemerkungen</th>
131               [%- UNLESS is_service %]
132               <th align="left">Formel</th>
133               [%- END %]
134              </tr>
135              <tr>
136               <td>
137                <textarea name="notes" rows="[% HTML.escape(notes_rows) %]" cols="45" wrap="soft">[% HTML.escape(notes) %]</textarea>
138               </td>
139               [%- UNLESS is_service %]
140               <td>
141                <ilayer>
142                 <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>Variablennamen und Einheiten dürfen nur aus alphanumerischen Zeichen bestehen.<br>Es muss jeweils die Gesamte Zeile eingegeben werden')">
143                  <textarea name="formel" rows="[% HTML.escape(notes_rows) %]" cols="30" wrap="soft">[% HTML.escape(formel) %]</textarea></layer></ilayer>
144                </td>
145               [%- END %]
146              </tr>
147             </table>
148            </td>
149           </tr>
150          </table>
151         </td>
152
153         <td>
154          <table>
155           <tr>
156            <th align="right" nowrap="true">Erneuert am</th>
157            <td>
158             <input name="priceupdate" id="priceupdate" size="11"  title="[% HTML.escape(dateformat) %]" value="[% HTML.escape(priceupdate) %]" readonly>
159            </td>
160           </tr>
161
162           <tr>
163            <th align="right" nowrap="true">Listenpreis</th>
164            <td><input name="listprice" size="11" value="[% LxERP.format_amount(listprice, -2) %]"></td>
165           </tr>
166
167           <tr>
168            <th align="right" nowrap="true">Verkaufspreis</th>
169            <td><input name="sellprice" size="11" value="[% LxERP.format_amount(sellprice, -2) %]"></td>
170           </tr>
171
172           [%- UNLESS is_assembly %]
173           <tr>
174            <th align="right" nowrap="true">Einkaufspreis</th>
175            <td><input name="lastcost" size="11" value="[% LxERP.format_amount(lastcost, -2) %]"></td>
176           </tr>
177           [%- END %]
178
179           [%- IF ALL_PRICE_FACTORS.size %]
180           <tr>
181            <th align="right">Preisfaktor</th>
182            <td>
183             [%- INCLUDE generic/multibox.html
184                   name       = 'price_factor_id',
185                   DATA       = ALL_PRICE_FACTORS,
186                   show_empty = 1,
187                   id_key     = 'id',
188                   label_key  = 'description',
189                   style      = 'width:100px'
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                   style      = 'width:100px'
208             -%]
209             [%- END %]
210            </td>
211           </tr>
212
213         [%- UNLESS is_service %]
214           <tr>
215            <th align="right" nowrap="true">Gewicht</th>
216            <td>
217             [%- IF is_assembly %]&nbsp;[% LxERP.format_amount(weight) %][%- END %]
218             <input[% IF is_assembly %] type="hidden"[% END %] size="10" name="weight" value="[% LxERP.format_amount(weight) %]">
219             [% HTML.escape(defaults.weightunit) %]
220            </td>
221           </tr>
222         [%- END %]
223         [%- UNLESS is_service %]
224           <tr>
225            <th align="right" nowrap>Auf Lager</th>
226            <th align="left" nowrap class="plus[% IF onhand > 0 %]1[% ELSE %]0[% END %]">&nbsp;[% LxERP.format_amount(onhand) %]</th>
227           </tr>
228           <tr>
229            <th align="right" nowrap="true">Mindestlagerbestand</th>
230            <td><input name="rop" size="10" value="[% LxERP.format_amount(rop) %]"></td>
231           </tr>
232           <tr>
233            <th align="right" nowrap="true">Lagerplatz</th>
234            <td><input name="bin" size="10" value="[% HTML.escape(bin) %]"></td>
235           </tr>
236           <tr>
237            <th align="right" nowrap="true">Verrechnungseinheit</th>
238            <td><input name="ve" size="10" value="[% HTML.escape(ve) %]"></td>
239           </tr>
240           <tr>
241            <th align="right" nowrap="true">Geschäftsvolumen</th>
242            <td><input name="gv" size="10" value="[% LxERP.format_amount(gv) %]"></td>
243           </tr>
244           <tr>
245            <th align="right" nowrap><label for="not_discountable">Nicht rabattierfähig</label></th>
246            <td><input class="checkbox" type="checkbox" name="not_discountable" id="not_discountable" value="1" [% IF not_discountable %]checked[% END %]></td>
247           </tr>
248         [%- END %]
249         [%- IF id %]
250           <tr>
251            <th align="right" nowrap="true"><label for="obsolete">Ungültig</label></th>
252            <td><input name="obsolete" id="obsolete" type="checkbox" class="checkbox" value="1" [% IF obsolete %]checked[% END %]></td>
253           </tr>
254         [%- END %]
255           <tr>
256            <th align="right" nowrap><label for="shop">Hat eine Seriennummer</label></th>
257            <td><input class="checkbox" type="checkbox" name="has_sernumber" id="has_sernumber" value="1" [% IF has_sernumber %]checked[% END %]></td>
258           </tr>
259           <tr>
260            <th align="right" nowrap><label for="shop">Shopartikel</label></th>
261            <td><input class="checkbox" type="checkbox" name="shop" id="shop" value="1" [% IF shop %]checked[% END %]></td>
262           </tr>
263          </table>
264         </td>
265        </tr>
266       </table>
267      </td>
268     </tr>
269
270
271     [% UNLESS is_service %]
272     <tr>
273      <td>
274       <table>
275        <tr>
276         <th align="right" nowrap>Grafik</th>
277         <td><input name="image" size="40" value="[% HTML.escape(image) %]"></td>
278         <th align="right" nowrap>Mikrofilm</th>
279         <td><input name="microfiche" size="20" value="[% HTML.escape(microfiche) %]"></td>
280        </tr>
281        <tr>
282         <th align="right" nowrap>Zeichnung</th>
283         <td><input name="drawing" size="40" value="[% HTML.escape(drawing) %]"></td>
284        </tr>
285       </table>
286      </td>
287     </tr>
288     [%- END %]
289
290     <script type="text/javascript">
291      <!-- Calendar.setup({ inputField : "priceupdate", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger1" }); //-->
292     </script>