Revision ed915d11
Von Jan Büren vor fast 2 Jahren hinzugefügt
bin/mozilla/is.pl | ||
---|---|---|
1074 | 1074 |
$form->error($locale->text('Cannot post invoice for a closed period!')) |
1075 | 1075 |
if ($invdate <= $closedto); |
1076 | 1076 |
|
1077 |
$form->isblank("exchangerate", $locale->text('Exchangerate missing!')) |
|
1078 |
if ($form->{currency} ne $form->{defaultcurrency}); |
|
1077 |
if ($form->{currency} ne $form->{defaultcurrency}) { |
|
1078 |
$form->isblank("exchangerate", $locale->text('Exchangerate missing!')); |
|
1079 |
$form->error($locale->text('Cannot post invoice with negative exchange rate')) |
|
1080 |
unless ($form->parse_amount(\%myconfig, $form->{"exchangerate"}) > 0); |
|
1081 |
} |
|
1082 |
|
|
1079 | 1083 |
# advance payment allows only one tax |
1080 | 1084 |
if ($form->{type} eq 'invoice_for_advance_payment') { |
1081 | 1085 |
my @current_taxaccounts = (split(/ /, $form->{taxaccounts})); |
Auch abrufbar als: Unified diff
Buchungsmasken: Wert des Wechselkurs auf valide Inhalte vor Buchung prüfen