Revision 9aa4d575
Von Jan Büren vor mehr als 1 Jahr hinzugefügt
bin/mozilla/ar.pl | ||
---|---|---|
780 | 780 |
$form->error($locale->text('Zero amount posting!')) |
781 | 781 |
unless grep $_*1, map $form->parse_amount(\%myconfig, $form->{"amount_$_"}), 1..$form->{rowcount}; |
782 | 782 |
|
783 |
$form->isblank("exchangerate", $locale->text('Exchangerate missing!')) |
|
784 |
if ($form->{defaultcurrency} && ($form->{currency} ne $form->{defaultcurrency})); |
|
783 |
if ($form->{defaultcurrency} && ($form->{currency} ne $form->{defaultcurrency})) { |
|
784 |
$form->isblank("exchangerate", $locale->text('Exchangerate missing!')); |
|
785 |
$form->error($locale->text('Cannot post invoice with negative exchange rate')) |
|
786 |
unless ($form->parse_amount(\%myconfig, $form->{"exchangerate"}) > 0); |
|
787 |
} |
|
785 | 788 |
|
786 | 789 |
delete($form->{AR}); |
787 | 790 |
|
Auch abrufbar als: Unified diff
Buchungsmasken: Wert des Wechselkurs auf valide Inhalte vor Buchung prüfen