X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Far%2Fform_header.html;h=c779a0d71f097442cc3bc0ab87f5e1dfeaf03712;hb=cdab9f5d03b9c1d529155cf3b95d227d473bfb6d;hp=5d2fb7417c898a87148e336e702e6fa3f3711da4;hpb=cf5fe23a0f13baaa7637ac66898945d3e9da42f4;p=kivitendo-erp.git diff --git a/templates/webpages/ar/form_header.html b/templates/webpages/ar/form_header.html index 5d2fb7417..c779a0d71 100644 --- a/templates/webpages/ar/form_header.html +++ b/templates/webpages/ar/form_header.html @@ -3,8 +3,6 @@ [%- USE T8 %] [%- USE LxERP %] - -
[% L.hidden_tag('id', id) %] @@ -16,14 +14,25 @@ [% L.hidden_tag('follow_up_trans_type_1', 'ar_transaction') %] [% L.hidden_tag('follow_up_trans_info_1', follow_up_trans_info) %] [% L.hidden_tag('follow_up_rowcount', 1) %] + + +

[% title | html %]

[%- IF saved_message %]

[% saved_message | html %]

[% END %] +
+ + +
- - - - @@ -114,7 +151,7 @@ - +
[% title | html %]
@@ -34,29 +43,53 @@ [% L.hidden_tag('selectcustomer', selectcustomer) %] [% L.hidden_tag('oldcustomer', oldcustomer) %] - [% L.hidden_tag('oldcustomer', oldcustomer) %] + [% L.hidden_tag('customer_id', customer_id) %] [% L.hidden_tag('terms', terms) %] +[%- IF max_dunning_level || invoice_obj.dunning_config_id %] - - + + +[%- END %] + + + +[%- IF invoice_obj.sepa_exports.as_list.size %] + + + + +[%- END %] @@ -68,7 +101,7 @@ [% L.hidden_tag('forex', forex) %] [% IF show_exch %] - + [% END %] [% department_html %] @@ -82,7 +115,11 @@ [%- END %] - + + + + +
[% 'Customer' | $T8 %] [%- IF selectcustomer %] - + [%- ELSE %] - + [%- END %]
- - - - - - - -
[% 'Credit Limit' | $T8 %][% LxERP.format_amount(creditlimit, 0) %][% L.hidden_tag('creditlimit', LxERP.format_amount(creditlimit, 0)) %][% 'Remaining' | $T8 %][% LxERP.format_amount(creditremaining, 0) %][% L.hidden_tag('creditremaining', LxERP.format_amount(creditremaining, 0)) %]
+
[% LxERP.t8("Dunning status") %] + [% IF invoice_obj.dunning_config_id %] + [% LxERP.t8("This invoice's dunning level: #1", invoice_obj.dunning_config.dunning_description) %] + [% IF max_dunning_level %]
[% END %] + [% END %] + [% IF max_dunning_level %] + + [% LxERP.t8("Customer's current maximum dunning level: #1", max_dunning_level) %] +
+ [% LxERP.t8("Dunned open amount: #1", LxERP.format_amount(dunning_amount, 2)) %] +
+ [% END %] +
[% LxERP.t8("Credit Limit") %] + [% LxERP.format_amount(creditlimit, 0) %][% L.hidden_tag('creditlimit', LxERP.format_amount(creditlimit, 0)) %]; + [% LxERP.t8("Remaining") %] + [% LxERP.format_amount(creditremaining, 0) %][% L.hidden_tag('creditremaining', LxERP.format_amount(creditremaining, 0)) %]
[% LxERP.t8("SEPA exports") %] + [% FOREACH export = invoice_obj.sepa_exports.as_list %] + [% HTML.escape(export.id) %] + [% UNLESS loop.last %], [% END %] + [% END %] +
[% 'Currency' | $T8 %] [% 'Exchangerate' | $T8 %][%- IF forex %][% L.hidden_tag(exchangerate, LxERP.format_amount(exchangerate, 2)) %][% LxERP.format_amount(exchangerate, 2) %][%- ELSE %][% L.input_tag(exchangerate, LxERP.format_amount(exchangerate, 2), size=10) %][%- END %][%- 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 %]
[% L.checkbox_tag('taxincluded', checked=taxincluded) %][% 'Tax Included' | $T8 %]
[% L.checkbox_tag('direct_debit', checked=direct_debit) %]
[% 'Project Number' | $T8 %][% L.select_tag('globalproject_id', L.options_for_select(ALL_PROJECTS, title='projectnumber', default=globalproject_id, with_empty=1)) %][% L.select_tag('globalproject_id', ALL_PROJECTS, title_key = 'projectnumber', default = globalproject_id, with_empty = 1) %]
@@ -140,9 +177,9 @@ [% row.selectAR_amount %] [% L.input_tag('amount_' _ loop.count, LxERP.format_amount(row.amount, 2)) %] - [% L.input_tag('tax_' _ loop.count, LxERP.format_tax(row.tax, 2)) %][% LxERP.format_tax(row.tax, 2) | html %] - [% row.tax %] - [% L.select_tag('project_id_' _ loop.count, L.options_for_select(ALL_PROJECTS, title='projectnumber', default=row.project_id, with_empty=1)) %] + [% L.hidden_tag('tax_' _ loop.count, LxERP.format_tax(row.tax, 2)) %][% LxERP.format_amount(row.tax, 2) | html %] + [% row.taxchart %] + [% L.select_tag('project_id_' _ loop.count, ALL_PROJECTS, title_key = 'projectnumber', default = row.project_id, with_empty = 1) %] [%- END %] @@ -173,6 +210,9 @@ [% 'Notes' | $T8 %] + + [% 'Notes for customer' | $T8 %] + @@ -189,6 +229,7 @@ [% 'Source' | $T8 %] [% 'Memo' | $T8 %] [% 'Amount' | $T8 %] + [%- IF show_exch %] [% 'Exch' | $T8 %] [%- END %] @@ -200,7 +241,7 @@ [%- IF row.changeable %] - [% L.date_tag('datepaid_' _ loop.count, row.datepaid) %] + [% L.date_tag('datepaid_' _ loop.count, row.datepaid ? row.datepaid : today) %] [%- ELSE %] [% row.datepaid | html %][% L.hidden_tag('datepaid_' _ loop.count, row.datepaid) %] [%- END %] @@ -226,6 +267,11 @@ [% row.paid | html %] [%- END %] + + [% IF row.changeable && loop.last && paid_missing > 0 %] + + [% END %] + [%- IF show_exch %] [%- IF row.forex || !row.changeable%] @@ -245,7 +291,7 @@ [%- IF row.changeable %] - [% L.select_tag('paid_project_id_' _ loop.count, L.options_for_select(ALL_PROJECTS, title='projectnumber', default=row.paid_project_id, with_empty=1)) %] + [% L.select_tag('paid_project_id_' _ loop.count, ALL_PROJECTS, title_key = 'projectnumber', default = row.paid_project_id, with_empty=1) %] [%- ELSE %] [% project_labels.${row.paid_project_id} | html %] @@ -273,7 +319,10 @@ - -
- +
+
+ +