X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/9fe004908828ea3844303b0da3dd893caaf82357..ed11f8c7cbf055eee2a32328b09189fcf6f29b53:/templates/webpages/ap/form_header.html diff --git a/templates/webpages/ap/form_header.html b/templates/webpages/ap/form_header.html index 0d003c600..169a5e01f 100644 --- a/templates/webpages/ap/form_header.html +++ b/templates/webpages/ap/form_header.html @@ -28,7 +28,6 @@
- @@ -39,6 +38,7 @@ + @@ -78,6 +78,21 @@

[% saved_message | html %]

[% END %] +
+ + +
- - + + + +[%- IF invoice_obj.sepa_exports.as_list.size %] + + + +[%- END %] @@ -126,12 +148,10 @@ - [% IF ( selectdepartment ) %] + [% IF ALL_DEPARTMENTS %] - + [% END %] @@ -139,6 +159,10 @@ + + + +
@@ -98,18 +113,25 @@
- - - - - - - -
[% 'Credit Limit' | $T8 %][% creditlimit | html %][% 'Remaining' | $T8 %][% creditremaining | html %]
+
[% LxERP.t8("Credit Limit") %] + [% creditlimit | html %]; + [% LxERP.t8("Remaining") %] + [% creditremaining | html %] +
[% LxERP.t8("SEPA exports") %] + [% FOREACH export = invoice_obj.sepa_exports.as_list %] + [% HTML.escape(export.id) %] + [% UNLESS loop.last %], [% END %] + [% END %]
[% 'Currency' | $T8 %]
[% 'Department' | $T8 %] - - [% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1) %]
[% 'Tax Included' | $T8 %]
[% 'direct debit' | $T8 %]
@@ -163,7 +187,7 @@ [% 'Project Number' | $T8 %] - [% L.select_tag('globalproject_id', ALL_PROJECTS, with_empty = 1, default = globalproject_id, value_key = 'id', title_key = 'projectnumber') %] + [% L.select_tag('globalproject_id', ALL_PROJECTS, with_empty = 1, default = globalproject_id, value_key = 'id', title_key = 'projectnumber', onChange = "document.getElementById('update_button').click();") %] @@ -254,6 +278,7 @@ [% 'Source' | $T8 %] [% 'Memo' | $T8 %] [% 'Amount' | $T8 %] + [% IF ( !defaultcurrency || (currency != defaultcurrency) ) %] [% 'Exch' | $T8 %] [% END %] @@ -269,10 +294,10 @@ [% temp = "datepaid_"_ i %] [% IF( changeable ) %] - [% L.date_tag(temp, $temp) %] + [% L.date_tag(temp, $temp ? $temp : today) %] [% ELSE %] [% $temp | html %] - |; + [% END %] @@ -306,6 +331,12 @@ [% END %] + + [% IF changeable && loop.last && paid_missing > 0 %] + + [% END %] + + [% IF ( !defaultcurrency || (currency != defaultcurrency) ) %] [% temp = "exchangerate_"_ i %] @@ -325,7 +356,7 @@ [% temp = "AP_paid_"_ i %] [% IF( changeable ) %] - [% L.select_tag(temp, ALL_CHARTS_AP_paid, value_title_sub = \AP_paid_value_title_sub, default = $temp) %] + [% L.select_tag(temp, ALL_CHARTS_AP_paid, value_title_sub = \AP_paid_value_title_sub, default = ($temp || accno_arap)) %] [% ELSE %] [% $temp | html %] @@ -360,7 +391,16 @@ - -
- +
+[% PROCESS 'webdav/_list.html' %] +
+ [% LxERP.t8('Loading...') %] +
+
+ +
+ +