Fix typo in js for one step form #270

This commit is contained in:
Kendrick Chan 2020-02-18 10:05:59 +08:00
parent 77fe7e8521
commit 8e73c16b74

View file

@ -1372,7 +1372,7 @@ $(function() {
// reset the invoice table
$("#btn-reset-invoice").click(function() {
$("#invoice-discount").prop('selectedIndex', 0);
$(.sc-select').nearest('.row').remove();
$('.sc-select').nearest('.row').remove();
invoiceItems = [];
sc_array = [];
generateInvoice();