X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Far%2Fform_header.html;h=2c9870fe24cac5b78f79bb421d405b004b5e9628;hb=aa36021ace7b4075af6d2d815e0e208b7227d9c4;hp=c8f7c277dc4060e20307b8c26254405d57712e66;hpb=c05d6e3a062effb45e667ed687be463b700ffc50;p=kivitendo-erp.git diff --git a/templates/webpages/ar/form_header.html b/templates/webpages/ar/form_header.html index c8f7c277d..2c9870fe2 100644 --- a/templates/webpages/ar/form_header.html +++ b/templates/webpages/ar/form_header.html @@ -14,6 +14,7 @@ [% 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 %]

@@ -24,7 +25,7 @@
  • [% 'Basic Data' | $T8 %]
  • [%- IF id %]
  • [% 'Linked Records' | $T8 %]
  • -
  • [% 'Transactions' | LxERP.t8 %]
  • +
  • [% LxERP.t8('Transactions') %]
  • [%- END %] @@ -50,19 +51,43 @@ [% L.hidden_tag('customer_id', customer_id) %] [% L.hidden_tag('terms', terms) %] +[%- IF max_dunning_level || invoice_obj.dunning_config_id %] - - - - - - - - - -
    [% '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 %] + + +[%- 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)) %] + + +[%- IF invoice_obj.sepa_exports.as_list.size %] + + [% LxERP.t8("SEPA exports") %] + + [% FOREACH export = invoice_obj.sepa_exports.as_list %] + [% HTML.escape(export.id) %] + [% UNLESS loop.last %], [% END %] + [% END %] +[%- END %] [% 'Currency' | $T8 %] @@ -202,6 +227,7 @@ [% 'Source' | $T8 %] [% 'Memo' | $T8 %] [% 'Amount' | $T8 %] + [%- IF show_exch %] [% 'Exch' | $T8 %] [%- END %] @@ -213,7 +239,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 %] @@ -239,6 +265,11 @@ [% row.paid | html %] [%- END %] + + [% IF row.changeable && loop.last && paid_missing > 0 %] + + [% END %] + [%- IF show_exch %] [%- IF row.forex || !row.changeable%] @@ -289,3 +320,7 @@ + +