Revision 3b43721e
Von Moritz Bunkus vor fast 17 Jahren hinzugefügt
templates/webpages/ic/form_header_de.html | ||
---|---|---|
1 | 1 |
[%- USE HTML %] |
2 | 2 |
[%- USE LxERP %] |
3 | 3 |
<body onLoad="fokus()"> |
4 |
|
|
4 | 5 |
<script type="text/javascript" src="js/common.js"></script> |
5 | 6 |
<script type="text/javascript" src="js/parts_language_selection.js"></script> |
6 | 7 |
|
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> |
|
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 | 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> |
|
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> |
|
59 | 61 |
</table> |
60 |
</td> |
|
61 |
</tr> |
|
62 |
<tr> |
|
63 |
<td> |
|
62 |
</td> |
|
63 |
</tr> |
|
64 |
|
|
65 |
<tr> |
|
66 |
<td> |
|
64 | 67 |
<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ü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 |
[%- INCLUDE generic/multibox.html |
|
186 |
name = 'unit', |
|
187 |
DATA = ALL_UNITS, |
|
188 |
id_key = 'name', |
|
189 |
label_key = 'name', |
|
190 |
-%] |
|
191 |
[%- END %] |
|
192 |
</td> |
|
193 |
</tr> |
|
194 |
[%- UNLESS is_service %] |
|
195 |
<tr> |
|
196 |
<th align="right" nowrap="true">Gewicht</th> |
|
197 |
<td> |
|
198 |
<table><tr><td>[% IF is_assembly %] [% LxERP.format_amount(weight) %][% END %]<input [% IF is_assembly %]type=hidden [% END %] size=10 name=weight value="[% LxERP.format_amount(weight) %]"></td></tr></table> |
|
199 |
</td> |
|
200 |
</tr> |
|
201 |
[%- END %] |
|
202 |
[%- UNLESS is_service %] |
|
203 |
<tr> |
|
204 |
<th align="right" nowrap>Auf Lager</th> |
|
205 |
<th align=left nowrap class="plus[% IF onhand > 0 %]1[% ELSE %]0[% END %]"> [% LxERP.format_amount(onhand) %]</th> |
|
206 |
</tr> |
|
207 |
|
|
208 |
[%- IF is_assembly %] |
|
209 |
<tr> |
|
210 |
<th align="right" nowrap>Einlagern</th> |
|
211 |
<td><input name=stock size=10 value="[% LxERP.format_amount(stock) %]"></td> |
|
212 |
</tr> |
|
213 |
[%- END %] |
|
214 |
<tr> |
|
215 |
<th align="right" nowrap="true">Mindestlagerbestand</th> |
|
216 |
<td><input name=rop size=10 value="[% LxERP.format_amount(rop) %]"></td> |
|
217 |
</tr> |
|
218 |
<tr> |
|
219 |
<th align="right" nowrap="true">Lagerplatz</th> |
|
220 |
<td><input name=bin size=10 value="[% bin %]"></td> |
|
221 |
</tr> |
|
222 |
<tr> |
|
223 |
<th align=right nowrap>Nicht rabattierf?hig</th> |
|
224 |
<td><input class=checkbox type=checkbox name=not_discountable value=1 [% IF not_discountable %]checked[% END %]></td> |
|
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 |
-%] |
|
225 | 84 |
</tr> |
226 |
<tr> |
|
227 |
<th align="right" nowrap="true">Verrechnungseinheit</th> |
|
228 |
<td><input name=ve size=10 value="[% ve %]"></td> |
|
229 |
</tr> |
|
230 |
<tr> |
|
231 |
<th align="right" nowrap="true">Gesch?ftsvolumen</th> |
|
232 |
<td><input name=gv size=10 value="[% LxERP.format_amount(gv) %]"></td> |
|
233 |
</tr> |
|
234 |
[%- END %] |
|
235 |
[%- IF id %] |
|
236 |
<tr> |
|
237 |
<th align="right" nowrap="true">Ung?ltig</th> |
|
238 |
<td><input name=obsolete type=checkbox class=checkbox value=1 [% IF obsolete %]checked[% END %]></td> |
|
239 |
</tr> |
|
240 |
[%- END %] |
|
241 |
<tr> |
|
242 |
<th align=right nowrap>Shopartikel</th> |
|
243 |
<td><input class=checkbox type=checkbox name=shop value=1 [% IF shop %]checked[% END %]></td> |
|
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ü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> |
|
244 | 146 |
</tr> |
245 |
</table> |
|
246 |
</td> |
|
247 |
</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 %] [% 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 %]"> [% 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> |
|
248 | 275 |
</table> |
249 |
</td> |
|
250 |
</tr> |
|
251 |
[% UNLESS is_service %] |
|
252 |
<tr> |
|
253 |
<td> |
|
254 |
<table width=100%> |
|
255 |
<tr> |
|
256 |
<th align=right nowrap>Grafik</th> |
|
257 |
<td><input name=image size=40 value="[% image %]"></td> |
|
258 |
<th align=right nowrap>Mikrofilm</th> |
|
259 |
<td><input name=microfiche size=20 value="[% microfiche %]"></td> |
|
260 |
</tr> |
|
261 |
<tr> |
|
262 |
<th align=right nowrap>Zeichnung</th> |
|
263 |
<td><input name=drawing size=40 value="[% drawing %]"></td> |
|
264 |
</tr> |
|
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> |
|
265 | 293 |
</table> |
266 |
</td> |
|
267 |
</tr> |
|
268 |
[%- END %] |
|
294 |
</td>
|
|
295 |
</tr>
|
|
296 |
[%- END %]
|
|
269 | 297 |
|
270 |
<script type="text/javascript"> |
|
271 |
<!-- Calendar.setup({ inputField : "priceupdate", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger1" }); //--> |
|
272 |
</script> |
|
298 |
<script type="text/javascript"> |
|
299 |
<!-- Calendar.setup({ inputField : "priceupdate", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger1" }); //--> |
|
300 |
</script> |
templates/webpages/ic/form_header_master.html | ||
---|---|---|
1 | 1 |
[%- USE HTML %] |
2 | 2 |
[%- USE LxERP %] |
3 | 3 |
<body onLoad="fokus()"> |
4 |
|
|
4 | 5 |
<script type="text/javascript" src="js/common.js"></script> |
5 | 6 |
<script type="text/javascript" src="js/parts_language_selection.js"></script> |
6 | 7 |
|
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> |
|
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 | 29 |
<table width="100%"> |
30 |
<tr valign=top> |
|
31 |
<th align=left><translate>Part Number</translate></th> |
|
32 |
<th align=left><translate>Part Description</translate></th> |
|
33 |
[%- IF all_partsgroup.size %] |
|
34 |
<th align=left><translate>Group</translate></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> |
|
30 |
<tr valign="top"> |
|
31 |
<th align="left"><translate>Part Number</translate></th> |
|
32 |
<th align="left"><translate>Part Description</translate></th> |
|
33 |
[%- IF all_partsgroup.size %] |
|
34 |
<th align="left"><translate>Group</translate></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> |
|
59 | 61 |
</table> |
60 |
</td> |
|
61 |
</tr> |
|
62 |
<tr> |
|
63 |
<td> |
|
62 |
</td> |
|
63 |
</tr> |
|
64 |
|
|
65 |
<tr> |
|
66 |
<td> |
|
64 | 67 |
<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><translate>Buchungsgruppe</translate></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"><translate>Notes</translate></th> |
|
95 |
[%- UNLESS is_service %] |
|
96 |
<th align="left"><translate>Formula</translate></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('<translate>The formula needs the following syntax:<br>For regular article:<br>Variablename= Variable Unit;<br>Variablename2= Variable2 Unit2;<br>...<br>###<br>Variable + ( Variable2 / Variable )<br><b>Please be beware of the spaces in the formula</b><br></translate>')"> |
|
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"><translate>EAN-Code</translate></th> |
|
114 |
</tr> |
|
115 |
<tr> |
|
116 |
<td> |
|
117 |
<button type="button" onclick="parts_language_selection_window('language_values')"><translate>Set Language Values</translate></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><translate>Payment Terms</translate></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"><translate>Updated</translate></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=<translate>button</translate>></td> |
|
149 |
</tr> |
|
150 |
<tr> |
|
151 |
<th align="right" nowrap="true"><translate>List Price</translate></th> |
|
152 |
<td><input name=listprice size=11 value=[% LxERP.format_amount(listprice) %]></td> |
|
153 |
</tr> |
|
154 |
<tr> |
|
155 |
<th align="right" nowrap="true"><translate>Sell Price</translate></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"><translate>Last Cost</translate></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"><translate>Price Factor</translate></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"><translate>Unit</translate></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 |
[%- INCLUDE generic/multibox.html |
|
186 |
name = 'unit', |
|
187 |
DATA = ALL_UNITS, |
|
188 |
id_key = 'name', |
|
189 |
label_key = 'name', |
|
190 |
-%] |
|
191 |
[%- END %] |
|
192 |
</td> |
|
193 |
</tr> |
|
194 |
[%- UNLESS is_service %] |
|
195 |
<tr> |
|
196 |
<th align="right" nowrap="true"><translate>Weight</translate></th> |
|
197 |
<td> |
|
198 |
<table><tr><td>[% IF is_assembly %] [% LxERP.format_amount(weight) %][% END %]<input [% IF is_assembly %]type=hidden [% END %] size=10 name=weight value="[% LxERP.format_amount(weight) %]"></td></tr></table> |
|
199 |
</td> |
|
200 |
</tr> |
|
201 |
[%- END %] |
|
202 |
[%- UNLESS is_service %] |
|
203 |
<tr> |
|
204 |
<th align="right" nowrap><translate>On Hand</translate></th> |
|
205 |
<th align=left nowrap class="plus[% IF onhand > 0 %]1[% ELSE %]0[% END %]"> [% LxERP.format_amount(onhand) %]</th> |
|
206 |
</tr> |
|
207 |
|
|
208 |
[%- IF is_assembly %] |
|
209 |
<tr> |
|
210 |
<th align="right" nowrap><translate>Stock</translate></th> |
|
211 |
<td><input name=stock size=10 value="[% LxERP.format_amount(stock) %]"></td> |
|
212 |
</tr> |
|
213 |
[%- END %] |
|
214 |
<tr> |
|
215 |
<th align="right" nowrap="true"><translate>ROP</translate></th> |
|
216 |
<td><input name=rop size=10 value="[% LxERP.format_amount(rop) %]"></td> |
|
217 |
</tr> |
|
218 |
<tr> |
|
219 |
<th align="right" nowrap="true"><translate>Bin</translate></th> |
|
220 |
<td><input name=bin size=10 value="[% bin %]"></td> |
|
221 |
</tr> |
|
222 |
<tr> |
|
223 |
<th align=right nowrap><translate>Not Discountable</translate></th> |
|
224 |
<td><input class=checkbox type=checkbox name=not_discountable value=1 [% IF not_discountable %]checked[% END %]></td> |
|
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"><translate>Buchungsgruppe</translate></th> |
|
77 |
<td> |
|
78 |
[%- INCLUDE generic/multibox.html |
|
79 |
name = 'buchungsgruppen_id', |
|
80 |
DATA = BUCHUNGSGRUPPEN, |
|
81 |
id_key = 'id', |
|
82 |
label_key = 'description', |
|
83 |
-%] |
|
225 | 84 |
</tr> |
226 |
<tr> |
|
227 |
<th align="right" nowrap="true"><translate>Verrechnungseinheit</translate></th> |
|
228 |
<td><input name=ve size=10 value="[% ve %]"></td> |
|
229 |
</tr> |
|
230 |
<tr> |
|
231 |
<th align="right" nowrap="true"><translate>Business Volume</translate></th> |
|
232 |
<td><input name=gv size=10 value="[% LxERP.format_amount(gv) %]"></td> |
|
233 |
</tr> |
|
234 |
[%- END %] |
|
235 |
[%- IF id %] |
|
236 |
<tr> |
|
237 |
<th align="right" nowrap="true"><translate>Obsolete</translate></th> |
|
238 |
<td><input name=obsolete type=checkbox class=checkbox value=1 [% IF obsolete %]checked[% END %]></td> |
|
239 |
</tr> |
|
240 |
[%- END %] |
|
241 |
<tr> |
|
242 |
<th align=right nowrap><translate>Shopartikel</translate></th> |
|
243 |
<td><input class=checkbox type=checkbox name=shop value=1 [% IF shop %]checked[% END %]></td> |
|
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"><translate>Notes</translate></th> |
|
99 |
[%- UNLESS is_service %] |
|
100 |
<th align="left"><translate>Formula</translate></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('<translate>The formula needs the following syntax:<br>For regular article:<br>Variablename= Variable Unit;<br>Variablename2= Variable2 Unit2;<br>...<br>###<br>Variable + ( Variable2 / Variable )<br><b>Please be beware of the spaces in the formula</b><br></translate>')"> |
|
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"><translate>EAN-Code</translate></th> |
|
121 |
</tr> |
|
122 |
|
|
123 |
<tr> |
|
124 |
<td> |
|
125 |
<button type="button" onclick="parts_language_selection_window('language_values')"><translate>Set Language Values</translate></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"><translate>Payment Terms</translate></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> |
|
244 | 146 |
</tr> |
245 |
</table> |
|
246 |
</td> |
|
247 |
</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"><translate>Updated</translate></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"><translate>List Price</translate></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"><translate>Sell Price</translate></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"><translate>Last Cost</translate></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"><translate>Price Factor</translate></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"><translate>Unit</translate></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"><translate>Weight</translate></th> |
|
215 |
<td> |
|
216 |
[%- IF is_assembly %] [% 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><translate>On Hand</translate></th> |
|
225 |
<th align="left" nowrap class="plus[% IF onhand > 0 %]1[% ELSE %]0[% END %]"> [% LxERP.format_amount(onhand) %]</th> |
|
226 |
</tr> |
|
227 |
|
|
228 |
[%- IF is_assembly %] |
|
229 |
<tr> |
|
230 |
<th align="right" nowrap><translate>Stock</translate></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"><translate>ROP</translate></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"><translate>Bin</translate></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"><translate>Not Discountable</translate></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"><translate>Verrechnungseinheit</translate></th> |
|
252 |
<td><input name="ve" size="10" value="[% HTML.escape(ve) %]"></td> |
|
253 |
</tr> |
|
254 |
|
|
255 |
<tr> |
|
256 |
<th align="right" nowrap="true"><translate>Business Volume</translate></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"><translate>Obsolete</translate></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"><translate>Shopartikel</translate></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> |
|
248 | 275 |
</table> |
249 |
</td> |
|
250 |
</tr> |
|
251 |
[% UNLESS is_service %] |
|
252 |
<tr> |
|
253 |
<td> |
|
254 |
<table width=100%> |
|
255 |
<tr> |
|
256 |
<th align=right nowrap><translate>Image</translate></th> |
|
257 |
<td><input name=image size=40 value="[% image %]"></td> |
|
258 |
<th align=right nowrap><translate>Microfiche</translate></th> |
|
259 |
<td><input name=microfiche size=20 value="[% microfiche %]"></td> |
|
260 |
</tr> |
|
261 |
<tr> |
|
262 |
<th align=right nowrap><translate>Drawing</translate></th> |
|
263 |
<td><input name=drawing size=40 value="[% drawing %]"></td> |
|
264 |
</tr> |
|
276 |
</td> |
|
277 |
</tr> |
|
278 |
|
|
279 |
[% UNLESS is_service %] |
|
280 |
<tr> |
|
281 |
<td> |
|
282 |
<table width="100%"> |
|
283 |
<tr> |
|
284 |
<th align="right" nowrap><translate>Image</translate></th> |
|
285 |
<td><input name="image" size="40" value="[% HTML.escape(image) %]"></td> |
|
286 |
<th align="right" nowrap><translate>Microfiche</translate></th> |
|
287 |
<td><input name="microfiche" size="20" value="[% HTML.escape(microfiche) %]"></td> |
|
288 |
</tr> |
|
289 |
<tr> |
|
290 |
<th align="right" nowrap><translate>Drawing</translate></th> |
|
291 |
<td><input name="drawing" size="40" value="[% HTML.escape(drawing) %]"></td> |
|
292 |
</tr> |
|
265 | 293 |
</table> |
266 |
</td> |
|
267 |
</tr> |
|
268 |
[%- END %] |
|
294 |
</td>
|
|
295 |
</tr>
|
|
296 |
[%- END %]
|
|
269 | 297 |
|
270 |
<script type="text/javascript"> |
|
271 |
<!-- Calendar.setup({ inputField : "priceupdate", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger1" }); //--> |
|
272 |
</script> |
|
298 |
<script type="text/javascript"> |
|
299 |
<!-- Calendar.setup({ inputField : "priceupdate", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger1" }); //--> |
|
300 |
</script> |
Auch abrufbar als: Unified diff
HTML-Code aufgeräumt, Attribute gequotet, HTML-Sonderzeichen in Werten escapet. Die Texte zu Checkboxen und Radiobuttons sind mit <label> eingeschlossen, damit man sie anklicken kann.