levies — display total cost of levy charges
Attribute | Pos. | Req. | Default | Description |
---|---|---|---|---|
recalculate | force recalculation of levy charges | |||
cart | ||||
interpolate | 0 | interpolate output? | ||
hide | 0 | Hide the tag return value? |
Interchange 5.9.0:
Source: code/SystemTag/levies.coretag
Lines: 21
# Copyright 2002-2007 Interchange Development Group and others # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. See the LICENSE file for details. # # $Id: levies.coretag,v 1.5 2007-03-30 23:40:49 pajamian Exp $ UserTag levies Order group UserTag levies addAttr UserTag levies PosNumber 1 UserTag levies Version $Revision: 1.5 $ UserTag levies Routine <<EOR sub { my ($group, $opt) = @_; my $cost = Vend::Interpolate::levies($opt->{recalculate}, $opt->{cart}, $opt); return $cost unless $opt->{hide}; return ''; } EOR