Revision 51c09f5d
Von Werner Hahn vor fast 2 Jahren hinzugefügt
templates/design40_webpages/part/_basic_data.html | ||
---|---|---|
29 | 29 |
<tbody> |
30 | 30 |
<tr> |
31 | 31 |
<th>[% 'Part Number' | $T8 %]</th> |
32 |
<td>[% L.input_tag("part.partnumber", SELF.part.partnumber, size=10, class='initial_focus wi-mediumsmall') %]</td> |
|
32 |
<td>[% L.input_tag("part.partnumber", SELF.part.partnumber, size=10, class='initial_focus |
|
33 |
wi-mediumsmall', "data-validate"="trimmed_whitespaces") %]</td> |
|
33 | 34 |
</tr> |
34 | 35 |
<tr> |
35 | 36 |
<th>[% 'Part Classification' | $T8 %]</th> |
... | ... | |
41 | 42 |
</tr> |
42 | 43 |
<tr> |
43 | 44 |
<th>[% 'EAN-Code' | $T8 %]</th> |
44 |
<td>[% L.input_tag("part.ean", SELF.part.ean, class='wi-wide', size=10) %]</td> |
|
45 |
<td>[% L.input_tag("part.ean", SELF.part.ean, class='wi-wide', size=10, "data-validate"="trimmed_whitespaces") %]</td>
|
|
45 | 46 |
</tr> |
46 | 47 |
[% IF SELF.all_partsgroups.size %] |
47 | 48 |
<tr> |
... | ... | |
92 | 93 |
<colgroup> <col class="wi-small"><col class="wi-mediumsmall"> </colgroup> |
93 | 94 |
<tbody> |
94 | 95 |
<tr> |
95 |
<th>[% 'Updated' | $T8 %]</th>
|
|
96 |
<td>[% SELF.part.priceupdate.to_kivitendo | html %]</td>
|
|
96 |
<th>[% 'Price updated' | $T8 %]</th>
|
|
97 |
<td>[% SELF.part.last_price_update.valid_from.to_kivitendo | html %]</td>
|
|
97 | 98 |
</tr> |
98 | 99 |
<tr> |
99 | 100 |
<th>[% 'List Price' | $T8 %]</th> |
... | ... | |
119 | 120 |
</td> |
120 | 121 |
</tr> |
121 | 122 |
[% END %] |
123 |
</tbody> |
|
124 |
</table> |
|
125 |
<div id="pricegroups"> |
|
126 |
[% PROCESS 'part/_pricegroup_prices.html' %] |
|
127 |
</div> |
|
128 |
<table id="ic5" class="tbl-horizontal"> |
|
129 |
<colgroup> <col class="wi-small"><col class="wi-mediumsmall"> </colgroup> |
|
130 |
<tbody> |
|
122 | 131 |
[% IF SELF.all_price_factors.size %] |
123 | 132 |
<tr> |
124 | 133 |
<th>[% 'Price Factor' | $T8 %]</th> |
... | ... | |
127 | 136 |
</td> |
128 | 137 |
</tr> |
129 | 138 |
[% END %] |
139 |
<tr> |
|
140 |
<th><label for="part_not_discountable">[% 'Not Discountable' | $T8 %]</label></th> |
|
141 |
<td>[% L.checkbox_tag('part.not_discountable', checked = SELF.part.not_discountable, for_submit=1) %]</td> |
|
142 |
</tr> |
|
143 |
<tr> |
|
144 |
<th>[% 'Business Volume' | $T8 %]</th> |
|
145 |
<td>[% L.input_tag("part.gv_as_number", SELF.part.gv_as_number, class='reformat_number numeric wi-mediumsmall', size=10) %]</td> |
|
146 |
</tr> |
|
147 |
<tr> |
|
148 |
<th>[% 'Verrechnungseinheit' | $T8 %]</th> |
|
149 |
<td>[% L.input_tag("part.ve", SELF.part.ve, class='wi-mediumsmall', size=10) %]</td> |
|
150 |
</tr> |
|
151 |
</tbody> |
|
152 |
</table> |
|
153 |
</div><!-- /.col --> |
|
154 |
|
|
155 |
<div class="col"> |
|
156 |
<table class="tbl-horizontal"> |
|
157 |
<caption>[% 'Unit' | $T8 %]</caption> |
|
158 |
<colgroup> |
|
159 |
<col class="wi-small"> |
|
160 |
<col class="wi-lightwide"> |
|
161 |
</colgroup> |
|
162 |
<tbody> |
|
130 | 163 |
<tr> |
131 | 164 |
<th>[% 'Unit' | $T8 %]</th> |
132 | 165 |
<td> |
... | ... | |
136 | 169 |
[% L.hidden_tag('part.unit', SELF.part.unit) %] [% HTML.escape(SELF.part.unit) %] |
137 | 170 |
[% END %]</td> |
138 | 171 |
</tr> |
172 |
</tbody> |
|
173 |
</table> |
|
174 |
[% UNLESS SELF.part.is_service %] |
|
175 |
<table class="tbl-horizontal"> |
|
176 |
<caption>[% 'Warehouse' | $T8 %]</caption> |
|
177 |
<colgroup> |
|
178 |
<col class="wi-small"> |
|
179 |
<col class="wi-lightwide"> |
|
180 |
</colgroup> |
|
181 |
<tbody> |
|
139 | 182 |
<tr> |
140 |
<th>[% 'Verrechnungseinheit' | $T8 %]</th> |
|
141 |
<td>[% L.input_tag("part.ve", SELF.part.ve, class='wi-mediumsmall', size=10) %]</td> |
|
183 |
<th>[% 'Weight' | $T8 %]</th> |
|
184 |
<td> |
|
185 |
[% IF SELF.part.is_assembly %] |
|
186 |
<span id="items_weight_sum_basic">[% LxERP.format_amount(SELF.part.weight) %]</span> |
|
187 |
[% ELSE %] |
|
188 |
[% L.input_tag('part.weight_as_number', SELF.part.weight_as_number, size=10, class='wi-small reformat_number numeric', size=10) %] |
|
189 |
[% END %] |
|
190 |
[% HTML.escape(INSTANCE_CONF.get_weightunit) %] |
|
191 |
</td> |
|
142 | 192 |
</tr> |
143 | 193 |
<tr> |
144 |
<th><label for="part_not_discountable">[% 'Not Discountable' | $T8 %]</label></th>
|
|
145 |
<td>[% L.checkbox_tag('part.not_discountable', checked = SELF.part.not_discountable, for_submit=1) %]</td>
|
|
194 |
<th>[% 'On Hand' | $T8 %]</th>
|
|
195 |
<td><span class="data wi-small numeric">[% LxERP.format_amount(SELF.part.onhand) %] [% SELF.part.unit | html %]</span></td>
|
|
146 | 196 |
</tr> |
147 | 197 |
<tr> |
148 |
<th>[% 'Business Volume' | $T8 %]</th> |
|
149 |
<td>[% L.input_tag("part.gv_as_number", SELF.part.gv_as_number, class='reformat_number numeric wi-mediumsmall', size=10) %]</td> |
|
198 |
<th>[% 'ROP' | $T8 %]</th> |
|
199 |
<td>[% L.input_tag("part.rop_as_number", SELF.part.rop_as_number, size=10, class='wi-small reformat_number numeric') %]</td> |
|
200 |
</tr> |
|
201 |
[% IF SELF.all_warehouses.size %] |
|
202 |
<tr> |
|
203 |
<th>[% 'Default Warehouse' | $T8 %]</th> |
|
204 |
<td>[% L.select_tag('part.warehouse_id', SELF.all_warehouses, default=SELF.part.warehouse.id, title_key='description', with_empty=1, class='wi-lightwide') %]</td> |
|
205 |
</tr> |
|
206 |
[% END %] |
|
207 |
<tr> |
|
208 |
<th>[% 'Default Bin' | $T8 %]</th> |
|
209 |
<td class="wi-lightwide"> |
|
210 |
<span id="bin" class="condensed"> |
|
211 |
[% IF SELF.part.warehouse.id %] |
|
212 |
[% L.select_tag('part.bin_id', SELF.part.warehouse.bins, default=SELF.part.bin.id, title_key='description', with_empty=0, class='wi-lightwide') %] |
|
213 |
[% END %] |
|
214 |
</span> |
|
215 |
</td> |
|
216 |
</tr> |
|
217 |
<tr> |
|
218 |
<th><label for="part_has_sernumber">[% 'Has serial number' | $T8 %]</label></th> |
|
219 |
<td>[% L.checkbox_tag('part.has_sernumber', checked = SELF.part.has_sernumber, for_submit=1) %]</td> |
|
150 | 220 |
</tr> |
151 | 221 |
</tbody> |
152 | 222 |
</table> |
223 |
[% END #/UNLESS SELF.part.is_service %] |
|
153 | 224 |
|
154 | 225 |
<table class="tbl-horizontal"> |
155 | 226 |
<caption>[% 'Formula' | $T8 %]</caption> |
... | ... | |
161 | 232 |
</tr> |
162 | 233 |
</tbody> |
163 | 234 |
</table> |
164 |
</div><!-- /.col --> |
|
165 |
|
|
166 |
<div class="col"> |
|
167 |
<div id="pricegroups"> |
|
168 |
[% PROCESS 'part/_pricegroup_prices.html' %] |
|
169 |
[% UNLESS SELF.part.is_service %] |
|
170 |
<table class="tbl-horizontal"> |
|
171 |
<caption>[% 'Warehouse' | $T8 %]</caption> |
|
172 |
<colgroup> |
|
173 |
<col class="wi-small"> |
|
174 |
<col class="wi-lightwide"> |
|
175 |
</colgroup> |
|
176 |
<tbody> |
|
177 |
<tr> |
|
178 |
<th>[% 'Weight' | $T8 %]</th> |
|
179 |
<td> |
|
180 |
[% IF SELF.part.is_assembly %] |
|
181 |
[% LxERP.format_amount(SELF.part.weight) %] |
|
182 |
[% ELSE %] |
|
183 |
[% L.input_tag('part.weight_as_number', SELF.part.weight_as_number, size=10, class='wi-small reformat_number numeric', size=10) %] |
|
184 |
[% END %] |
|
185 |
[% HTML.escape(INSTANCE_CONF.get_weightunit) %] |
|
186 |
</td> |
|
187 |
</tr> |
|
188 |
<tr> |
|
189 |
<th>[% 'On Hand' | $T8 %]</th> |
|
190 |
<td><span class="data wi-small numeric">[% LxERP.format_amount(SELF.part.onhand) %] [% SELF.part.unit | html %]</span></td> |
|
191 |
</tr> |
|
192 |
<tr> |
|
193 |
<th>[% 'ROP' | $T8 %]</th> |
|
194 |
<td>[% L.input_tag("part.rop_as_number", SELF.part.rop_as_number, size=10, class='wi-small reformat_number numeric') %]</td> |
|
195 |
</tr> |
|
196 |
[% IF SELF.all_warehouses.size %] |
|
197 |
<tr> |
|
198 |
<th>[% 'Default Warehouse' | $T8 %]</th> |
|
199 |
<td>[% L.select_tag('part.warehouse_id', SELF.all_warehouses, default=SELF.part.warehouse.id, title_key='description', with_empty=1, class='wi-lightwide') %]</td> |
|
200 |
</tr> |
|
201 |
[% END %] |
|
202 |
<tr> |
|
203 |
<th>[% 'Default Bin' | $T8 %]</th> |
|
204 |
<td class="wi-lightwide"> |
|
205 |
<span id="bin" class="condensed"> |
|
206 |
[% IF SELF.part.warehouse.id %] |
|
207 |
[% L.select_tag('part.bin_id', SELF.part.warehouse.bins, default=SELF.part.bin.id, title_key='description', with_empty=0, class='wi-lightwide') %] |
|
208 |
[% END %] |
|
209 |
</span> |
|
210 |
</td> |
|
211 |
</tr> |
|
212 |
<tr> |
|
213 |
<th><label for="part_has_sernumber">[% 'Has serial number' | $T8 %]</label></th> |
|
214 |
<td>[% L.checkbox_tag('part.has_sernumber', checked = SELF.part.has_sernumber, for_submit=1) %]</td> |
|
215 |
</tr> |
|
216 |
</tbody> |
|
217 |
</table> |
|
218 |
[% END #/UNLESS SELF.part.is_service %] |
|
219 |
</div><!-- /#pricegroups /.col --> |
|
220 | 235 |
|
221 | 236 |
<table id="ic6" class="tbl-horizontal"> |
222 | 237 |
<caption>[% 'Illustrations' | $T8 %]</caption> |
... | ... | |
224 | 239 |
<tbody> |
225 | 240 |
<tr> |
226 | 241 |
<th>[% 'Image' | $T8 %]</th> |
227 |
<td>[% L.input_tag("part.image", SELF.part.image, class='wi-lightwide', size=10) %]</td> |
|
242 |
<td>[% L.input_tag("part.image", SELF.part.image, class='wi-lightwide', size=10, |
|
243 |
"data-validate"="trimmed_whitespaces") %]</td> |
|
228 | 244 |
</tr> |
229 | 245 |
<tr> |
230 | 246 |
<th>[% 'Microfiche' | $T8 %]</th> |
231 |
<td>[% L.input_tag("part.microfiche", SELF.part.microfiche, class='wi-lightwide', size=10) %]</td> |
|
247 |
<td>[% L.input_tag("part.microfiche", SELF.part.microfiche, class='wi-lightwide', size=10, |
|
248 |
"data-validate"="trimmed_whitespaces") %]</td> |
|
232 | 249 |
</tr> |
233 | 250 |
<tr> |
234 | 251 |
<th>[% 'Drawing' | $T8 %]</th> |
235 |
<td>[% L.input_tag("part.drawing", SELF.part.drawing, class='wi-lightwide', size=10) %]</td> |
|
252 |
<td>[% L.input_tag("part.drawing", SELF.part.drawing, class='wi-lightwide', size=10, |
|
253 |
"data-validate"="trimmed_whitespaces") %]</td> |
|
236 | 254 |
</tr> |
237 | 255 |
</tbody> |
238 | 256 |
</table> |
239 | 257 |
</div><!-- /.col --> |
240 | 258 |
|
259 |
<div class="col"> |
|
260 |
<table class="tbl-horizontal"> |
|
261 |
<caption>[% 'Custom Variables' | $T8 %]</caption> |
|
262 |
<colgroup> <col class="wi-small"><col class="wi-mediumsmall"> </colgroup> |
|
263 |
<tbody> |
|
264 |
[% IF CUSTOM_VARIABLES_FIRST_TAB %] |
|
265 |
<tr><td>[% 'Unchecked custom variables will not appear in orders and invoices.' | $T8 %]</td></tr> |
|
266 |
[%- FOREACH var = CUSTOM_VARIABLES_FIRST_TAB %] |
|
267 |
<tr> |
|
268 |
<td align="left" valign="top">[% var.VALID_BOX %] |
|
269 |
[%- IF !var.partsgroup_filtered %] |
|
270 |
[% HTML.escape(var.description) %] |
|
271 |
[%- END %] |
|
272 |
</tr> |
|
273 |
<tr><td>[% var.HTML_CODE %]</td></tr> |
|
274 |
[%- END %] |
|
275 |
[% END %] |
|
276 |
</tbody> |
|
277 |
</table> |
|
278 |
</div><!-- /.col --> |
|
241 | 279 |
</div><!-- /.wrapper --> |
242 | 280 |
|
243 | 281 |
<div id="customerprices" class="wrapper"> |
Auch abrufbar als: Unified diff
Design 4.0 parts basic_html angepasst