Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 5d475657

Von Cem Aydin vor 6 Tagen hinzugefügt

  • ID 5d47565792d43bb6cd771a573d4848b022729977
  • Vorgänger 7b1da9c3
  • Nachfolger e100eb25

Bankkonto Informationen Spalte für QR-IBAN (Schweiz)

Bisher haben wir für die QR-IBAN eine zusätzliche Zeile bei den
Bankkonten erfasst. Die QR-IBAN wird aber jeweils als zusätzliche IBAN
für ein existierendes Bankkonto vergeben.
Daher sollte diese stattdessen als zusätzliche Spalte erfasst werden.
Dies ermöglicht dann auch das Buchen auf das entsprechende Konto.

Unterschiede anzeigen:

SL/IS.pm
# set variables for swiss QR bill, if feature enabled
# handling errors gracefully (don't die if undef)
my $create_qrbill_invoices = $::instance_conf->get_create_qrbill_invoices;
if ($::instance_conf->get_create_qrbill_invoices && $form->{formname} eq 'invoice') {
my ($qr_account, $error) = get_qrbill_account();
$form->{qrbill_iban} = $qr_account->{iban};
# case 1: QR-Reference number and QR-IBAN
# case 2: without reference number and regular IBAN
if ($create_qrbill_invoices == 1) {
$form->{qrbill_iban} = $qr_account->{qr_iban};
} elsif ($create_qrbill_invoices == 2) {
$form->{qrbill_iban} = $qr_account->{iban};
}
my $biller_country = $::instance_conf->get_address_country() || 'CH';
my $biller_countrycode = SL::Helper::ISO3166::map_name_to_alpha_2_code($biller_country);

Auch abrufbar als: Unified diff