X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fsepa%2Fbank_transfer_add.html;h=315c6beb5a57324dcdadb4a63e65670159765548;hb=0399bdb1fcfbb8f7fd1a48771e4fa995037eb4b7;hp=593a022ea439ca690d15e6cc6776b58c5d6c213c;hpb=15f58ff3dfd79651a95535b53f864ea0e8cb6620;p=kivitendo-erp.git diff --git a/templates/webpages/sepa/bank_transfer_add.html b/templates/webpages/sepa/bank_transfer_add.html index 593a022ea..315c6beb5 100644 --- a/templates/webpages/sepa/bank_transfer_add.html +++ b/templates/webpages/sepa/bank_transfer_add.html @@ -13,7 +13,7 @@

[% title %]

-
+

[%- 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 %] -