check product sale report

This commit is contained in:
phyusin
2018-02-26 11:24:47 +06:30
parent 7043eccb73
commit 5523ff6fc1
7 changed files with 125 additions and 130 deletions

View File

@@ -441,7 +441,7 @@
var othertotal = parseFloat(credit1) + parseFloat(card1) + parseFloat(paypar1) + parseFloat(visa1) + parseFloat(jcb1) + parseFloat(master1) + parseFloat(unionpay1);
var total = $('#amount_due').text();
var amt = parseFloat(total) - parseFloat(othertotal);
$('#cash').text(parseFloat(amt).toFixed(1));
$('#cash').text(parseFloat(amt).toFixed(2));
update_balance();
break;
}