X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/677f0dd53d5f964fb4e69eaf7236ffb6a830568b..b293ff8ad52fc76ba0c44783e3982418114d6b08:/templates/webpages/order/tabs/basic_data.html diff --git a/templates/webpages/order/tabs/basic_data.html b/templates/webpages/order/tabs/basic_data.html index 96ef3e79b..431490204 100644 --- a/templates/webpages/order/tabs/basic_data.html +++ b/templates/webpages/order/tabs/basic_data.html @@ -17,6 +17,7 @@ [% P.customer_vendor.picker("order.${SELF.cv}" _ '_id', SELF.order.$cv_id, type=SELF.cv, style='width: 300px') %] [% P.button_tag("kivi.Order.show_vc_details_dialog()", LxERP.t8("Details (one letter abbreviation)")) %] + [% P.link_tag(SELF.url_for(controller='CustomerVendor', action='edit', 'id'=SELF.order.$cv_id, 'db'=SELF.cv), LxERP.t8('Edit'), target="_blank", title=LxERP.t8('Open in new window')) %] @@ -51,6 +52,21 @@ + [%- IF SELF.cv == "customer" %] + + [% 'Custom Billing Address' | $T8 %] + + [% L.select_tag('order.billing_address_id', + SELF.order.customer.additional_billing_addresses, + default=SELF.order.billing_address_id, + title_key='displayable_id', + value_key='id', + with_empty=1, + style='width: 300px') %] + + + [%- END %] + [%- PROCESS order/tabs/_business_info_row.html SELF=SELF %]