Revision 662ded38
Von Sven Schöling vor mehr als 14 Jahren hinzugefügt
bin/mozilla/ap.pl | ||
---|---|---|
972 | 972 |
|
973 | 973 |
$form->{defaultcurrency} = $form->get_default_currency(\%myconfig); |
974 | 974 |
|
975 |
my $invdate = $form->datetonum($form->{transdate}, \%myconfig); |
|
976 |
|
|
975 | 977 |
for my $i (1 .. $form->{paidaccounts}) { |
976 | 978 |
if ($form->parse_amount(\%myconfig, $form->{"paid_$i"})) { |
977 | 979 |
my $datepaid = $form->datetonum($form->{"datepaid_$i"}, \%myconfig); |
... | ... | |
983 | 985 |
|
984 | 986 |
if ($form->{defaultcurrency} && ($form->{currency} ne $form->{defaultcurrency})) { |
985 | 987 |
$form->{"exchangerate_$i"} = $form->{exchangerate} |
986 |
if ($form->{transdate} == $datepaid);
|
|
988 |
if ($invdate == $datepaid);
|
|
987 | 989 |
$form->isblank("exchangerate_$i", |
988 | 990 |
$locale->text('Exchangerate for payment missing!')); |
989 | 991 |
} |
Auch abrufbar als: Unified diff
Globale Variablen entfernt/umgewandelt.
Conflicts: