@@ -107,19 +114,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 %] |
|
@@ -176,7 +190,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 +281,7 @@
[% 'Source' | $T8 %] |
[% 'Memo' | $T8 %] |
[% 'Amount' | $T8 %] |
+
|
[% IF ( !defaultcurrency || (currency != defaultcurrency) ) %]
[% 'Exch' | $T8 %] |
[% END %]
@@ -282,10 +297,10 @@
[% temp = "datepaid_"_ i %]
[% IF( changeable ) %]
- [% L.date_tag(temp, $temp) %]
+ [% L.date_tag(temp, $temp ? $temp : today) %]
[% ELSE %]
[% $temp | html %]
- |;
+
[% END %]
|
@@ -319,6 +334,12 @@
[% END %]
+
+ [% IF changeable && loop.last && paid_missing > 0 %]
+
+ [% END %]
+ |
+
[% IF ( !defaultcurrency || (currency != defaultcurrency) ) %]
[% temp = "exchangerate_"_ i %]
@@ -338,7 +359,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 %]
@@ -375,4 +396,14 @@
+[% PROCESS 'webdav/_list.html' %]
+
+ [% LxERP.t8('Loading...') %]
+
+
+
+
+
|