Revision 6486630d
Von Bernd Bleßmann vor etwa 1 Jahr hinzugefügt
templates/design40_webpages/order/tabs/_price_sources_dialog.html | ||
---|---|---|
8 | 8 |
[% IF (FORM.type == "sales_order" || FORM.type == "sales_order_intake" || FORM.type == "sales_quotation") %] |
9 | 9 |
[% SET price_editable = AUTH.assert('sales_edit_prices', 1) %] |
10 | 10 |
[% END %] |
11 |
[% IF (FORM.type == "purchase_order" || FORM.type == "request_quotation" || FORM.type == "purchase_quotation_intake") %] |
|
11 |
[% IF (FORM.type == "purchase_order" || FORM.type == "purchase_order_confirmation" || FORM.type == "request_quotation" || FORM.type == "purchase_quotation_intake") %]
|
|
12 | 12 |
[% SET price_editable = AUTH.assert('purchase_edit_prices', 1) %] |
13 | 13 |
[% END %] |
14 | 14 |
[% SET exfactor = price_source.record.exchangerate ? 1 / price_source.record.exchangerate : 1 %] |
templates/design40_webpages/order/tabs/_row.html | ||
---|---|---|
55 | 55 |
[% L.hidden_tag("order.orderitems[].longdescription", ITEM.longdescription) %] |
56 | 56 |
[% L.button_tag("kivi.Order.show_longdescription_dialog(this)", LxERP.t8("L"), class="wi-tiny neutral") %] |
57 | 57 |
</td> |
58 |
[% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order") %] |
|
58 |
[% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order" || SELF.type == "purchase_order_confirmation") %]
|
|
59 | 59 |
<td> |
60 | 60 |
[%- L.div_tag(LxERP.format_amount(ITEM.shipped_qty, 2, 0) _ ' ' _ ITEM.unit, name="shipped_qty", class="numeric") %] |
61 | 61 |
</td> |
... | ... | |
96 | 96 |
[% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "sales_quotation") %] |
97 | 97 |
[% SET RIGHT_TO_EDIT_PRICES = AUTH.assert('sales_edit_prices', 1) %] |
98 | 98 |
[% END %] |
99 |
[% IF (SELF.type == "purchase_order" || SELF.type == "request_quotation" || SELF.type == "purchase_quotation_intake") %] |
|
99 |
[% IF (SELF.type == "purchase_order" || SELF.type == "purchase_order_confirmation" || SELF.type == "request_quotation" || SELF.type == "purchase_quotation_intake") %]
|
|
100 | 100 |
[% SET RIGHT_TO_EDIT_PRICES = AUTH.assert('purchase_edit_prices', 1) %] |
101 | 101 |
[% END %] |
102 | 102 |
<td> |
templates/design40_webpages/order/tabs/_second_row.html | ||
---|---|---|
7 | 7 |
<table> |
8 | 8 |
<tr> |
9 | 9 |
<td> |
10 |
[% IF (TYPE == "sales_order_intake" || TYPE == "sales_order" || TYPE == "purchase_order") %] |
|
10 |
[% IF (TYPE == "sales_order_intake" || TYPE == "sales_order" || TYPE == "purchase_order" || TYPE == "purchase_order_confirmation") %]
|
|
11 | 11 |
<b>[% 'Serial No.' | $T8 %]</b> [% L.input_tag("order.orderitems[].serialnumber", ITEM.serialnumber, size = 15, "data-validate"="trimmed_whitespaces") %] |
12 | 12 |
[% END %] |
13 | 13 |
<b>[% 'Project' | $T8 %]</b> [% P.project.picker("order.orderitems[].project_id", ITEM.project_id, size = 15) %] |
14 |
[% IF (TYPE == "sales_order_intake" || TYPE == "sales_order" || TYPE == "purchase_order") %] |
|
14 |
[% IF (TYPE == "sales_order_intake" || TYPE == "sales_order" || TYPE == "purchase_order" || TYPE == "purchase_order_confirmation") %]
|
|
15 | 15 |
<b>[% 'Reqdate' | $T8 %]</b> [% L.date_tag("order.orderitems[].reqdate_as_date", ITEM.reqdate_as_date) %] |
16 | 16 |
[% END %] |
17 | 17 |
<b>[% 'Subtotal' | $T8 %]</b> [% L.yes_no_tag("order.orderitems[].subtotal", ITEM.subtotal) %] |
templates/design40_webpages/order/tabs/basic_data.html | ||
---|---|---|
235 | 235 |
title_key='safe_name') %]</td> |
236 | 236 |
</tr> |
237 | 237 |
[% END %] |
238 |
[% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order") %] |
|
238 |
[% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order" || SELF.type == "purchase_order_confirmation") %]
|
|
239 | 239 |
<tr> |
240 | 240 |
<th>[% 'Order Number' | $T8 %]</th> |
241 | 241 |
<td> |
... | ... | |
258 | 258 |
<tr> |
259 | 259 |
<th>[% quo_nr_txt | $T8 %]</th> |
260 | 260 |
<td> |
261 |
[%- IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order") -%] |
|
261 |
[%- IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order" || SELF.type == "purchase_order_confirmation") -%]
|
|
262 | 262 |
[% L.input_tag('order.quonumber', SELF.order.quonumber, class='wi-normal') %] |
263 | 263 |
[%- ELSIF INSTANCE_CONF.get_sales_purchase_record_numbers_changeable %] |
264 | 264 |
[% L.input_tag('order.quonumber', SELF.order.quonumber, onchange='kivi.Order.set_number_in_title(this)', class='wi-normal') %] |
... | ... | |
270 | 270 |
[%- END %] |
271 | 271 |
</td> |
272 | 272 |
</tr> |
273 |
[% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order") %] |
|
273 |
[% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order" || SELF.type == "purchase_order_confirmation") %]
|
|
274 | 274 |
<tr> |
275 | 275 |
<th>[% 'Customer Order Number' | $T8 %]</th> |
276 | 276 |
<td>[% L.input_tag('order.cusordnumber', SELF.order.cusordnumber, class='wi-normal') %]</td> |
277 | 277 |
</tr> |
278 | 278 |
[% END %] |
279 |
[% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order") %] |
|
279 |
[% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order" || SELF.type == "purchase_order_confirmation") %]
|
|
280 | 280 |
[% SET transdate_txt = 'Order Date' %] |
281 | 281 |
[% ELSIF (SELF.type == "sales_quotation" || SELF.type == "purchase_quotation_intake") %] |
282 | 282 |
[% SET transdate_txt = 'Quotation Date' %] |
... | ... | |
291 | 291 |
<th>[% 'Tax point' | $T8 %]</th> |
292 | 292 |
<td>[% L.date_tag('order.tax_point_as_date', SELF.order.tax_point_as_date, class='wi-date recalc') %]</td> |
293 | 293 |
</tr> |
294 |
[% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order") %] |
|
294 |
[% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order" || SELF.type == "purchase_order_confirmation") %]
|
|
295 | 295 |
[% SET reqdate_txt = 'Reqdate'; SET reqdate_class = 'recalc' %] |
296 | 296 |
[% ELSIF SELF.type == "sales_quotation" %] |
297 | 297 |
[% SET reqdate_txt = 'Valid until'; SET reqdate_class = '' %] |
... | ... | |
360 | 360 |
[%- END -%] |
361 | 361 |
<th id="partclass_header_id">[% 'Type' | $T8 %]</th> |
362 | 362 |
<th id="description_header_id"><a href='#' onClick='javascript:kivi.Order.reorder_items("description")'>[% 'Description' | $T8 %]</a></th> |
363 |
[%- IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order") -%] |
|
363 |
[%- IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order" || SELF.type == "purchase_order_confirmation") -%]
|
|
364 | 364 |
<th id="shipped_qty_header_id"><a href='#' onClick='javascript:kivi.Order.reorder_items("shipped_qty")'>[% 'Delivered' | $T8 %]</a></th> |
365 | 365 |
[%- END -%] |
366 | 366 |
<th id="qty_header_id"><a href='#' onClick='javascript:kivi.Order.reorder_items("qty")'> [% 'Qty' | $T8 %]</a></th> |
Auch abrufbar als: Unified diff
Lieferantenauftragsbestätigung: design40: Maske