ItemQtyRateAmountRemove
Subtotal
Discount (%)
Discount Amount
Tax (%)
Tax Amount
Total
Total Deposit / Payment
Balance
`; printWindow.document.open(); printWindow.document.write(html); printWindow.document.close();var checkLogoLoaded = function() { var logoImg = printWindow.document.getElementById('logoImg'); if (logoImg) { if (logoImg.complete) { printWindow.focus(); printWindow.print(); } else { logoImg.onload = function() { printWindow.focus(); printWindow.print(); }; } } else { printWindow.focus(); printWindow.print(); } };setTimeout(checkLogoLoaded, 300);});// helpers function escapeHtml(s){ return String(s).replace(/[&<>"']/g, function(m){return {'&':'&','<':'<','>':'>','"':'"',"'":'''}[m]; }); } function nl2br(s){ return String(s).replace(/\n/g, '
'); }// Add first empty row by default loadItemsData(); })();