X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fap%2Fform_header.html;h=169a5e01f49712b8408d59d99f6e09d4c55d2bc6;hb=ffd06003d74a7844892fca93905556a1903a31d8;hp=81861fcf631ba8396f3944e39632981f250d72f8;hpb=abe89aaca4356b4860f4623410e70f50b3c4d631;p=kivitendo-erp.git diff --git a/templates/webpages/ap/form_header.html b/templates/webpages/ap/form_header.html index 81861fcf6..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,11 +78,17 @@

[% saved_message | html %]

[% END %] -
+
@@ -107,19 +113,26 @@ - - - - - - - - - -
[% 'Credit Limit' | $T8 %][% creditlimit | html %][% 'Remaining' | $T8 %][% creditremaining | html %]
+ [% LxERP.t8("Credit Limit") %] + + [% creditlimit | html %]; + [% LxERP.t8("Remaining") %] + [% creditremaining | html %] +[%- 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 %] @@ -135,12 +148,10 @@ - [% IF ( selectdepartment ) %] + [% IF ALL_DEPARTMENTS %] [% 'Department' | $T8 %] - - - + [% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1) %] [% END %] @@ -176,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();") %] @@ -267,6 +278,7 @@ [% 'Source' | $T8 %] [% 'Memo' | $T8 %] [% 'Amount' | $T8 %] + [% IF ( !defaultcurrency || (currency != defaultcurrency) ) %] [% 'Exch' | $T8 %] [% END %] @@ -282,7 +294,7 @@ [% temp = "datepaid_"_ i %] [% IF( changeable ) %] - [% L.date_tag(temp, $temp) %] + [% L.date_tag(temp, $temp ? $temp : today) %] [% ELSE %] [% $temp | html %] @@ -319,6 +331,12 @@ [% END %] + + [% IF changeable && loop.last && paid_missing > 0 %] + + [% END %] + + [% IF ( !defaultcurrency || (currency != defaultcurrency) ) %] [% temp = "exchangerate_"_ i %] @@ -375,4 +393,14 @@
+[% PROCESS 'webdav/_list.html' %] +
+ [% LxERP.t8('Loading...') %]
+
+ +
+ +