alt=LxERP.t8('Show details'), title=LxERP.t8('Show details'), class="expand") %]
[%- END %]
[% L.hidden_tag("orderitem_ids[+]", ID) %]
- [% L.hidden_tag("converted_from_orderitems_ids[+]", ITEM.converted_from_orderitems_id) %]
+ [% L.hidden_tag("converted_from_record_item_type_ref[+]", ITEM.converted_from_record_item_type_ref) %]
+ [% L.hidden_tag("converted_from_record_item_id[+]", ITEM.converted_from_record_item_id) %]
[% L.hidden_tag("order.orderitems[+].id", ITEM.id, id='item_' _ ID) %]
[% L.hidden_tag("order.orderitems[].parts_id", ITEM.parts_id) %]
+ [% L.hidden_tag("purchase_basket_item_ids[+]", ITEM.purchase_basket_item_ids) %]
</td>
<td>
<div name="position" class="numeric">
[%- L.hidden_tag("order.orderitems[].longdescription", ITEM.longdescription) %]
[%- L.button_tag("kivi.Order.show_longdescription_dialog(this)", LxERP.t8("L")) %]
</td>
- [%- IF (SELF.type == "sales_order" || SELF.type == "purchase_order") -%]
+ [%- IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "purchase_order" || SELF.type == "purchase_order_confirmation") -%]
<td nowrap>
[%- L.div_tag(LxERP.format_amount(ITEM.shipped_qty, 2, 0) _ ' ' _ ITEM.unit, name="shipped_qty", class="numeric") %]
</td>
name = "price_chooser_button") %]
</td>
[% SET RIGHT_TO_EDIT_PRICES = 0 %]
- [% IF (SELF.type == "sales_order" || SELF.type == "sales_quotation") %]
+ [% IF (SELF.type == "sales_order_intake" || SELF.type == "sales_order" || SELF.type == "sales_quotation") %]
[% SET RIGHT_TO_EDIT_PRICES = AUTH.assert('sales_edit_prices', 1) %]
[% END %]
- [% IF (SELF.type == "purchase_order" || SELF.type == "request_quotation") %]
+ [% IF (SELF.type == "purchase_order" || SELF.type == "purchase_order_confirmation" || SELF.type == "request_quotation" || SELF.type == "purchase_quotation_intake") %]
[% SET RIGHT_TO_EDIT_PRICES = AUTH.assert('purchase_edit_prices', 1) %]
[% END %]
<td>