[% 'Customer' | $T8 %] |
- [% P.customer_vendor_picker("customer_id", customer_id, type="customer", style="width: 250px", class="initial_focus") %]
+ [% P.customer_vendor.picker("customer_id", customer_id, type="customer", style="width: 250px", class="initial_focus", onchange="\$('#update_button').click()") %]
[% L.button_tag("show_vc_details('customer')", LxERP.t8('Details (one letter abbreviation)')) %]
+ [% P.link_tag('controller.pl?action=CustomerVendor/edit&db=customer&id=' _ customer_id, LxERP.t8('Edit'), target="_blank", title=LxERP.t8('Open in new window')) %]
[% L.hidden_tag("previous_customer_id", customer_id) %]
-
+ [% L.hidden_tag("customer_pricegroup_id", customer_pricegroup_id) %]
|
[%- IF ALL_CONTACTS.size %]
@@ -68,16 +69,27 @@
[%- END %]
-[%- IF ALL_SHIPTO.size %]
[% 'Shipping Address' | $T8 %] |
+ [%- IF ALL_SHIPTO.size %]
[% shiptos = [ [ "", LxERP.t8("No/individual shipping address") ] ] ;
L.select_tag('shipto_id', shiptos.import(ALL_SHIPTO), default=shipto_id, value_key='shipto_id', title_key='displayable_id', style='width: 250px') %]
-
+ [%- END %]
+ [% L.button_tag("kivi.SalesPurchase.edit_custom_shipto()", LxERP.t8("Custom shipto")) %]
+ |
+
+
+[%- IF customer_obj.additional_billing_addresses.as_list.size %]
+