X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/935b8083e67fa9b2871ae0f6a3ea5b8ca1661172..0d37f1e8:/templates/webpages/ap/form_header.html diff --git a/templates/webpages/ap/form_header.html b/templates/webpages/ap/form_header.html index dde66f750..8fbd9c799 100644 --- a/templates/webpages/ap/form_header.html +++ b/templates/webpages/ap/form_header.html @@ -83,6 +83,7 @@
  • [% 'Basic Data' | $T8 %]
  • [%- IF id %]
  • [% 'Linked Records' | $T8 %]
  • +
  • [% LxERP.t8('Transactions') %]
  • [%- END %] @@ -267,6 +268,7 @@ [% 'Source' | $T8 %] [% 'Memo' | $T8 %] [% 'Amount' | $T8 %] + [% IF ( !defaultcurrency || (currency != defaultcurrency) ) %] [% 'Exch' | $T8 %] [% END %] @@ -282,7 +284,7 @@ [% temp = "datepaid_"_ i %] [% IF( changeable ) %] - [% L.date_tag(temp, $temp) %] + [% L.date_tag(temp, $temp ? $temp : today) %] [% ELSE %] [% $temp | html %] @@ -319,6 +321,12 @@ [% END %] + + [% IF changeable && loop.last && paid_missing > 0 %] + + [% END %] + + [% IF ( !defaultcurrency || (currency != defaultcurrency) ) %] [% temp = "exchangerate_"_ i %] @@ -338,7 +346,7 @@ [% temp = "AP_paid_"_ i %] [% IF( changeable ) %] - [% L.select_tag(temp, ALL_CHARTS_AP_paid, value_title_sub = \AP_paid_value_title_sub, default = accno_arap) %] + [% L.select_tag(temp, ALL_CHARTS_AP_paid, value_title_sub = \AP_paid_value_title_sub, default = ($temp || accno_arap)) %] [% ELSE %] [% $temp | html %] @@ -376,3 +384,7 @@ + +