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();
|
||||
});
|
||||
|
||||
// reset the invoice table
|
||||
$("#btn-reset-invoice").click(function() {
|
||||
$("#invoice-discount").prop('selectedIndex', 0);
|
||||
invoiceItems = [];
|
||||
generateInvoice();
|
||||
});
|
||||
// reset the invoice table
|
||||
$("#btn-reset-invoice").click(function() {
|
||||
$("#invoice-discount").val(0);
|
||||
invoiceItems = [];
|
||||
generateInvoice();
|
||||
});
|
||||
|
||||
// recompute
|
||||
$("#btn-recompute-invoice").click(function() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue