Revision ed915d11
Von Jan Büren vor fast 2 Jahren hinzugefügt
bin/mozilla/ap.pl | ||
---|---|---|
844 | 844 |
|
845 | 845 |
$form->error($locale->text('Zero amount posting!')) if $zero_amount_posting; |
846 | 846 |
|
847 |
$form->isblank("exchangerate", $locale->text('Exchangerate missing!')) |
|
848 |
if ($form->{defaultcurrency} && ($form->{currency} ne $form->{defaultcurrency})); |
|
847 |
if ($form->{defaultcurrency} && ($form->{currency} ne $form->{defaultcurrency})) { |
|
848 |
$form->isblank("exchangerate", $locale->text('Exchangerate missing!')); |
|
849 |
$form->error($locale->text('Cannot post invoice with negative exchange rate')) |
|
850 |
unless ($form->parse_amount(\%myconfig, $form->{"exchangerate"}) > 0); |
|
851 |
} |
|
852 |
|
|
849 | 853 |
delete($form->{AP}); |
850 | 854 |
|
851 | 855 |
for my $i (1 .. $form->{paidaccounts}) { |
Auch abrufbar als: Unified diff
Buchungsmasken: Wert des Wechselkurs auf valide Inhalte vor Buchung prüfen