changes in sales_invoice.js file