[% 'Customer' | $T8 %] |
- [% P.customer_vendor_picker("customer_id", customer_id, type="customer", style="width: 300px", class=(initial_focus == 'customer_id' ? "initial_focus" : "")) %]
+ [% 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) %]
@@ -95,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 %]
@@ -136,6 +141,10 @@
- [% 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 %] |
@@ -249,7 +258,7 @@
[%- IF row.changeable %]
-
+
[%- ELSE %]
[% row.paid | html %]
[%- END %]
@@ -262,9 +271,9 @@
[%- IF show_exch %]
|
[%- IF row.forex || !row.changeable%]
- [% row.exchangerate | html %]
+ [%- LxERP.format_amount(row.exchangerate, 5, 1) -%]
[%- ELSE %]
-
+
[%- END %]
|