Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision cdb079eb

Von Cem Aydin vor etwa 2 Monaten hinzugefügt

  • ID cdb079ebb32c7c8130312cddd39f6c1d39cc6599
  • Vorgänger 3abd8072
  • Nachfolger be93d983

Schweizer Banküberweisung via XML implementiert

Analog zu "Überweisung via SEPA XML"

Das Feature kann in der Mandantenkonfiguration ein-/ausgeschaltet
werden. Wenn eingeschaltet, wird anstatt des SEPA export ein Export
gemäss dem schweizer Standard erstellt. Dementsprechend werden die
Texte im Menü und in den Templates ersetzt, und im Code mittels
Weiche auf den schweizer Export umgeschaltet.

Gemäss Standard:
Swiss Payment Standards
Customer Credit Transfer Initiation (pain.001)

Unterschiede anzeigen:

templates/webpages/sepa/bank_transfer_add.html
51 51
     <input type="hidden" id="amount_less_skonto_[% loop.count %]" name="amount_less_skonto_[% loop.count %]" value="[% LxERP.format_amount(invoice.amount_less_skonto, 2) %]">
52 52
     <input type="hidden" id="invoice_open_amount_[% loop.count %]" name="invoice_open_amount_[% loop.count %]" value="[% LxERP.format_amount(invoice.open_amount - invoice.transfer_amount, 2) %]">
53 53
     <input type="hidden" id="skonto_amount_[% loop.count %]" name="skonto_amount_[% loop.count %]" value="[% LxERP.format_amount(invoice.skonto_amount, 2) %]">
54

  
54
     [% L.hidden_tag('bank_transfers[].type', invoice.type) %]
55 55

  
56 56
     <tr class="listrow[% IF (!invoice.vc_bank_info_ok && invoice.checked) || invoice.is_sepa_blocked %]_error[% END %]">
57 57
      <td align="center">
......
117 117
    <sup>(1)</sup>
118 118
    [%- IF is_vendor %]
119 119
     [%- 'No bank information has been entered in this vendor\'s master data entry. You cannot create bank transfers unless you enter bank information.' | $T8 %]
120
     [% "The required information consists of the IBAN and the BIC." | $T8 %]
120
     [%- IF !INSTANCE_CONF.get_sepa_swiss_xml_export %]
121
      [% "The required information consists of the IBAN and the BIC." | $T8 %]
122
     [%- ELSE %]
123
      [% "The required information consists of the IBAN for domestic payments. And IBAN and the BIC for SEPA payments." | $T8 %]
124
     [%- END %]
121 125
    [%- ELSE %]
122 126
     [%- 'No bank information has been entered in this customer\'s master data entry. You cannot create bank collections unless you enter bank information.' | $T8 %]
123 127
     [% "The required information consists of the IBAN, the BIC, the mandator ID and the mandate's date of signature." | $T8 %]

Auch abrufbar als: Unified diff