Revision 9aa4d575
Von Jan Büren vor mehr als 1 Jahr hinzugefügt
bin/mozilla/ir.pl | ||
---|---|---|
916 | 916 |
$form->error($locale->text('Cannot post invoice for a closed period!')) |
917 | 917 |
if ($invdate <= $closedto); |
918 | 918 |
|
919 |
$form->isblank("exchangerate", $locale->text('Exchangerate missing!')) |
|
920 |
if ($form->{currency} ne $form->{defaultcurrency}); |
|
921 |
|
|
919 |
if ($form->{currency} ne $form->{defaultcurrency}) { |
|
920 |
$form->isblank("exchangerate", $locale->text('Exchangerate missing!')); |
|
921 |
$form->error($locale->text('Cannot post invoice with negative exchange rate')) |
|
922 |
unless ($form->parse_amount(\%myconfig, $form->{"exchangerate"}) > 0); |
|
923 |
} |
|
922 | 924 |
my $i; |
923 | 925 |
for $i (1 .. $form->{paidaccounts}) { |
924 | 926 |
if ($form->parse_amount(\%myconfig, $form->{"paid_$i"})) { |
Auch abrufbar als: Unified diff
Buchungsmasken: Wert des Wechselkurs auf valide Inhalte vor Buchung prüfen