* VRFS-3078 - show original price in void purchase

This commit is contained in:
Seth Call 2015-04-22 14:20:07 -05:00
parent 2fc8041f3f
commit 39f45f20ba
3 changed files with 3 additions and 2 deletions

View File

@ -71,7 +71,7 @@ context.JK.AccountPaymentHistoryScreen = class AccountPaymentHistoryScreen
if sale.state.voided
status = 'voided'
displayAmount = (0).toFixed(2)
displayAmount = (amt/100).toFixed(2)
else if refund_state?
status = refund_state
displayAmount = (amt/100).toFixed(2) + " (refunded: #{(refund_total/100).toFixed(2)})"

View File

@ -227,6 +227,7 @@
$orderPanel.addClass("hidden")
$thanksPanel.removeClass("hidden")
jamTrackUtils.checkShoppingCart()
app.refreshUser()
handleJamTracksPurchased(purchaseResponse.jam_tracks)
}

View File

@ -38,7 +38,7 @@ div layout="screen" layout-id="checkoutOrder" id="checkoutOrderScreen" class="sc
br
.thanks-detail.jam-tracks-in-browser.hidden
p To play your purchased JamTrack, launch the JamKazam application and open the JamTrack while in a session.
a.download-jamkazam-wrapper.hidden href="/downloads"
a.download-jamkazam-wrapper.hidden href="/downloads" rel="external"
.download-jamkazam
| Click Here to Get the Free JamKazam Application
.thanks-detail.purchased-jam-track.hidden