Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 746da637

Von Cem Aydin vor 12 Monaten hinzugefügt

  • ID 746da63786aafdffa3876c22c17de6f87b13b0fc
  • Vorgänger 5210125b
  • Nachfolger b1f188d9

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 %]
......
128 132
    <sup>(2)</sup>
129 133
    [%- IF is_vendor %]
130 134
     [%- 'No bank information has been entered in this vendor\'s master data entry. You cannot create bank transfers unless you enter bank information.' | $T8 %]
131
     [% "The required information consists of the IBAN and the BIC." | $T8 %]
135
     [%- IF !INSTANCE_CONF.get_sepa_swiss_xml_export %]
136
      [% "The required information consists of the IBAN and the BIC." | $T8 %]
137
     [%- ELSE %]
138
      [% "The required information consists of the IBAN for domestic payments. And IBAN and the BIC for SEPA payments." | $T8 %]
139
     [%- END %]
132 140
     [% LxERP.t8("Additionally the invoice is not marked for direct debit and would have been checked automatically had the bank information been entered.") %]
133 141
    [%- ELSE %]
134 142
     [%- 'No bank information has been entered in this customer\'s master data entry. You cannot create bank collections unless you enter bank information.' | $T8 %]

Auch abrufbar als: Unified diff