fix wallet insufficient credit

This commit is contained in:
omair saleh
2022-03-04 12:26:50 +08:00
parent 9ff3f3ab5b
commit caecd431b0
@@ -529,7 +529,7 @@
computed: {
walletOutstanding(){
let walletBalance = this.data.company.wallet ? this.data.company.wallet.amount : 0;
return walletBalance - this.calculation.total;
return (walletBalance - this.calculation.total).toFixed(2);
}
},
methods: {