Revision eaa30664
Von Jan Büren vor fast 2 Jahren hinzugefügt
bin/mozilla/ir.pl | ||
---|---|---|
964 | 964 |
$form->error($locale->text('Cannot post invoice for a closed period!')) |
965 | 965 |
if ($invdate <= $closedto); |
966 | 966 |
|
967 |
$form->isblank("exchangerate", $locale->text('Exchangerate missing!')) |
|
968 |
if ($form->{currency} ne $form->{defaultcurrency}); |
|
969 |
|
|
967 |
if ($form->{currency} ne $form->{defaultcurrency}) { |
|
968 |
$form->isblank("exchangerate", $locale->text('Exchangerate missing!')); |
|
969 |
$form->error($locale->text('Cannot post invoice with negative exchange rate')) |
|
970 |
unless ($form->parse_amount(\%myconfig, $form->{"exchangerate"}) > 0); |
|
971 |
} |
|
970 | 972 |
my $i; |
971 | 973 |
for $i (1 .. $form->{paidaccounts}) { |
972 | 974 |
if ($form->parse_amount(\%myconfig, $form->{"paid_$i"})) { |
Auch abrufbar als: Unified diff
Buchungsmasken: Wert des Wechselkurs auf valide Inhalte vor Buchung prüfen