Revision be74820d
Von Hans P. Schlaepfer vor fast 4 Jahren hinzugefügt
templates/webpages/order/tabs/_item_input.html | ||
---|---|---|
4 | 4 |
[% USE L %] |
5 | 5 |
[% USE P %] |
6 | 6 |
|
7 |
<div> |
|
8 |
<table id="input_row_table_id"> |
|
9 |
<thead> |
|
10 |
<tr class="listheading"> |
|
11 |
<th class="listheading" nowrap >[%- 'position' | $T8 %] </th> |
|
12 |
<th class="listheading" nowrap >[%- 'Part' | $T8 %] </th> |
|
13 |
<th class="listheading" nowrap >[%- 'Description' | $T8 %] </th> |
|
14 |
<th class="listheading" nowrap width="5" >[%- 'Qty' | $T8 %] </th> |
|
15 |
<th class="listheading" nowrap width="15">[%- 'Price' | $T8 %] </th> |
|
16 |
<th class="listheading" nowrap width="5" >[%- 'Discount' | $T8 %] </th> |
|
17 |
<th></th> |
|
18 |
</tr> |
|
19 |
</thead> |
|
7 |
<div class="wrapper"> |
|
8 |
<div class="input-panel control-panel"> |
|
9 |
<table id="input_row_table_id" class="tbl-plain condensed"> |
|
10 |
<caption>[% 'Add Parts here!' | $T8 %]</caption> |
|
20 | 11 |
<tbody> |
21 |
<tr valign="top" class="listrow"> |
|
22 |
<td>[% L.input_tag('add_item.position', '', size = 5, class="add_item_input numeric") %]</td> |
|
12 |
<tr> |
|
13 |
<td> |
|
14 |
<span class="label above">[% 'position' | $T8 %] </span> |
|
15 |
[% L.input_tag('add_item.position', '', size = 5, class="add_item_input numeric") %] |
|
16 |
</td> |
|
23 | 17 |
<td> |
18 |
<span class="label above">[% 'Part' | $T8 %] </span> |
|
24 | 19 |
[%- SET PARAM_KEY = SELF.cv == "customer" ? 'with_customer_partnumber' : 'with_makemodel' -%] |
25 | 20 |
[%- SET PARAM_VAL = SELF.search_cvpartnumber -%] |
26 |
[% P.part.picker('add_item.parts_id', '', style='width: 300px', class="add_item_input", |
|
27 |
fat_set_item=1, |
|
28 |
multiple_pos_input=1, |
|
29 |
action={set_multi_items='kivi.Order.add_multi_items'}, |
|
30 |
$PARAM_KEY=PARAM_VAL) %]</td> |
|
31 |
<td>[% L.input_tag('add_item.description', '', class="add_item_input") %]</td> |
|
21 |
[% P.part.picker('add_item.parts_id', '', class="add_item_input wi-normal", |
|
22 |
fat_set_item=1, |
|
23 |
multiple_pos_input=1, |
|
24 |
action={set_multi_items='kivi.Order.add_multi_items'}, |
|
25 |
$PARAM_KEY=PARAM_VAL) %] |
|
26 |
</td> |
|
27 |
<td> |
|
28 |
<span class="label above">[% 'Description' | $T8 %] </span> |
|
29 |
[% L.input_tag('add_item.description', '', class="add_item_input wi-normal") %] |
|
30 |
</td> |
|
32 | 31 |
<td> |
33 |
[% L.input_tag('add_item.qty_as_number', '', size = 5, class="add_item_input numeric") %] |
|
32 |
<span class="label above">[% 'Qty' | $T8 %]</span> |
|
33 |
[% L.input_tag('add_item.qty_as_number', '', class="add_item_input numeric wi-verysmall") %] |
|
34 | 34 |
[% L.hidden_tag('add_item.unit', '', class="add_item_input") %] |
35 | 35 |
</td> |
36 |
<td>[% L.input_tag('add_item.sellprice_as_number', '', size = 10, class="add_item_input numeric") %]</td> |
|
37 |
<td>[% L.input_tag('add_item.discount_as_percent', '', size = 5, class="add_item_input numeric") %]</td> |
|
38 |
<td>[% L.button_tag('kivi.Order.add_item()', LxERP.t8('Add part')) %]</td> |
|
36 |
<td> |
|
37 |
<span class="label above">[% 'Price' | $T8 %]</span> |
|
38 |
[% L.input_tag('add_item.sellprice_as_number', '', class="add_item_input numeric wi-verysmall") %] |
|
39 |
</td> |
|
40 |
<td> |
|
41 |
<span class="label above">[% 'Discount' | $T8 %]</span> |
|
42 |
[% L.input_tag('add_item.discount_as_percent', '', class="add_item_input numeric wi-smallest") %] |
|
43 |
</td> |
|
44 |
<td style="vertical-align:bottom;">[% L.button_tag('kivi.Order.add_item()', LxERP.t8('Add part'), style='margin:0;') %]</td> |
|
39 | 45 |
</tr> |
40 | 46 |
</tbody> |
41 | 47 |
</table> |
42 |
</div> |
|
48 |
<div style="clear:both">[% L.button_tag('kivi.Order.show_multi_items_dialog()', LxERP.t8('Add multiple items'), class='neutral') %]</div> |
|
49 |
|
|
50 |
</div><!-- /.entry-panel --> |
|
51 |
</div><!-- /.wrapper --> |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/order/tabs/_item_input.html
Felder zusammengelegt, darum ein wenig verwirrend