|
@@ -1689,12 +1689,12 @@ export default {
|
1689
|
1689
|
for (let i = 0; i < this.month_prescriptions.length; i++) {
|
1690
|
1690
|
if (this.month_prescriptions[i].advices != null) {
|
1691
|
1691
|
for (let a = 0; a < this.month_prescriptions[i].advices.length; a++) {
|
1692
|
|
- total = total + this.month_prescriptions[i].advices[a].retail_price * this.month_prescriptions[i].advices[a].prescribing_number
|
|
1692
|
+ total = total.toFixed(2) + (this.month_prescriptions[i].advices[a].retail_price * this.month_prescriptions[i].advices[a].prescribing_number).toFixed(2)
|
1693
|
1693
|
}
|
1694
|
1694
|
}
|
1695
|
1695
|
if (this.month_prescriptions[i].project != null) {
|
1696
|
1696
|
for (let b = 0; b < this.month_prescriptions[i].project.length; b++) {
|
1697
|
|
- total = total + this.month_prescriptions[i].project[b].price * this.month_prescriptions[i].project[b].total
|
|
1697
|
+ total = total.toFixed(2) + (this.month_prescriptions[i].project[b].price * this.month_prescriptions[i].project[b].total).toFixed(2)
|
1698
|
1698
|
}
|
1699
|
1699
|
}
|
1700
|
1700
|
|