document.addEventListener("DOMContentLoaded",function(){const o=(window.quoteDetailConfig||{}).translations||{},n=document.querySelector(".js-accept-quote-form");n&&n.addEventListener("submit",function(t){const e=o.acceptConfirm||"Are you sure you want to accept this quote? An invoice will be created.";confirm(e)||t.preventDefault()});const c=document.querySelector(".js-reject-quote-form");c&&c.addEventListener("submit",function(t){const e=o.rejectConfirm||"Are you sure you want to reject this quote?";confirm(e)||t.preventDefault()})});
