Revision 26a7b7af
Von Bernd Bleßmann vor fast 9 Jahren hinzugefügt
templates/webpages/order/tabs/_item_input.html | ||
---|---|---|
17 | 17 |
<td>[% L.part_picker('add_item.parts_id', '', fat_set_item=1, style='width: 300px', class="add_item_input") %]</td> |
18 | 18 |
<td>[% L.input_tag('add_item.description', '', class="add_item_input") %]</td> |
19 | 19 |
<td> |
20 |
[% L.input_tag('add_item.qty_as_number', '', size = 5, style='text-align:right', class="add_item_input") %]
|
|
20 |
[% L.input_tag('add_item.qty_as_number', '', size = 5, class="add_item_input numeric") %]
|
|
21 | 21 |
[% L.hidden_tag('add_item.unit', '', class="add_item_input") %] |
22 | 22 |
</td> |
23 |
<td>[% L.input_tag('add_item.sellprice_as_number', '', size = 10, style='text-align:right', class="add_item_input") %]</td>
|
|
24 |
<td>[% L.input_tag('add_item.discount_as_percent', '', size = 5, style='text-align:right', class="add_item_input") %]</td>
|
|
23 |
<td>[% L.input_tag('add_item.sellprice_as_number', '', size = 10, class="add_item_input numeric") %]</td>
|
|
24 |
<td>[% L.input_tag('add_item.discount_as_percent', '', size = 5, class="add_item_input numeric") %]</td>
|
|
25 | 25 |
<td>[% L.button_tag('add_item()', LxERP.t8('Add part')) %]</td> |
26 | 26 |
</tr> |
27 | 27 |
</tbody> |
templates/webpages/order/tabs/_multi_items_result.html | ||
---|---|---|
3 | 3 |
<table width="100%"> |
4 | 4 |
<tr> |
5 | 5 |
<td>[% 'for all' | $T8 %] |
6 |
<td>[% L.input_tag("multi_items.all_qty", '', size = 5, style='text-align:right') %]</td>
|
|
6 |
<td>[% L.input_tag("multi_items.all_qty", '', size = 5, class='numeric') %]</td>
|
|
7 | 7 |
</tr> |
8 | 8 |
<tr> |
9 | 9 |
<td colspan="5"><hr></td> |
... | ... | |
13 | 13 |
<td></td> |
14 | 14 |
<td> |
15 | 15 |
[% L.hidden_tag("add_multi_items[+].parts_id", item.id) %] |
16 |
[% L.input_tag("add_multi_items[].qty_as_number", '', size = 5, style='text-align:right',
|
|
17 |
class = 'multi_items_qty', onclick = 'set_qty_to_one(this)') %] |
|
16 |
[% L.input_tag("add_multi_items[].qty_as_number", '', size = 5, |
|
17 |
class = 'multi_items_qty numeric', onclick = 'set_qty_to_one(this)') %]
|
|
18 | 18 |
</td> |
19 | 19 |
<td>[% HTML.escape(item.unit) %]</td> |
20 | 20 |
<td>[% HTML.escape(item.partnumber) %]</td> |
templates/webpages/order/tabs/_row.html | ||
---|---|---|
31 | 31 |
[%- L.input_tag("order.orderitems[].qty_as_number", |
32 | 32 |
ITEM.qty_as_number, |
33 | 33 |
size = 5, |
34 |
style='text-align:right', |
|
35 |
class="recalc reformat_number") %] |
|
34 |
class="recalc reformat_number numeric") %] |
|
36 | 35 |
</td> |
37 | 36 |
<td> |
38 | 37 |
[%- L.input_tag("order.orderitems[].price_factor", |
39 | 38 |
ITEM.price_factor, |
40 | 39 |
size = 5, |
41 |
style='text-align:right', |
|
42 |
class="recalc") %] |
|
40 |
class="recalc numeric") %] |
|
43 | 41 |
</td> |
44 | 42 |
<td nowrap> |
45 | 43 |
[%- L.select_tag("order.orderitems[].unit", |
... | ... | |
57 | 55 |
<td> |
58 | 56 |
[%- L.hidden_tag("order.orderitems[].active_price_source", ITEM.active_price_source.source) %] |
59 | 57 |
[%- SET EDIT_PRICE = (AUTH.assert('edit_prices', 1) && ITEM.active_price_source.source == '') %] |
60 |
<div name="editable_price" [%- IF !EDIT_PRICE %]style="display:none"[%- END %]> |
|
58 |
<div name="editable_price" [%- IF !EDIT_PRICE %]style="display:none"[%- END %] class="numeric">
|
|
61 | 59 |
[%- L.input_tag("order.orderitems[].sellprice_as_number", |
62 | 60 |
ITEM.sellprice_as_number, |
63 | 61 |
size = 10, |
64 |
style='text-align:right', |
|
65 | 62 |
disabled=(EDIT_PRICE? '' : 1), |
66 |
class="recalc reformat_number") %] |
|
63 |
class="recalc reformat_number numeric") %]
|
|
67 | 64 |
</div> |
68 | 65 |
<div name="not_editable_price" [%- IF EDIT_PRICE %]style="display:none"[%- END %]> |
69 |
[%- L.div_tag(ITEM.sellprice_as_number, name="sellprice_text", style='text-align:right') %]
|
|
66 |
[%- L.div_tag(ITEM.sellprice_as_number, name="sellprice_text", class="numeric") %]
|
|
70 | 67 |
[%- L.hidden_tag("order.orderitems[].sellprice_as_number", |
71 | 68 |
ITEM.sellprice_as_number, |
72 | 69 |
disabled=(EDIT_PRICE? 1 : '')) %] |
... | ... | |
75 | 72 |
<td> |
76 | 73 |
[%- L.hidden_tag("order.orderitems[].active_discount_source", ITEM.active_discount_source.source) %] |
77 | 74 |
[%- SET EDIT_DISCOUNT = (AUTH.assert('edit_prices', 1) && ITEM.active_discount_source.source == '') %] |
78 |
<div name="editable_discount" [%- IF !EDIT_DISCOUNT %]style="display:none"[%- END %]> |
|
75 |
<div name="editable_discount" [%- IF !EDIT_DISCOUNT %]style="display:none"[%- END %] class="numeric">
|
|
79 | 76 |
[%- L.input_tag("order.orderitems[].discount_as_percent", |
80 | 77 |
ITEM.discount_as_percent, |
81 | 78 |
size = 5, |
82 |
style='text-align:right', |
|
83 | 79 |
disabled=(EDIT_DISCOUNT? '' : 1), |
84 |
class="recalc reformat_number") %] |
|
80 |
class="recalc reformat_number numeric") %]
|
|
85 | 81 |
</div> |
86 | 82 |
<div name="not_editable_discount" [%- IF EDIT_DISCOUNT %]style="display:none"[%- END %]> |
87 |
[%- L.div_tag(ITEM.discount_as_percent, name="discount_text", style='text-align:right') %]
|
|
83 |
[%- L.div_tag(ITEM.discount_as_percent, name="discount_text", class="numeric") %]
|
|
88 | 84 |
[%- L.hidden_tag("order.orderitems[].discount_as_percent", |
89 | 85 |
ITEM.discount_as_percent, |
90 | 86 |
disabled=(EDIT_DISCOUNT? 1 : '')) %] |
Auch abrufbar als: Unified diff
Auftrags-Controller: Preis und Rabatt immer rechtsbündig.