diff options
| author | Anthony Tsui <[email protected]> | 2014-07-22 17:12:07 -0700 |
|---|---|---|
| committer | Anthony Tsui <[email protected]> | 2014-07-22 17:12:07 -0700 |
| commit | 3082e274b70a93fdac8a9a63934252ed914fe406 (patch) | |
| tree | 5735dfe35ee4721e9f80d03958193528c8f69a7c | |
| parent | cf38dbcfd494eec9bc479845d918f1354197321f (diff) | |
| download | coinos-server-3082e274b70a93fdac8a9a63934252ed914fe406.tar.gz coinos-server-3082e274b70a93fdac8a9a63934252ed914fe406.zip | |
Switch back to BTC from mBTC
| -rw-r--r-- | public/js/calculator.coffee | 2 | ||||
| -rw-r--r-- | public/js/report.coffee | 1 | ||||
| -rw-r--r-- | views/calculator/show.html | 2 | ||||
| -rw-r--r-- | 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(""" <tr> 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 @@ <br /> <div id="payment"> - <p>Please send <strong id="total">0.0</strong> mBTC to</p> + <p>Please send <strong id="total">0.0</strong> BTC to</p> <div id="qr"></div> <p id="address"></p> </div> 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 @@ <th>Date</th> <th>Address</th> <th>Rate</th> - <th>mBTC</th> + <th>BTC</th> <th>CAD</th> </tr> </thead> |
