X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Far%2Fform_header.html;h=d42d70c187e475459a486614337b309ba0e39a0b;hb=b293ff8ad52fc76ba0c44783e3982418114d6b08;hp=689c3c3e12bd6dda82dc6a6dfc293b0a8974d4c6;hpb=526dad121d0d769b2f1816d108e1c1183f581c12;p=kivitendo-erp.git
diff --git a/templates/webpages/ar/form_header.html b/templates/webpages/ar/form_header.html
index 689c3c3e1..d42d70c18 100644
--- a/templates/webpages/ar/form_header.html
+++ b/templates/webpages/ar/form_header.html
@@ -26,6 +26,9 @@
- [% 'Basic Data' | $T8 %]
[%- IF id %]
+ [%- IF INSTANCE_CONF.get_doc_storage %]
+ - [% 'Attachments' | $T8 %]
+ [%- END %]
[% IF AUTH.assert('record_links', 1) %]
- [% 'Linked Records' | $T8 %]
[%- END %]
@@ -44,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: 330px", 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) %]
@@ -97,15 +100,19 @@
[% 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 %]
[% 'Department' | $T8 %] |
- [% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1) %] |
+ [% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, style = 'width:334px') %] |
[% END %]
+
+ [% 'Transaction description' | $T8 %] |
+ [% L.input_tag("transaction_description", transaction_description, style="width:330px", "data-validate"=INSTANCE_CONF.get_require_transaction_description_ps ? 'required' : '') %] |
+
[% L.checkbox_tag('taxincluded', checked=taxincluded) %] |
|
@@ -138,6 +145,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();") %] |
@@ -178,7 +193,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 %] |
@@ -251,7 +266,7 @@
[%- IF row.changeable %]
-
+
[%- ELSE %]
[% row.paid | html %]
[%- END %]
@@ -264,9 +279,9 @@
[%- IF show_exch %]
|
[%- IF row.forex || !row.changeable%]
- [% row.exchangerate | html %]
+ [%- LxERP.format_amount(row.exchangerate, 5, 1) -%]
[%- ELSE %]
-
+
[%- END %]
|
@@ -313,5 +328,5 @@