Fix display of discount for walkin form when reset button for invoice is clicked. #270
This commit is contained in:
parent
688ccd8a91
commit
15fa7aafc6
1 changed files with 6 additions and 6 deletions
|
|
@ -946,12 +946,12 @@ var vdata = false;
|
||||||
generateInvoice();
|
generateInvoice();
|
||||||
});
|
});
|
||||||
|
|
||||||
// reset the invoice table
|
// reset the invoice table
|
||||||
$("#btn-reset-invoice").click(function() {
|
$("#btn-reset-invoice").click(function() {
|
||||||
$("#invoice-discount").prop('selectedIndex', 0);
|
$("#invoice-discount").val(0);
|
||||||
invoiceItems = [];
|
invoiceItems = [];
|
||||||
generateInvoice();
|
generateInvoice();
|
||||||
});
|
});
|
||||||
|
|
||||||
// recompute
|
// recompute
|
||||||
$("#btn-recompute-invoice").click(function() {
|
$("#btn-recompute-invoice").click(function() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue