cart display now shows price and amount per item

This commit is contained in:
Senad Uka
2015-02-14 07:53:57 +01:00
parent 9ca7b33b91
commit ba22ea8bd7
7 changed files with 62 additions and 21 deletions

View File

@@ -1,3 +1,7 @@
module.exports = {
ApiUrl: 'http://localhost:4567'
ApiUrl: 'http://localhost:4567',
FormatCurrency: function(amount_s) {
var amount = parseFloat(amount_s);
return ( amount.toFixed(2) + " KM" )
}
};