Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 37b973a1

Von Jan Büren vor mehr als 1 Jahr hinzugefügt

  • ID 37b973a14746891a59ea19356b79dbfd3b2cbc27
  • Vorgänger 83dcaf92
  • Nachfolger 69dbfe69

Swift-Code ist auch valide für MT940 Feld 25: anstatt nur BLZ

Unterschiede anzeigen:

SL/MT940.pm
69 69

  
70 70
      $local_bank_code      = $1;
71 71
      $local_account_number = $2;
72

  
72
    } elsif  ($line->[0] =~ m{^:25:([A-Z]{6}[A-Z0-9]{2}[A-Z0-9]{3}?)/(\d+)}) {
73
      # case SWIFT code with 11 chars :25:SOBKDEB2XXX/5436636296EUR
74
      # https://stackoverflow.com/questions/3028150/what-is-proper-regex-expression-for-swift-codes
75
      $local_bank_code      = $1;
76
      $local_account_number = $2;
73 77
    } elsif ($line->[0] =~ m{^:61: (\d{2}) (\d{2}) (\d{2}) (\d{4})? (C|D|RC|RD) ([a-zA-Z]?) (\d+) (?:, (\d*))? N (.{3}) (.*)}x) {
74 78
      #                            1       2       3       4        5           6           7          8         9      10
75 79
      # :61:2008060806CR952,N051NONREF
templates/design40_webpages/simple_system_setting/_bank_account_form.html
31 31
      <td>[% L.input_tag("object.bic", SELF.object.bic, class='wi-wider') %]</td>
32 32
    </tr>
33 33
    <tr>
34
      <th>[% LxERP.t8('Bank code') %]</th>
34
      <th>[% LxERP.t8('Bank code') %]/[% LxERP.t8('SWIFT') %]</th>
35 35
      <td>[% L.input_tag("object.bank_code", SELF.object.bank_code, class='wi-wider') %]</td>
36 36
    </tr>
37 37
    <tr>
templates/webpages/simple_system_setting/_bank_account_form.html
24 24
  <td>[%- L.input_tag("object.bic", SELF.object.bic, style=style) %]</td>
25 25
 </tr>
26 26
 <tr>
27
  <th align="right">[% LxERP.t8('Bank code') %]</th>
27
  <th align="right">[% LxERP.t8('Bank code') %]/[% LxERP.t8('SWIFT') %]</th>
28 28
  <td>[%- L.input_tag("object.bank_code", SELF.object.bank_code, style=style) %]</td>
29 29
 </tr>
30 30
 <tr>

Auch abrufbar als: Unified diff