Remove totalPrice since it was in there twice
This commit is contained in:
parent
295ff15491
commit
85978eeb23
1 changed files with 1 additions and 1 deletions
|
|
@ -1145,7 +1145,7 @@ sub www_view {
|
||||||
$var{ inShopCreditAvailable } = $credit->getSum;
|
$var{ inShopCreditAvailable } = $credit->getSum;
|
||||||
$var{ inShopCreditDeduction } = $credit->calculateDeduction($var{totalPrice});
|
$var{ inShopCreditDeduction } = $credit->calculateDeduction($var{totalPrice});
|
||||||
$var{ totalPrice } = $self->formatCurrency($var{totalPrice} + $var{inShopCreditDeduction});
|
$var{ totalPrice } = $self->formatCurrency($var{totalPrice} + $var{inShopCreditDeduction});
|
||||||
foreach my $field (qw/subtotalPrice totalPrice inShopCreditAvailable inShopCreditDeduction totalPrice shippingPrice tax/) {
|
foreach my $field (qw/subtotalPrice inShopCreditAvailable inShopCreditDeduction totalPrice shippingPrice tax/) {
|
||||||
$var{$field} = sprintf q|<span id="%sWrap">%s</span>|, $field, $var{$field};
|
$var{$field} = sprintf q|<span id="%sWrap">%s</span>|, $field, $var{$field};
|
||||||
}
|
}
|
||||||
$var{ error } = $self->error;
|
$var{ error } = $self->error;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue