[interchange-cvs] interchange - heins modified lib/Vend/Ship.pm
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Mon Jul 5 17:59:56 EDT 2004
User: heins
Date: 2004-07-05 21:59:56 GMT
Modified: lib/Vend Ship.pm
Log:
* Add @@CRIT@@ marker to cost area.
Revision Changes Path
2.8 +2 -1 interchange/lib/Vend/Ship.pm
rev 2.8, prev_rev 2.7
Index: Ship.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Ship.pm,v
retrieving revision 2.7
retrieving revision 2.8
diff -u -r2.7 -r2.8
--- Ship.pm 5 Jul 2004 21:46:33 -0000 2.7
+++ Ship.pm 5 Jul 2004 21:59:56 -0000 2.8
@@ -1,6 +1,6 @@
# Vend::Ship - Interchange shipping code
#
-# $Id: Ship.pm,v 2.7 2004/07/05 21:46:33 mheins Exp $
+# $Id: Ship.pm,v 2.8 2004/07/05 21:59:56 mheins Exp $
#
# Copyright (C) 2002-2003 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
@@ -705,6 +705,7 @@
elsif ($what =~ /^f\s*(.*)/i) {
$formula = $o->{formula} || $1;
$formula =~ s/\@\@TOTAL\@\\?\@/$total/ig;
+ $formula =~ s/\@\@CRIT\@\\?\@/$total/ig;
$formula = interpolate_html($formula)
if $formula =~ /__\w+__|\[\w/;
$cost = $Vend::Interpolate::ready_safe->reval($formula);
More information about the interchange-cvs
mailing list