X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fsepa%2Fbank_transfer_edit.html;h=e171ef2d06245e3f520432c87647cda454615b54;hb=53593baa211863fbf66540cf1bcc36c8fb37257f;hp=3af74c98010cd2449af0f3b7001e3309e044762b;hpb=469ca9fc3cac624073270fc3217766dbb7aba253;p=kivitendo-erp.git diff --git a/templates/webpages/sepa/bank_transfer_edit.html b/templates/webpages/sepa/bank_transfer_edit.html index 3af74c980..e171ef2d0 100644 --- a/templates/webpages/sepa/bank_transfer_edit.html +++ b/templates/webpages/sepa/bank_transfer_edit.html @@ -11,19 +11,13 @@ [% SET arap = 'ar' %] [% SET iris = 'is' %] [%- END %] - - -

[% title %]: [% HTML.escape(export.ids.join(', ')) %]

- -
- +

[% title %]: [% HTML.escape(export.ids.join(', ')) %]

+

- [%- IF show_post_payments_button %] - - [%- END %] + [%- IF is_vendor %] @@ -34,37 +28,40 @@ [%- END %] + + + [% IF vc == 'customer' %] + + [%- END %] - + [%- IF show_post_payments_button %] - + [%- ELSE %] - + [%- END %] [%- FOREACH item = export.items %] - - [%- IF show_post_payments_button %] - - - - [%- END %] + + @@ -74,6 +71,11 @@ + + + [% IF vc == 'customer' %] + + [%- END %]
[% 'Invoice' | $T8 %] [%- IF is_vendor %][% 'Vendor' | $T8 %][%- ELSE %][%- LxERP.t8('Customer') %][%- END %][% 'Source bank account' | $T8 %][% 'Amount' | $T8 %][% 'Skonto amount' | $T8 %][% 'Payment type' | $T8 %][% 'Mandator ID' | $T8 %][% 'Reference' | $T8 %] [% 'Requested execution date' | $T8 %] [% 'Execution date' | $T8 %]
   [% 'IBAN' | $T8 %] [% 'BIC' | $T8 %] [% 'IBAN' | $T8 %] [% 'BIC' | $T8 %]   - [% L.date_tag('set_all_execution_date') %] + [% L.date_tag('set_all_execution_date', '', onchange='set_all_execution_date_fields(this);') %]   
- [%- UNLESS item.executed %] - - [%- END %] -
+ [%- IF (show_post_payments_button && !item.executed) || (!show_post_payments_button && item.executed) %] + [% L.hidden_tag("items[+].id", item.id) %] + [% L.hidden_tag("items[].sepa_export_id", item.sepa_export_id) %] + [% L.checkbox_tag("ids[]", value=item.id) %] + [%- END %] + [% HTML.escape(item.invnumber) %] [% HTML.escape(item.vc_iban) %] [% HTML.escape(item.vc_bic) %] [% HTML.escape(LxERP.format_amount(item.amount, 2)) %][% HTML.escape(LxERP.format_amount(item.skonto_amount, 2)) %][% item.payment_type | $T8 %][% HTML.escape(item.mandator_id) %][% HTML.escape(item.reference) %] [% HTML.escape(item.requested_execution_date) %] @@ -90,49 +92,20 @@

-


- - [%- IF show_post_payments_button %] -

- -

- - - [%- ELSE %] -

- -

- - [%- FOREACH item = export.items %] - [%- IF item.executed %] - - - [%- END %] - [%- END %] - [%- END %] -
- - -