aboutsummaryrefslogtreecommitdiffstats
path: root/public/js/calculator.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2016-02-14 17:58:31 -0800
committerAdam Soltys <[email protected]>2016-02-14 17:58:31 -0800
commitd270e7367c6968f16e39392f01b96a219b0ab047 (patch)
tree6d92339a116102b607efc9389e85f373351556c7 /public/js/calculator.js
parent28365158a300bd1d9d7cc6882ce3b350dd1320ed (diff)
downloadcoinos-server-d270e7367c6968f16e39392f01b96a219b0ab047.tar.gz
coinos-server-d270e7367c6968f16e39392f01b96a219b0ab047.zip
Record and display tips (closes #7)
Diffstat (limited to 'public/js/calculator.js')
-rw-r--r--public/js/calculator.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/public/js/calculator.js b/public/js/calculator.js
index fe3ce42c..f54e70bd 100644
--- a/public/js/calculator.js
+++ b/public/js/calculator.js
@@ -224,7 +224,8 @@
address: g.user.address,
date: moment().format("YYYY-MM-DD HH:mm:ss"),
received: amount,
- exchange: g.exchange
+ exchange: g.exchange,
+ tip: g.tip
});
}
return getAddress();