[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] Something for the whislist


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

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.