From 169e64a2b6a4a3a4f32bc9f344dc678407b912ed Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Tue, 11 Aug 2009 04:41:42 +0000 Subject: [PATCH] Fix a typo in getting the in store credit for the post-transaction email. --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/Shop/Transaction.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index cb4d45637..044a48b9e 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -1,4 +1,5 @@ 7.7.17 + - fixed #10748: In-store credit not reported correctly in email - fixed #10746: SQL queriy is improper for MySQL compliant query - fixed #10744: Shop quantity bug in Cart - fixed #10738: Events do not revision their storage locations diff --git a/lib/WebGUI/Shop/Transaction.pm b/lib/WebGUI/Shop/Transaction.pm index a43cc73c5..6bb226ffd 100644 --- a/lib/WebGUI/Shop/Transaction.pm +++ b/lib/WebGUI/Shop/Transaction.pm @@ -411,7 +411,7 @@ sub getTransactionVars { viewDetailUrl => $url->page( 'shop=transaction;method=viewMy;transactionId='.$self->getId, 1 ), cancelRecurringUrl => $url->page('shop=transaction;method=cancelRecurring;transactionId='.$self->getId), amount => sprintf( "%.2f", $self->get('amount') ), - inShopCreditDeduction => sprintf( "%.2f", $self->get('inShopCreditDeduction') ), + inShopCreditDeduction => sprintf( "%.2f", $self->get('shopCreditDeduction') ), taxes => sprintf( "%.2f", $self->get('taxes') ), shippingPrice => sprintf( "%.2f", $self->get('shippingPrice') ), shippingAddress => $self->formatAddress( {