X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/4a89a4204d58f6c3f1f2e921b90f9c8927a26020..b90ff6b18df92c98b1b875d14835d1fdf9ff339a:/templates/webpages/do/form_header.html diff --git a/templates/webpages/do/form_header.html b/templates/webpages/do/form_header.html index 9ff8e98a1..bee0ee6c4 100644 --- a/templates/webpages/do/form_header.html +++ b/templates/webpages/do/form_header.html @@ -169,6 +169,16 @@ + [%- IF (vc == 'customer') && VC_OBJ.additional_billing_addresses.as_list.size %] + + [% 'Custom Billing Address' | $T8 %] + + [% L.select_tag('billing_address_id', VC_OBJ.additional_billing_addresses, + with_empty=1, default=billing_address_id, value_key='id', title_key='displayable_id', style='width: 250px') %] + + + [%- END %] + [%- IF business %] [% IF is_customer %][% 'Customer type' | $T8 %][% ELSE %][% 'Vendor type' | $T8 %][% END %] @@ -293,7 +303,16 @@ [% 'Delivery Order Number' | $T8 %] - + +[%- IF !is_customer || INSTANCE_CONF.get_sales_purchase_record_numbers_changeable %] + [% L.input_tag("donumber", donumber, size="11", readonly=delivered) %] +[%- ELSIF id %] + [% HTML.escape(donumber) %] + [% L.hidden_tag("donumber", donumber) %] +[%- ELSE %] + [% LxERP.t8("will be set upon saving") %] +[%- END %] +