TOYKIO WRAPS
PRIVATE SECURITY FILM QUOTING

Access is invitation-only. Contact a Toykio administrator if you need an account.

TOYKIO WRAPSSECURITY FILM QUOTING
Working prototype. Data is stored only in this browser. It is not yet shared across employee devices and is not connected to Square. Use the Quote tab → Print / Save PDF to open a customer-ready proposal, then choose “Save as PDF” in the print dialog. Confirm all calculations and glass suitability before issuing quotes.

Customer & job

Site photographs

Photo filenames will be listed here; image files are not uploaded or synced in this prototype.
`);win.document.close();win.focus(); } function download(obj,name){let a=document.createElement('a'),u=URL.createObjectURL(new Blob([JSON.stringify(obj,null,2)],{type:'application/json'}));a.href=u;a.download=name;a.click();URL.revokeObjectURL(u)} document.querySelectorAll('nav button').forEach(b=>b.onclick=()=>{document.querySelectorAll('nav button').forEach(x=>x.classList.toggle('active',x===b));document.querySelectorAll('.tab').forEach(x=>x.classList.toggle('hidden',x.id!==b.dataset.tab));if(b.dataset.tab==='quote')renderQuote();if(b.dataset.tab==='settings')settingsUI();if(b.dataset.tab==='customers')renderCustomers()});$('add').onclick=()=>add();$('recalc').onclick=()=>{calcUI();renderQuote();alert('Quote calculations refreshed.')};$('print').onclick=openPrintableQuote;$('save').onclick=saveQuote;$('export').onclick=()=>download({form:formData(),windows:W,settings:S,products:P,optionProducts,quoteHistory:getQuoteRecords()},'toykio-quote.json');$('customerSearch').oninput=renderCustomers;$('photos').onchange=e=>$('photoNames').textContent=[...e.target.files].map(f=>f.name).join(', ')+' (not uploaded)';['difficulty','method','orders','attachment','siliconeFeet','siliconeInches','siliconeRate','other','km','product'].forEach(id=>$(id).addEventListener('input',()=>{calcUI();if(!$('quote').classList.contains('hidden'))renderQuote()}));[['shipping','shipping'],['waste','waste'],['travelRate','travel'],['travelHours','travelHours'],['installRate','install']].forEach(([id,k])=>$(id).onchange=()=>{S[k]=Number($(id).value);if(k==='travel')S.travel=Math.max(.75,Math.min(1,S.travel));saveS();calcUI()});$('backup').onclick=()=>download({settings:S,products:P,lastQuote:localStorage.getItem('tq_last_quote'),quotes:getQuoteRecords()},'toykio-quote-backup.json');$('reset').onclick=()=>{if(confirm('Reset pricing settings to prototype defaults?')){S=structuredClone(D);saveS();settingsUI();calcUI()}};settingsUI();renderCustomers();$('date').value=new Date().toISOString().slice(0,10);add({name:'Window 1',q:1,w:48,h:72,roll:48});