X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Far%2Fform_header.html;h=d42d70c187e475459a486614337b309ba0e39a0b;hb=b293ff8ad52fc76ba0c44783e3982418114d6b08;hp=d1916ecea1b229e157e0c71a00e054596fc39a95;hpb=3efb443e966e61d1812be458f5a7aa6833dcc6c4;p=kivitendo-erp.git diff --git a/templates/webpages/ar/form_header.html b/templates/webpages/ar/form_header.html index d1916ecea..d42d70c18 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" : ""), onchange="\$('#update_button').click()") %] + [% 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) %] @@ -100,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) %] @@ -141,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();") %] @@ -181,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 %] @@ -267,9 +279,9 @@ [%- IF show_exch %] [%- IF row.forex || !row.changeable%] - [% row.exchangerate | html %] + [%- LxERP.format_amount(row.exchangerate, 5, 1) -%] [%- ELSE %] - + [%- END %] @@ -316,5 +328,5 @@