[%- IF is_vendor %]
[% 'Please select the source bank account for the transfers:' | $T8 %]
@@ -52,10 +52,10 @@
-
[%- IF invoice.vc_bank_info_ok %]
-
+ [% L.checkbox_tag("ids[]", value=invoice.id, checked=checked) %]
[%- END %]
|
@@ -64,7 +64,11 @@
[%- GET HTML.escape(invoice.vcname);
SET previous_vcname = invoice.vcname;
IF !invoice.vc_bank_info_ok;
- GET ' (1)';
+ IF invoice.checked;
+ GET ' (2)';
+ ELSE;
+ GET ' (1)';
+ END;
SET show_vc_bank_info_footnote = '1';
END; -%]
@@ -82,8 +86,12 @@
| [% invoice.transdate %] |
[% invoice.duedate %] |
+ [% IF INSTANCE_CONF.get_sepa_reference_add_vc_vc_id %]
+ [%- SET reference = invoice.reference_prefix _ invoice.invnumber _ invoice.reference_prefix_vc _ invoice.vc_vc_id %]
+ [% ELSE %]
[%- SET reference = invoice.reference_prefix _ invoice.invnumber %]
-
+ [% END %]
+
|
@@ -108,20 +116,28 @@
[% "The required information consists of the IBAN, the BIC, the mandator ID and the mandate's date of signature." | $T8 %]
[%- END %]
- [%- END %]
-
-
-
+
+ (2)
+ [%- IF is_vendor %]
+ [%- 'No bank information has been entered in this vendor\'s master data entry. You cannot create bank transfers unless you enter bank information.' | $T8 %]
+ [% "The required information consists of the IBAN and the BIC." | $T8 %]
+ [% LxERP.t8("Additionally the invoice is not marked for direct debit and would have been checked automatically had the bank information been entered.") %]
+ [%- ELSE %]
+ [%- 'No bank information has been entered in this customer\'s master data entry. You cannot create bank collections unless you enter bank information.' | $T8 %]
+ [% "The required information consists of the IBAN, the BIC, the mandator ID and the mandate's date of signature." | $T8 %]
+ [% LxERP.t8("Additionally the invoice is marked for direct debit and would have been checked automatically had the bank information been entered.") %]
+ [%- END %]
+
+ [%- END %]
-
|