X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fsepa%2Fbank_transfer_edit.html;h=a534d1adae56288cdbe736ff53bc5ef85847ab59;hb=cc78d935992bbc0ec17fe2e0452dea36248d8ba8;hp=28b17edf5fe7921de2c07b4fbec47489113e5caa;hpb=2d3f862b7af94f31860dd264eef7c1bc7de7eae2;p=kivitendo-erp.git
diff --git a/templates/webpages/sepa/bank_transfer_edit.html b/templates/webpages/sepa/bank_transfer_edit.html
index 28b17edf5..a534d1ada 100644
--- a/templates/webpages/sepa/bank_transfer_edit.html
+++ b/templates/webpages/sepa/bank_transfer_edit.html
@@ -1,6 +1,15 @@
[%- 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 %]: [% HTML.escape(export.ids.join(', ')) %]
@@ -15,9 +24,14 @@
|
[%- END %]
[% 'Invoice' | $T8 %] |
- [% 'Vendor' | $T8 %] |
- [% 'Source bank account' | $T8 %] |
- [% 'Target bank account' | $T8 %] |
+ [%- IF is_vendor %][% 'Vendor' | $T8 %][%- ELSE %][%- LxERP.t8('Customer') %][%- END %] |
+ [%- IF is_vendor %]
+ [% 'Source bank account' | $T8 %] |
+ [% 'Target bank account' | $T8 %] |
+ [%- ELSE %]
+ [% 'Target bank account' | $T8 %] |
+ [% 'Source bank account' | $T8 %] |
+ [%- END %]
[% 'Amount' | $T8 %] |
[% 'Reference' | $T8 %] |
[% 'Requested execution date' | $T8 %] |
@@ -52,13 +66,13 @@
[%- END %]
- [% HTML.escape(item.invnumber) %]
+ [% HTML.escape(item.invnumber) %]
|
- [% HTML.escape(item.vendor_name) %] |
+ [% HTML.escape(item.vc_name) %] |
[% HTML.escape(item.our_iban) %] |
[% HTML.escape(item.our_bic) %] |
- [% HTML.escape(item.vendor_iban) %] |
- [% HTML.escape(item.vendor_bic) %] |
+ [% HTML.escape(item.vc_iban) %] |
+ [% HTML.escape(item.vc_bic) %] |
[% HTML.escape(LxERP.format_amount(item.amount, 2)) %] |
[% HTML.escape(item.reference) %] |
[% HTML.escape(item.requested_execution_date) %] |
@@ -135,6 +149,8 @@
[%- END %]
[%- END %]
[%- END %]
+
+