Revision 3794ab60
Von Cem Aydin vor mehr als 2 Jahren hinzugefügt
SL/Template/OpenDocument.pm | ||
---|---|---|
644 | 644 |
'iban' => $qr_account->{'iban'} |
645 | 645 |
); |
646 | 646 |
|
647 |
my $biller_countrycode = SL::Helper::ISO3166::map_name_to_alpha_2_code( |
|
648 |
$::instance_conf->get_address_country() |
|
649 |
); |
|
647 |
my $biller_country = $::instance_conf->get_address_country() || 'CH'; |
|
648 |
my $biller_countrycode = SL::Helper::ISO3166::map_name_to_alpha_2_code($biller_country); |
|
650 | 649 |
if (!$biller_countrycode) { |
651 | 650 |
$::form->error($::locale->text('Error mapping biller countrycode.')); |
652 | 651 |
} |
... | ... | |
670 | 669 |
'currency' => $form->{'currency'}, |
671 | 670 |
); |
672 | 671 |
|
673 |
my $country = $form->{'country'} || 'CH'; |
|
674 |
my $customer_countrycode = SL::Helper::ISO3166::map_name_to_alpha_2_code($country); |
|
672 |
my $customer_country = $form->{'country'} || 'CH';
|
|
673 |
my $customer_countrycode = SL::Helper::ISO3166::map_name_to_alpha_2_code($customer_country);
|
|
675 | 674 |
if (!$customer_countrycode) { |
676 | 675 |
$::form->error($::locale->text('Error mapping customer countrycode.')); |
677 | 676 |
} |
Auch abrufbar als: Unified diff
Swiss QR-Bill: Schweiz als Standardwert für das Land beim Rechnungssteller verwenden