Fix display of discount for walkin form when reset button for invoice is clicked. #270

This commit is contained in:
Korina Cordero 2020-02-18 03:55:11 +00:00
parent 688ccd8a91
commit 15fa7aafc6

View file

@ -948,7 +948,7 @@ var vdata = false;
// reset the invoice table
$("#btn-reset-invoice").click(function() {
$("#invoice-discount").prop('selectedIndex', 0);
$("#invoice-discount").val(0);
invoiceItems = [];
generateInvoice();
});