Revision d8f07f96
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', '', fat_set_item=1, style='width: 300px', class="add_item_input", $PARAM_KEY=PARAM_VAL) %]</td> |
|
27 |
<td>[% L.input_tag('add_item.description', '', class="add_item_input") %]</td> |
|
21 |
[% P.part.picker('add_item.parts_id', '', fat_set_item=1, class="add_item_input wi-normal", $PARAM_KEY=PARAM_VAL) %] |
|
22 |
</td> |
|
23 |
<td> |
|
24 |
<span class="label above">[% 'Description' | $T8 %] </span> |
|
25 |
[% L.input_tag('add_item.description', '', class="add_item_input wi-normal") %] |
|
26 |
</td> |
|
28 | 27 |
<td> |
29 |
[% L.input_tag('add_item.qty_as_number', '', size = 5, class="add_item_input numeric") %] |
|
28 |
<span class="label above">[% 'Qty' | $T8 %]</span> |
|
29 |
[% L.input_tag('add_item.qty_as_number', '', class="add_item_input numeric wi-verysmall") %] |
|
30 | 30 |
[% L.hidden_tag('add_item.unit', '', class="add_item_input") %] |
31 | 31 |
</td> |
32 |
<td>[% L.input_tag('add_item.sellprice_as_number', '', size = 10, class="add_item_input numeric") %]</td> |
|
33 |
<td>[% L.input_tag('add_item.discount_as_percent', '', size = 5, class="add_item_input numeric") %]</td> |
|
34 |
<td>[% L.button_tag('kivi.Order.add_item()', LxERP.t8('Add part')) %]</td> |
|
32 |
<td> |
|
33 |
<span class="label above">[% 'Price' | $T8 %]</span> |
|
34 |
[% L.input_tag('add_item.sellprice_as_number', '', class="add_item_input numeric wi-verysmall") %] |
|
35 |
</td> |
|
36 |
<td> |
|
37 |
<span class="label above">[% 'Discount' | $T8 %]</span> |
|
38 |
[% L.input_tag('add_item.discount_as_percent', '', class="add_item_input numeric wi-smallest") %] |
|
39 |
</td> |
|
40 |
<td style="vertical-align:bottom;">[% L.button_tag('kivi.Order.add_item()', LxERP.t8('Add part'), style='margin:0;') %]</td> |
|
35 | 41 |
</tr> |
36 | 42 |
</tbody> |
37 | 43 |
</table> |
38 |
</div> |
|
44 |
<div style="clear:both">[% L.button_tag('kivi.Order.show_multi_items_dialog()', LxERP.t8('Add multiple items'), class='neutral') %]</div> |
|
45 |
|
|
46 |
</div><!-- /.entry-panel --> |
|
47 |
</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