[ic] Something for the whislist
Lars Tode
lars.tode at bpanet.de
Tue Jan 22 12:25:11 EST 2008
Hallo Mike,
>
> Give us a patch, and we can certainly look at it. We always
> like bug fixes -- users have contributed many, many of them over the
> 12 years Interchange has been around.
>
Changes are marked with a ~, new lines with a +.
Changes in Vend::Interpolate::levies()
my $item = {
code
=> $name,
mode
=> $mode,
type
=> $type,
~ sort
=> $sort || $l->{'sort'},
cost
=> round_to_frac_digits($cost),
currency
=> currency($cost),
group
=> $group,
inclusive
=> $l->{inclusive},
label
=> $l->{label} || $desc,
part_number
=> $l->{part_number},
description
=> $desc,
};
If $sort is not return by custom - functions, the levy - configuration
is used.
for(@$lcart) {
next if $opt->{group} and $opt->{group} ne $_->{group};
+ next() if ($_->{inclusive});
next if $_->{type} eq 'salestax'
and $_->{inclusive} ||
$Vend::Cfg->{TaxInclusive};
$run += $_->{cost};
}
Thank you very much :-)
Regards,
Lars
More information about the interchange-users
mailing list