[%- IF is_vendor %]
[% 'Please select the source bank account for the transfers:' | $T8 %]
@@ -20,12 +21,12 @@
[% 'Please select the destination bank account for the collections:' | $T8 %]
[%- END %]
- [%- INCLUDE generic/multibox.html
- name = 'bank_account.id',
- DATA = BANK_ACCOUNTS,
- id_key = 'id',
- label_sub = 'bank_account_label',
- -%]
+ [% L.select_tag('bank_account',
+ BANK_ACCOUNTS,
+ title_key='displayable_name',
+ with_empty=0,
+ style='width:450px',
+ ) %]
[%- IF invoice.vc_bank_info_ok %]
-
+ [% L.checkbox_tag("ids[]", value=invoice.id, checked=invoice.checked) %]
[%- END %]
|
@@ -56,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; -%]
@@ -69,16 +81,25 @@
|
- [% LxERP.format_amount(invoice.invoice_amount, -2) %] |
- [% LxERP.format_amount(invoice.open_amount, -2) %] |
+ [% LxERP.format_amount(invoice.invoice_amount-invoice.open_sepa_transfer_amount, 2) %] |
+ [% LxERP.format_amount(invoice.open_amount-invoice.open_sepa_transfer_amount, 2) %] |
+ [% 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 %]
+
|
-
+
+ |
+
+ [% L.select_tag('bank_transfers[].payment_type', invoice.payment_select_options, value_key => 'payment_type', title_key => 'display', id => 'payment_type_' _ loop.count, class => 'type_target' ) %]
|
+ [%- IF invoice.skonto_amount %] [% LxERP.format_amount(invoice.percent_skonto, 2) %] % = [% LxERP.format_amount(invoice.skonto_amount, 2) %] ⬠bis [% invoice.skonto_date %] [%- END %] |
[%- END %]
@@ -89,24 +110,48 @@