Revision c10785d0
Von Bernd Bleßmann vor fast 2 Jahren hinzugefügt
templates/design40_webpages/order/tabs/_second_row.html | ||
---|---|---|
12 | 12 |
[% END %] |
13 | 13 |
<b>[% 'Project' | $T8 %]</b> [% P.project.picker("order.orderitems[].project_id", ITEM.project_id, size = 15) %] |
14 | 14 |
[% IF (TYPE == "sales_order" || TYPE == "purchase_order") %] |
15 |
<b>[% 'Reqdate' | $T8 %]</b> [% L.date_tag("order.orderitems[].reqdate_as_date", ITEM.reqdate_as_date) %]
|
|
15 |
<b>[% 'Reqdate' | $T8 %]</b> [% L.date_tag("order.orderitems[].reqdate_as_date", ITEM.reqdate_as_date) %] |
|
16 | 16 |
[% END %] |
17 |
<b>[% 'Subtotal' | $T8 %]</b> [% L.yes_no_tag("order.orderitems[].subtotal", ITEM.subtotal) %]
|
|
17 |
<b>[% 'Subtotal' | $T8 %]</b> [% L.yes_no_tag("order.orderitems[].subtotal", ITEM.subtotal) %] |
|
18 | 18 |
[% IF (TYPE == "sales_order" || TYPE == "sales_quotation") %] |
19 |
<b>[% 'Ertrag' | $T8 %]</b>
|
|
19 |
<b>[% 'Ertrag' | $T8 %]</b> |
|
20 | 20 |
<span name="linemargin"> |
21 | 21 |
<span[% IF ITEM.marge_total < 0 %] class="plus0"[% END %]> |
22 |
[% LxERP.format_amount(ITEM.marge_total, 2, 0) %]
|
|
22 |
[% LxERP.format_amount(ITEM.marge_total, 2, 0) %] |
|
23 | 23 |
[% LxERP.format_amount(ITEM.marge_percent, 2, 0) %]% |
24 | 24 |
</span> |
25 |
</span>
|
|
26 |
<b> [% 'LP' | $T8 %]</b>
|
|
27 |
[% LxERP.format_amount(ITEM.part.listprice, 2, 0) %]
|
|
28 |
<b>[% 'EK' | $T8 %]</b>
|
|
25 |
</span>
|
|
26 |
<b> [% 'LP' | $T8 %]</b> |
|
27 |
[% LxERP.format_amount(ITEM.part.listprice, 2, 0) %] |
|
28 |
<b>[% 'EK' | $T8 %]</b> |
|
29 | 29 |
[% L.input_tag("order.orderitems[].lastcost_as_number", |
30 | 30 |
ITEM.lastcost_as_number, |
31 | 31 |
size = 5, |
32 |
class="recalc reformat_number numeric") %]
|
|
32 |
class="recalc reformat_number numeric") %] |
|
33 | 33 |
[% END %] |
34 |
<b>[% 'On Hand' | $T8 %]</b>
|
|
34 |
<b>[% 'On Hand' | $T8 %]</b> |
|
35 | 35 |
<span[% IF ITEM.part.onhand < ITEM.part.rop %] class="plus0"[% END %]> |
36 | 36 |
[% LxERP.format_amount(ITEM.part.onhand_as_number, 2, 0) %] [% ITEM.part.unit %] |
37 |
</span>
|
|
37 |
</span> |
|
38 | 38 |
</td> |
39 | 39 |
</tr> |
40 | 40 |
<tr> |
... | ... | |
43 | 43 |
[% NEXT UNLESS (var.config.processed_flags.editable && ITEM.part.cvar_by_name(var.config.name).is_valid) %] |
44 | 44 |
[% SET n = n + 1 %] |
45 | 45 |
<td> |
46 |
<b>[% var.config.description %]</b>
|
|
46 |
<b>[% var.config.description %]</b>
|
|
47 | 47 |
[% L.hidden_tag('order.orderitems[].custom_variables[+].config_id', var.config.id) %] |
48 | 48 |
[% L.hidden_tag('order.orderitems[].custom_variables[].id', var.id) %] |
49 | 49 |
[% L.hidden_tag('order.orderitems[].custom_variables[].sub_module', var.sub_module) %] |
Auch abrufbar als: Unified diff
Design 4.0: Kosmetik: Template Auftrags-Controller: zweite Zeile: …
keine Tabultoren / keine Leerzeichen am Zeilenende.