Revision 9aa4d575
Von Jan Büren vor fast 2 Jahren hinzugefügt
bin/mozilla/ap.pl | ||
---|---|---|
834 | 834 |
|
835 | 835 |
$form->error($locale->text('Zero amount posting!')) if $zero_amount_posting; |
836 | 836 |
|
837 |
$form->isblank("exchangerate", $locale->text('Exchangerate missing!')) |
|
838 |
if ($form->{defaultcurrency} && ($form->{currency} ne $form->{defaultcurrency})); |
|
837 |
if ($form->{defaultcurrency} && ($form->{currency} ne $form->{defaultcurrency})) { |
|
838 |
$form->isblank("exchangerate", $locale->text('Exchangerate missing!')); |
|
839 |
$form->error($locale->text('Cannot post invoice with negative exchange rate')) |
|
840 |
unless ($form->parse_amount(\%myconfig, $form->{"exchangerate"}) > 0); |
|
841 |
} |
|
842 |
|
|
839 | 843 |
delete($form->{AP}); |
840 | 844 |
|
841 | 845 |
for my $i (1 .. $form->{paidaccounts}) { |
Auch abrufbar als: Unified diff
Buchungsmasken: Wert des Wechselkurs auf valide Inhalte vor Buchung prüfen