Remove service charges when invoice is reset in one step form #270
This commit is contained in:
parent
39fdf318d4
commit
77fe7e8521
1 changed files with 2 additions and 1 deletions
|
|
@ -1372,8 +1372,9 @@ $(function() {
|
|||
// reset the invoice table
|
||||
$("#btn-reset-invoice").click(function() {
|
||||
$("#invoice-discount").prop('selectedIndex', 0);
|
||||
$(.sc-select').nearest('.row').remove();
|
||||
invoiceItems = [];
|
||||
sc_array = [];
|
||||
sc_array = [];
|
||||
generateInvoice();
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue