From 3082e274b70a93fdac8a9a63934252ed914fe406 Mon Sep 17 00:00:00 2001 From: Anthony Tsui Date: Tue, 22 Jul 2014 17:12:07 -0700 Subject: Switch back to BTC from mBTC --- public/js/calculator.coffee | 2 +- public/js/report.coffee | 1 - views/calculator/show.html | 2 +- views/transactions/index.html | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/public/js/calculator.coffee b/public/js/calculator.coffee index f035855e..8d7040f1 100644 --- a/public/js/calculator.coffee +++ b/public/js/calculator.coffee @@ -166,7 +166,7 @@ setupSocket = -> updateTotal = -> amount = parseFloat($('#amount').val() * tip) - total = (amount * 1000 / g.exchange).toFixed(5) + total = (amount / g.exchange).toFixed(5) g.receivable = (amount / g.exchange).toFixed(8) unless $.isNumeric(total) diff --git a/public/js/report.coffee b/public/js/report.coffee index 9f8a011b..c152e0d9 100644 --- a/public/js/report.coffee +++ b/public/js/report.coffee @@ -59,7 +59,6 @@ display = (transactions) -> exchange = parseFloat(this.exchange) received = parseFloat(this.received) amount = received * exchange - received *= 1000 $('.report tbody').append(""" diff --git a/views/calculator/show.html b/views/calculator/show.html index d0be8db2..f6949f71 100644 --- a/views/calculator/show.html +++ b/views/calculator/show.html @@ -44,7 +44,7 @@
-

Please send 0.0 mBTC to

+

Please send 0.0 BTC to

diff --git a/views/transactions/index.html b/views/transactions/index.html index 3cd88d1f..d214ea20 100644 --- a/views/transactions/index.html +++ b/views/transactions/index.html @@ -24,7 +24,7 @@ Date Address Rate - mBTC + BTC CAD -- cgit v1.2.3