X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Far%2Fform_header.html;h=755d564c0dce134c738192f48b2fb2e816c618b2;hb=64fab360c5a719c6cad86df702efcf4e544778cf;hp=8f59a37eac1d70a8f94107d62c8f162098b5263d;hpb=1ce68041a1923c60a6608a2ed6365f5915bacd9a;p=kivitendo-erp.git
diff --git a/templates/webpages/ar/form_header.html b/templates/webpages/ar/form_header.html
index 8f59a37ea..755d564c0 100644
--- a/templates/webpages/ar/form_header.html
+++ b/templates/webpages/ar/form_header.html
@@ -47,7 +47,7 @@
[% '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) %]
@@ -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 %]
|