1 # Copyright 2002-2007 Interchange Development Group and others
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version. See the LICENSE file for details.
8 # $Id: total_cost.coretag,v 1.7 2007-03-30 23:40:49 pajamian Exp $
10 UserTag total-cost Order name noformat
11 UserTag total-cost attrAlias cart name
12 UserTag total-cost attrAlias space discount_space
13 UserTag total-cost PosNumber 2
14 UserTag total-cost addAttr
15 UserTag total-cost Version $Revision: 1.7 $
16 UserTag total-cost Routine <<EOR
18 my($cart, $noformat, $opt) = @_;
19 return currency( total_cost($cart, $opt->{discount_space}), $noformat, undef, $opt);