- [% 'Basic Data' | $T8 %]
[%- IF id %]
+ [%- IF INSTANCE_CONF.get_doc_storage %]
+ - [% 'Attachments' | $T8 %]
+ [%- END %]
[% IF AUTH.assert('record_links', 1) %]
- [% 'Linked Records' | $T8 %]
[%- END %]
@@ -42,16 +47,11 @@
[% 'Customer' | $T8 %] |
-[%- IF selectcustomer %]
-
-[%- ELSE %]
-
-[%- END %]
- |
- [% L.hidden_tag('selectcustomer', selectcustomer) %]
- [% L.hidden_tag('oldcustomer', oldcustomer) %]
- [% L.hidden_tag('customer_id', customer_id) %]
- [% L.hidden_tag('terms', terms) %]
+ [% P.customer_vendor.picker("customer_id", customer_id, type="customer", style="width: 300px", class=(initial_focus == 'customer_id' ? "initial_focus" : ""), onchange="\$('#update_button').click()") %]
+ [% L.button_tag("show_vc_details('customer')", LxERP.t8('Details (one letter abbreviation)')) %]
+ [% L.hidden_tag("previous_customer_id", customer_id) %]
+ [% L.hidden_tag('terms', terms) %]
+
[%- IF max_dunning_level || invoice_obj.dunning_config_id %]
@@ -100,7 +100,7 @@
[% L.hidden_tag('forex', forex) %]
[% IF show_exch %]
[% 'Exchangerate' | $T8 %] |
- [%- IF forex %][% L.hidden_tag('exchangerate', LxERP.format_amount(exchangerate, 5)) %][% LxERP.format_amount(exchangerate, 5) %][%- ELSE %][% L.input_tag('exchangerate', LxERP.format_amount(exchangerate, 5), size=10) %][%- END %] |
+ [%- IF forex %][% L.hidden_tag('exchangerate', LxERP.format_amount(exchangerate, 5, 1)) %][% LxERP.format_amount(exchangerate, 5, 1) %][%- ELSE %][% L.input_tag('exchangerate', LxERP.format_amount(exchangerate, 5, 1), size=10) %][%- END %] |
[% END %]
[% IF ALL_DEPARTMENTS %]
@@ -141,6 +141,14 @@
[% 'Due Date' | $T8 %] |
[% L.date_tag('duedate', duedate) %] |
+
+ [% LxERP.t8('Tax point') %] |
+ [% L.date_tag('tax_point', tax_point, id='tax_point') %] |
+
+
+ [% 'Delivery Date' | $T8 %] |
+ [% L.date_tag('deliverydate', deliverydate) %] |
+
[% 'Project Number' | $T8 %] |
[% L.select_tag('globalproject_id', ALL_PROJECTS, title_key = 'projectnumber', default = globalproject_id, with_empty = 1, onChange = "document.getElementById('update_button').click();") %] |
@@ -181,7 +189,7 @@
- [% P.chart_picker("AR_chart_id", AR_chart_id, style="width: 400px", type="AR") %] |
+ [% P.chart.picker("AR_chart_id", AR_chart_id, style="width: 400px", type="AR") %] |
[% LxERP.format_amount(invtotal, 2) | html %] |
@@ -254,7 +262,7 @@
[%- IF row.changeable %]
-
+
[%- ELSE %]
[% row.paid | html %]
[%- END %]
@@ -267,9 +275,9 @@
[%- IF show_exch %]
|
[%- IF row.forex || !row.changeable%]
- [% row.exchangerate | html %]
+ [%- LxERP.format_amount(row.exchangerate, 5, 1) -%]
[%- ELSE %]
-
+
[%- END %]
|