Revision 6df2731c
Von Tamino Steinert vor fast 2 Jahren hinzugefügt
templates/design40_webpages/reclamation/tabs/basic_data/_item_input.html | ||
---|---|---|
[%- USE T8 %][%- USE HTML %][%- USE LxERP %][%- USE L %][%- USE P %]
|
||
|
||
[%- USE T8 %]
|
||
[%- USE HTML %]
|
||
[%- USE LxERP %]
|
||
[%- USE L %][%- USE P %]
|
||
|
||
<div class="wrapper panel-wrapper">
|
||
<div class="input-panel control-panel">
|
||
... | ... | |
<span class="label above">[% 'Part' | $T8 %] </span>
|
||
[%- SET PARAM_KEY = SELF.cv == "customer" ? 'with_customer_partnumber' : 'with_makemodel' -%]
|
||
[%- SET PARAM_VAL = SELF.search_cvpartnumber -%]
|
||
[% P.part.picker('add_item.parts_id', SELF.created_part, style='width: 300px', class="add_item_input",
|
||
[% P.part.picker('add_item.parts_id', SELF.created_part, class="add_item_input wi-normal",
|
||
fat_set_item=1,
|
||
multiple_pos_input=1,
|
||
action={set_multi_items='kivi.Reclamation.add_multi_items'},
|
||
classification_id=SELF.part_picker_classification_ids.as_list.join(','),
|
||
$PARAM_KEY=PARAM_VAL) %]</td>
|
||
<td>
|
||
<span class="label above">[% 'Description' | $T8 %] </span>
|
||
[% L.input_tag('add_item.description', SELF.created_part.description, class="add_item_input wi-normal") %]
|
||
</td>
|
||
<td>
|
||
<span class="label above">[% 'Qty' | $T8 %]</span>
|
||
[% L.input_tag('add_item.description', SELF.created_part.description, class="add_item_input wi-verysmall") %]
|
||
[% L.input_tag('add_item.qty_as_number', '', placeholder="1", class="add_item_input numeric wi-verysmall") %]
|
||
[% L.hidden_tag('add_item.unit', SELF.created_part.unit, class="add_item_input") %]
|
||
</td>
|
||
[%- SET price = LxERP.format_amount(((SELF.type == 'sales_reclamation') ? SELF.created_part.sellprice : SELF.created_part.lastcost), -2) -%]
|
||
[%- SET price = '' %]
|
||
[%- IF SELF.created_part %]
|
||
[%- SET price = LxERP.format_amount(((SELF.type == 'sales_reclamation') ? SELF.created_part.sellprice : SELF.created_part.lastcost), -2) -%]
|
||
[%- END %]
|
||
<td>
|
||
<span class="label above">[% 'Price' | $T8 %]</span>
|
||
[% L.input_tag('add_item.sellprice_as_number', price, class="add_item_input numeric wi-verysmall") %]
|
||
</td>
|
||
<td>
|
||
<span class="label above">[% 'Discount' | $T8 %]</span>
|
||
[% L.input_tag('add_item.discount_as_percent', '', class="add_item_input numeric wi-verysmall") %]
|
||
[% L.input_tag('add_item.discount_as_percent', '', class="add_item_input numeric wi-smallest") %]
|
||
</td>
|
||
<td style="vertical-align:bottom;">
|
||
[% L.button_tag('kivi.Reclamation.add_item()', LxERP.t8('Add part')) %]
|
Auch abrufbar als: Unified diff
Reclamation: FIX: Artikeleingabe