Zahlungsbedingungen: Variablen für BIC, IBAN, Mandats-ID, Mandatsunterschriftsdatum
authorMoritz Bunkus <m.bunkus@linet-services.de>
Fri, 9 Oct 2015 12:54:37 +0000 (14:54 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Fri, 9 Oct 2015 12:58:42 +0000 (14:58 +0200)
SL/Form.pm
locale/de/all
templates/webpages/payment_term/form.html

index 28e50a2..45662f3 100644 (file)
@@ -1801,6 +1801,10 @@ sub set_payment_options {
   $self->{payment_terms} =~ s/<%account_number%>/$self->{account_number}/g;
   $self->{payment_terms} =~ s/<%bank%>/$self->{bank}/g;
   $self->{payment_terms} =~ s/<%bank_code%>/$self->{bank_code}/g;
+  $self->{payment_terms} =~ s/<\%bic\%>/$self->{bic}/g;
+  $self->{payment_terms} =~ s/<\%iban\%>/$self->{iban}/g;
+  $self->{payment_terms} =~ s/<\%mandate_date_of_signature\%>/$self->{mandate_date_of_signature}/g;
+  $self->{payment_terms} =~ s/<\%mandator_id\%>/$self->{mandator_id}/g;
 
   map { $self->{payment_terms} =~ s/<%${_}%>/$formatted_amounts{$_}/g; } keys %formatted_amounts;
 
index ab9d2a9..e210794 100755 (executable)
@@ -735,7 +735,11 @@ $self->{texts} = {
   'Customer saved!'             => 'Kunde gespeichert!',
   'Customer type'               => 'Kundentyp',
   'Customer variables'          => 'Kundenvariablen',
+  'Customer\'s Mandate Date of Signature' => 'Mandatsunterschriftsdatum des Kunden',
+  'Customer\'s SEPA mandator ID' => 'SEPA-Mandanten-ID des Kunden',
   'Customer\'s current maximum dunning level: #1' => 'Aktuell höchste Mahnstufe des Kunden: #1',
+  'Customer\'s/vendor\'s BIC'   => 'BIC des Kunden/Lieferanten',
+  'Customer\'s/vendor\'s IBAN'  => 'IBAN des Kunden/Lieferanten',
   'Customer/Vendor'             => 'Kunde/Lieferant',
   'Customer/Vendor (database ID)' => 'Kunde/Lieferant (Datenbank-ID)',
   'Customer/Vendor Name'        => 'Kunde/Lieferant',
index 48cc15a..5b5147e 100755 (executable)
@@ -88,5 +88,9 @@
    <tr><td>&lt;%account_number%&gt;</td><td>[% LxERP.t8("Your account number") %]</td></tr>
    <tr><td>&lt;%bank%&gt;</td><td>[% LxERP.t8("Your bank") %]</td></tr>
    <tr><td>&lt;%bank_code%&gt;</td><td>[% LxERP.t8("Your bank code") %]</td></tr>
+   <tr><td>&lt;%bic%&gt;</td><td>[% LxERP.t8("Customer's/vendor's BIC") %]</td></tr>
+   <tr><td>&lt;%iban%&gt;</td><td>[% LxERP.t8("Customer's/vendor's IBAN") %]</td></tr>
+   <tr><td>&lt;%mandator_id%&gt;</td><td>[% LxERP.t8("Customer's SEPA mandator ID") %]</td></tr>
+   <tr><td>&lt;%mandate_date_of_signature%&gt;</td><td>[% LxERP.t8("Customer's Mandate Date of Signature") %]</td></tr>
   </table>
  </form>