Revision 2e26ccd5
Von Bernd Blessmann vor etwa 13 Jahren hinzugefügt
bin/mozilla/ir.pl | ||
---|---|---|
|
||
$main::auth->assert('vendor_invoice_edit');
|
||
|
||
# map { $form->{$_} = $form->parse_amount(\%myconfig, $form->{$_}) } qw(exchangerate creditlimit creditremaining);
|
||
|
||
&check_name('vendor');
|
||
|
||
if (!$form->{forex}) { # read exchangerate from input field (not hidden)
|
||
$form->{exchangerate} = $form->parse_amount(\%myconfig, $form->{exchangerate});
|
||
}
|
||
$form->{forex} = $form->check_exchangerate(\%myconfig, $form->{currency}, $form->{invdate}, 'sell');
|
||
$form->{exchangerate} = $form->{forex} if $form->{forex};
|
||
|
bin/mozilla/is.pl | ||
---|---|---|
|
||
my ($recursive_call) = @_;
|
||
|
||
$form->{exchangerate} = $form->parse_amount(\%myconfig, $form->{exchangerate}) unless $recursive_call;
|
||
|
||
$form->{print_and_post} = 0 if $form->{second_run};
|
||
my $taxincluded = $form->{taxincluded} ? "checked" : '';
|
||
$form->{update} = 1;
|
||
... | ... | |
|
||
$form->{taxincluded} ||= $taxincluded;
|
||
|
||
if (!$form->{forex}) { # read exchangerate from input field (not hidden)
|
||
$form->{exchangerate} = $form->parse_amount(\%myconfig, $form->{exchangerate}) unless $recursive_call;
|
||
}
|
||
$form->{forex} = $form->check_exchangerate(\%myconfig, $form->{currency}, $form->{invdate}, 'buy');
|
||
$form->{exchangerate} = $form->{forex} if $form->{forex};
|
||
|
bin/mozilla/oe.pl | ||
---|---|---|
|
||
set_headings($form->{"id"} ? "edit" : "add");
|
||
|
||
map { $form->{$_} = $form->parse_amount(\%myconfig, $form->{$_}) } qw(exchangerate) unless $recursive_call;
|
||
$form->{update} = 1;
|
||
|
||
&check_name($form->{vc});
|
||
|
||
if (!$form->{forex}) { # read exchangerate from input field (not hidden)
|
||
map { $form->{$_} = $form->parse_amount(\%myconfig, $form->{$_}) } qw(exchangerate) unless $recursive_call;
|
||
}
|
||
my $buysell = 'buy';
|
||
$buysell = 'sell' if ($form->{vc} eq 'vendor');
|
||
$form->{forex} = $form->check_exchangerate(\%myconfig, $form->{currency}, $form->{transdate}, $buysell);
|
doc/changelog | ||
---|---|---|
- Bugfix 1752: Rechnung -> Druckvorschau ignoriert Änderung des Steuersatz beim Beleg
|
||
- Bugfix 1708: Fehlender Übertrag der Lieferadresse von Angebot -> Auftragsbestätigung
|
||
- Bugfix 1648: bebuchte Konten sollten nicht in Überschriften umgewandelt werden können
|
||
- Bugfix 1775: Wechselkurs in Einkaufrechnung kann nicht eingegeben werden
|
||
|
||
|
||
2011-06-15 - Release 2.6.3
|
Auch abrufbar als: Unified diff
Fix zu Bug 1775: Wechselkurs in Einkaufrechnung kann nicht eingegeben werden
Auch Zahlenformatierung repariert, wenn man das Datum von einem mit vorhandenem
Wechselkurs in eines ohne wechselt (Ver- und Einkauf).