X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fsepa%2Fbank_transfer_add.html;h=e156b7ea111e957bbc996f542c908f1d97cbac57;hb=8acbb5b9be2b98a2977d86989c574d4fbd14a782;hp=1eb34be40a702de72ace114780febc3db0d8b142;hpb=9978980b02d0f7dc82bc406993af07f5b7b1d967;p=kivitendo-erp.git diff --git a/templates/webpages/sepa/bank_transfer_add.html b/templates/webpages/sepa/bank_transfer_add.html index 1eb34be40..e156b7ea1 100644 --- a/templates/webpages/sepa/bank_transfer_add.html +++ b/templates/webpages/sepa/bank_transfer_add.html @@ -1,12 +1,24 @@ [%- USE T8 %] [% USE HTML %][% USE LxERP %] - +[% IF vc == 'vendor' %] + [% SET is_vendor = 1 %] + [% SET arap = 'ap' %] + [% SET iris = 'ir' %] +[% ELSE %] + [% SET is_vendor = 0 %] + [% SET arap = 'ar' %] + [% SET iris = 'is' %] +[%- END %]

[% title %]

- [% 'Please select the source bank account for the transfers:' | $T8 %] + [%- IF is_vendor %] + [% 'Please select the source bank account for the transfers:' | $T8 %] + [%- ELSE %] + [% 'Please select the destination bank account for the collections:' | $T8 %] + [%- END %]
[%- INCLUDE generic/multibox.html name = 'bank_account.id', @@ -20,7 +32,7 @@ - + @@ -30,29 +42,29 @@ [%- FOREACH invoice = INVOICES %] - + @@ -60,18 +72,26 @@ - + [%- END %]
[% 'Vendor' | $T8 %][% IF is_vendor %][% 'Vendor' | $T8 %][%- ELSE %][%- LxERP.t8('Customer') %][%- END %] [% 'Invoice' | $T8 %] [% 'Amount' | $T8 %] [% 'Open amount' | $T8 %]
- [%- IF invoice.vendor_bank_info_ok %] - + [%- IF invoice.vc_bank_info_ok %] + [%- END %] - [%- IF loop.first || (previous_vendorname != invoice.vendorname) %] - - [%- GET HTML.escape(invoice.vendorname); - SET previous_vendorname = invoice.vendorname; - IF !invoice.vendor_bank_info_ok; + [%- IF loop.first || (previous_vcname != invoice.vcname) %] + + [%- GET HTML.escape(invoice.vcname); + SET previous_vcname = invoice.vcname; + IF !invoice.vc_bank_info_ok; GET ' (1)'; - SET show_vendor_bank_info_footnote = '1'; + SET show_vc_bank_info_footnote = '1'; END; -%] [%- END -%] - + [% HTML.escape(invoice.invnumber) %] [% LxERP.format_amount(invoice.invoice_amount, -2) %] [% LxERP.format_amount(invoice.open_amount, -2) %] [% invoice.duedate %] + [%- SET reference = invoice.reference_prefix _ invoice.invnumber %] + + - +

- [%- IF show_vendor_bank_info_footnote %] + [%- IF show_vc_bank_info_footnote %]

- (1) [%- 'No bank information has been entered in this vendor\'s master data entry. You cannot create bank transfers unless you enter bank information.' | $T8 %] + (1) + [%- 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 %] + [%- 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 %] + [%- END %]

[%- END %] @@ -80,21 +100,13 @@

+
- - - -