Revision ed915d11
Von Jan Büren vor etwa 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}) { |
bin/mozilla/ar.pl | ||
---|---|---|
780 | 780 |
$form->error($locale->text('Zero amount posting!')) |
781 | 781 |
unless grep $_*1, map $form->parse_amount(\%myconfig, $form->{"amount_$_"}), 1..$form->{rowcount}; |
782 | 782 |
|
783 |
$form->isblank("exchangerate", $locale->text('Exchangerate missing!')) |
|
784 |
if ($form->{defaultcurrency} && ($form->{currency} ne $form->{defaultcurrency})); |
|
783 |
if ($form->{defaultcurrency} && ($form->{currency} ne $form->{defaultcurrency})) { |
|
784 |
$form->isblank("exchangerate", $locale->text('Exchangerate missing!')); |
|
785 |
$form->error($locale->text('Cannot post invoice with negative exchange rate')) |
|
786 |
unless ($form->parse_amount(\%myconfig, $form->{"exchangerate"}) > 0); |
|
787 |
} |
|
785 | 788 |
|
786 | 789 |
delete($form->{AR}); |
787 | 790 |
|
bin/mozilla/ir.pl | ||
---|---|---|
936 | 936 |
$form->error($locale->text('Cannot post invoice for a closed period!')) |
937 | 937 |
if ($invdate <= $closedto); |
938 | 938 |
|
939 |
$form->isblank("exchangerate", $locale->text('Exchangerate missing!')) |
|
940 |
if ($form->{currency} ne $form->{defaultcurrency}); |
|
941 |
|
|
939 |
if ($form->{currency} ne $form->{defaultcurrency}) { |
|
940 |
$form->isblank("exchangerate", $locale->text('Exchangerate missing!')); |
|
941 |
$form->error($locale->text('Cannot post invoice with negative exchange rate')) |
|
942 |
unless ($form->parse_amount(\%myconfig, $form->{"exchangerate"}) > 0); |
|
943 |
} |
|
942 | 944 |
my $i; |
943 | 945 |
for $i (1 .. $form->{paidaccounts}) { |
944 | 946 |
if ($form->parse_amount(\%myconfig, $form->{"paid_$i"})) { |
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})); |
locale/de/all | ||
---|---|---|
613 | 613 |
'Cannot post invoice for a closed period!' => 'Das Rechnungsdatum fällt in einen abgeschlossen Zeitraum!', |
614 | 614 |
'Cannot post invoice for advance payment with more than one tax' => 'Anzahlungsrechnung mit mehr als einem Steuersatz kann nicht gebucht werden', |
615 | 615 |
'Cannot post invoice for advance payment with taxincluded' => 'Eine Anzahlungsrechnung mit Steuer im Preis inbegriffen kann nicht gebucht werden', |
616 |
'Cannot post invoice with negative exchange rate' => 'Kann keinen Beleg mit einem negativen Wechselkurs verbuchen.', |
|
616 | 617 |
'Cannot post invoice!' => 'Rechnung kann nicht gebucht werden!', |
617 | 618 |
'Cannot post payment for a closed period!' => 'Es können keine Zahlungen für abgeschlossene Bücher gebucht werden!', |
618 | 619 |
'Cannot post payment!' => 'Zahlung kann nicht gebucht werden!', |
Auch abrufbar als: Unified diff
Buchungsmasken: Wert des Wechselkurs auf valide Inhalte vor Buchung prüfen