Revision cf8581ed
Von Cem Aydin vor mehr als 1 Jahr hinzugefügt
SL/Template/OpenDocument.pm | ||
---|---|---|
currency => $form->{currency},
|
||
);
|
||
|
||
# validate address data
|
||
if (!$form->{'street'}) {
|
||
$::form->error($::locale->text('No street given.'));
|
||
}
|
||
if ($form->{'zipcode'} !~ m/^\d{4,}$/) {
|
||
$::form->error($::locale->text('Zipcode missing or wrong format.'));
|
||
}
|
||
if (!$form->{'city'}) {
|
||
$::form->error($::locale->text('No city given.'));
|
||
}
|
||
|
||
if (!$form->{qrbill_customer_countrycode}) {
|
||
$::form->error($::locale->text('Error mapping customer countrycode.'));
|
||
}
|
Auch abrufbar als: Unified diff
Schweizer QR-Rechnung: Kreditor Adressdaten validieren
- Übersetzungen + locales lauf de/en