Revision 6df2731c
Von Tamino Steinert vor fast 2 Jahren hinzugefügt
templates/design40_webpages/reclamation/tabs/basic_data/_item_input.html | ||
---|---|---|
1 |
[%- USE T8 %][%- USE HTML %][%- USE LxERP %][%- USE L %][%- USE P %] |
|
2 |
|
|
1 |
[%- USE T8 %] |
|
2 |
[%- USE HTML %] |
|
3 |
[%- USE LxERP %] |
|
4 |
[%- USE L %][%- USE P %] |
|
3 | 5 |
|
4 | 6 |
<div class="wrapper panel-wrapper"> |
5 | 7 |
<div class="input-panel control-panel"> |
... | ... | |
15 | 17 |
<span class="label above">[% 'Part' | $T8 %] </span> |
16 | 18 |
[%- SET PARAM_KEY = SELF.cv == "customer" ? 'with_customer_partnumber' : 'with_makemodel' -%] |
17 | 19 |
[%- SET PARAM_VAL = SELF.search_cvpartnumber -%] |
18 |
[% P.part.picker('add_item.parts_id', SELF.created_part, style='width: 300px', class="add_item_input",
|
|
20 |
[% P.part.picker('add_item.parts_id', SELF.created_part, class="add_item_input wi-normal",
|
|
19 | 21 |
fat_set_item=1, |
20 | 22 |
multiple_pos_input=1, |
21 | 23 |
action={set_multi_items='kivi.Reclamation.add_multi_items'}, |
22 | 24 |
classification_id=SELF.part_picker_classification_ids.as_list.join(','), |
23 | 25 |
$PARAM_KEY=PARAM_VAL) %]</td> |
26 |
<td> |
|
27 |
<span class="label above">[% 'Description' | $T8 %] </span> |
|
28 |
[% L.input_tag('add_item.description', SELF.created_part.description, class="add_item_input wi-normal") %] |
|
29 |
</td> |
|
24 | 30 |
<td> |
25 | 31 |
<span class="label above">[% 'Qty' | $T8 %]</span> |
26 |
[% L.input_tag('add_item.description', SELF.created_part.description, class="add_item_input wi-verysmall") %] |
|
32 |
[% L.input_tag('add_item.qty_as_number', '', placeholder="1", class="add_item_input numeric wi-verysmall") %] |
|
33 |
[% L.hidden_tag('add_item.unit', SELF.created_part.unit, class="add_item_input") %] |
|
27 | 34 |
</td> |
28 |
[%- SET price = LxERP.format_amount(((SELF.type == 'sales_reclamation') ? SELF.created_part.sellprice : SELF.created_part.lastcost), -2) -%] |
|
35 |
[%- SET price = '' %] |
|
36 |
[%- IF SELF.created_part %] |
|
37 |
[%- SET price = LxERP.format_amount(((SELF.type == 'sales_reclamation') ? SELF.created_part.sellprice : SELF.created_part.lastcost), -2) -%] |
|
38 |
[%- END %] |
|
29 | 39 |
<td> |
30 | 40 |
<span class="label above">[% 'Price' | $T8 %]</span> |
31 | 41 |
[% L.input_tag('add_item.sellprice_as_number', price, class="add_item_input numeric wi-verysmall") %] |
32 | 42 |
</td> |
33 | 43 |
<td> |
34 | 44 |
<span class="label above">[% 'Discount' | $T8 %]</span> |
35 |
[% L.input_tag('add_item.discount_as_percent', '', class="add_item_input numeric wi-verysmall") %]
|
|
45 |
[% L.input_tag('add_item.discount_as_percent', '', class="add_item_input numeric wi-smallest") %]
|
|
36 | 46 |
</td> |
37 | 47 |
<td style="vertical-align:bottom;"> |
38 | 48 |
[% L.button_tag('kivi.Reclamation.add_item()', LxERP.t8('Add part')) %] |
Auch abrufbar als: Unified diff
Reclamation: FIX: Artikeleingabe