|
@@ -1635,10 +1635,9 @@
|
1635
|
1635
|
total = total + this.month_prescriptions[i].addition[b].price * this.month_prescriptions[i].addition[b].count
|
1636
|
1636
|
}
|
1637
|
1637
|
}
|
1638
|
|
- total = Math.floor(total * 100) / 100
|
1639
|
1638
|
}
|
1640
|
1639
|
}
|
1641
|
|
- return total
|
|
1640
|
+ return total.toFixed(2)
|
1642
|
1641
|
|
1643
|
1642
|
},
|
1644
|
1643
|
getCurTotal() {
|
|
@@ -1653,7 +1652,7 @@
|
1653
|
1652
|
for (let a = 0; a < this.curPrescriptions.project.length; a++) {
|
1654
|
1653
|
total = total + this.curPrescriptions.project[a].price * this.curPrescriptions.project[a].total
|
1655
|
1654
|
}
|
1656
|
|
- return Math.floor(total * 100) / 100
|
|
1655
|
+ return total.toFixed(2)
|
1657
|
1656
|
}
|
1658
|
1657
|
|
1659
|
1658
|
},
|
|
@@ -1678,7 +1677,7 @@
|
1678
|
1677
|
}
|
1679
|
1678
|
}
|
1680
|
1679
|
|
1681
|
|
- return Math.floor(total * 100) / 100
|
|
1680
|
+ return total.toFixed(2)
|
1682
|
1681
|
}, getMonthTotal() {
|
1683
|
1682
|
var total = 0
|
1684
|
1683
|
for (let i = 0; i < this.month_prescriptions.length; i++) {
|
|
@@ -1700,7 +1699,7 @@
|
1700
|
1699
|
}
|
1701
|
1700
|
}
|
1702
|
1701
|
|
1703
|
|
- return Math.floor(total * 100) / 100
|
|
1702
|
+ return total.toFixed(2)
|
1704
|
1703
|
},
|
1705
|
1704
|
createFilter(queryString) {
|
1706
|
1705
|
return (restaurant) => {
|