X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/4fa7102b36468079313df9e579f7537d49aab859..0d37f1e8:/templates/webpages/ar/form_header.html diff --git a/templates/webpages/ar/form_header.html b/templates/webpages/ar/form_header.html index 0e65ea9c6..ee3aa5cd3 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) %] @@ -17,13 +15,21 @@ [% 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 %] +
+ + +
- - - - @@ -173,6 +183,9 @@ + + +
[% title | html %]
@@ -34,9 +40,9 @@ [% L.hidden_tag('selectcustomer', selectcustomer) %] @@ -68,7 +74,7 @@ [% L.hidden_tag('forex', forex) %] [% IF show_exch %] - + [% END %] [% department_html %] @@ -82,7 +88,11 @@ [%- END %] - + + + + +
[% 'Customer' | $T8 %] [%- IF selectcustomer %] - + [%- ELSE %] - + [%- END %] [% '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, 2)) %][% LxERP.format_amount(exchangerate, 2) %][%- ELSE %][% L.input_tag('exchangerate', LxERP.format_amount(exchangerate, 2), size=10) %][%- END %]
[% L.checkbox_tag('taxincluded', checked=taxincluded) %][% 'Tax Included' | $T8 %]
[% L.checkbox_tag('direct_debit', checked=direct_debit) %]
[% 'Notes' | $T8 %] [% 'Notes for customer' | $T8 %]
@@ -189,6 +202,7 @@ [% 'Source' | $T8 %] [% 'Memo' | $T8 %] [% 'Amount' | $T8 %] + [%- IF show_exch %] [% 'Exch' | $T8 %] [%- END %] @@ -200,7 +214,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 +240,11 @@ [% row.paid | html %] [%- END %] + + [% IF row.changeable && loop.last && paid_missing > 0 %] + + [% END %] + [%- IF show_exch %] [%- IF row.forex || !row.changeable%] @@ -273,7 +292,10 @@ - -
- +
+
+ +