[interchange-cvs] interchange - heins modified lib/Vend/Data.pm

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Thu Jun 9 15:28:46 EDT 2005


User:      heins
Date:      2005-06-09 19:28:46 GMT
Modified:  lib/Vend Data.pm
Log:
* Don't read salestax.asc if in "multi" mode.

* Correct package of routine.

Revision  Changes    Path
2.51      +3 -2      interchange/lib/Vend/Data.pm


rev 2.51, prev_rev 2.50
Index: Data.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Data.pm,v
retrieving revision 2.50
retrieving revision 2.51
diff -u -r2.50 -r2.51
--- Data.pm	13 May 2005 04:10:58 -0000	2.50
+++ Data.pm	9 Jun 2005 19:28:45 -0000	2.51
@@ -1,6 +1,6 @@
 # Vend::Data - Interchange databases
 #
-# $Id: Data.pm,v 2.50 2005/05/13 04:10:58 mheins Exp $
+# $Id: Data.pm,v 2.51 2005/06/09 19:28:45 mheins Exp $
 # 
 # Copyright (C) 2002-2004 Interchange Development Group
 # Copyright (C) 1996-2002 Red Hat, Inc.
@@ -525,8 +525,9 @@
     my($code, $percent);
 
 	return unless $Vend::Cfg->{SalesTax};
+	return if $Vend::Cfg->{SalesTax} eq 'multi';
 	my $file = $Vend::Cfg->{Special}{'salestax.asc'};
-	$file = Vend::Util::catfile($Vend::Cfg->{ProductDir}, "salestax.asc")
+	$file = Vend::File::catfile($Vend::Cfg->{ProductDir}, "salestax.asc")
 		unless $file;
 
 	$Vend::Cfg->{SalesTaxTable} = {};








More information about the interchange-cvs mailing list