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,6 +1372,7 @@ $(function() {
|
||||||
// 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").prop('selectedIndex', 0);
|
||||||
|
$(.sc-select').nearest('.row').remove();
|
||||||
invoiceItems = [];
|
invoiceItems = [];
|
||||||
sc_array = [];
|
sc_array = [];
|
||||||
generateInvoice();
|
generateInvoice();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue