Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 12797404

Von Cem Aydin vor fast 3 Jahren hinzugefügt

  • ID 1279740496219c11d6f71b68c1463b1d417396e9
  • Vorgänger 9c81991b
  • Nachfolger 892ced33

Swiss QR-Bill: Beim Erzeugen der QR-Rechnung Schweiz als Standardwert für das Land beim Kunden verwenden

Unterschiede anzeigen:

SL/Template/OpenDocument.pm
'currency' => $form->{'currency'},
);
my $customer_countrycode = SL::Helper::ISO3166::map_name_to_alpha_2_code($form->{'country'});
my $country = $form->{'country'} || 'CH';
my $customer_countrycode = SL::Helper::ISO3166::map_name_to_alpha_2_code($country);
if (!$customer_countrycode) {
$::form->error($::locale->text('Error mapping customer countrycode.'));
}

Auch abrufbar als: Unified diff