Save names it Customer Name - Invoice #, saves the PDF, then clears for the next one.

Fill it in here

Big print for your phone. The invoice below fills in as you type.

]); var big=document.getElementById('big'),bx={}; BIG.forEach(function(p){var k=p[0],w=document.createElement('label');w.className='bg-row';var s=document.createElement('span');s.textContent=p[1];var i=document.createElement('input');i.type=el[k].type||'text';if(el[k].inputMode)i.inputMode=el[k].inputMode;if(k==='total')i.inputMode='decimal';i.value=el[k].value;i.addEventListener('input',function(){el[k].value=i.value});w.appendChild(s);w.appendChild(i);big.appendChild(w);bx[k]=i}); setInterval(function(){Object.keys(bx).forEach(function(k){if(document.activeElement!==bx[k]&&bx[k].value!==el[k].value)bx[k].value=el[k].value})},400); function fileName(){var n=el.name.value.trim()||'Customer',i=el.num.value.trim();return (n+' - Invoice '+i).replace(/[\\\/:*?"<>|]/g,'').trim()+'.pdf'} function summary(){ var out=['One of a Kind Tree Services · 313-662-4208','Invoice '+el.num.value+' · '+el.date.value,el.name.value,'']; for(var i=1;i<=10;i++){var v=el['d'+i].value.trim();if(v)out.push('• '+v)} if(el.total.value.trim())out.push('','Total: '+el.total.value.trim()); out.push('','Credit cards have a 3.5% fee. A 1/3 deposit is collected at the start of the job.','Thank you for your business!'); return out.join('\n'); } function makePdf(){ var clone=page.cloneNode(true); clone.querySelectorAll('.clr').forEach(function(n){n.remove()}); clone.querySelectorAll('input').forEach(function(n){var src=document.getElementById(n.id),d=document.createElement('div');d.className=n.className;d.style.cssText=n.style.cssText+';display:flex;align-items:center;white-space:nowrap;overflow:hidden;'+(n.classList.contains('tot')?'justify-content:flex-end;':'');d.textContent=src.value;n.replaceWith(d)}); clone.querySelectorAll('canvas').forEach(function(n){var src=document.getElementById(n.id),im=document.createElement('img');im.src=src.toDataURL();im.style.cssText=n.style.cssText+';position:absolute';n.replaceWith(im)}); clone.style.cssText='width:8.5in;height:11in;aspect-ratio:auto;box-shadow:none;margin:0'; var holder=document.createElement('div');holder.style.cssText='position:fixed;left:-10000px;top:0';holder.appendChild(clone);document.body.appendChild(holder); var opt={margin:0,filename:fileName(),image:{type:'jpeg',quality:0.95},html2canvas:{scale:2,useCORS:true},jsPDF:{unit:'in',format:'letter',orientation:'portrait'}}; return html2pdf().set(opt).from(clone).outputPdf('blob').then(function(b){holder.remove();return new File([b],opt.filename,{type:'application/pdf'})},function(e){holder.remove();throw e}); } function bumpNumber(){var v=el.num.value.trim(),m=v.match(/^(.*?)(\d+)$/);if(m&&v.indexOf('-')>-1&&m[2].length<5){var nx=String(parseInt(m[2],10)+1);while(nx.length