fix
This commit is contained in:
parent
3df5a5bb15
commit
0fb37d4f2a
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ sub priceLineItem {
|
|||
my $numberOfThisPass = $passesInCart{$passId};
|
||||
# calculate discount.
|
||||
if ($pass->{type} eq 'newPrice') {
|
||||
$discountedPrice = (0 + $pass->{amount}) if ($discountedPrice < (0 + $pass->{amount}));
|
||||
$discountedPrice = (0 + $pass->{amount}) if ($price > (0 + $pass->{amount}));
|
||||
} elsif ($pass->{type} eq 'amountOff') {
|
||||
# not yet implemented!
|
||||
} elsif ($pass->{type} eq 'percentOff') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue