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 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'public') 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(""" -- cgit v1.2.3