import{f as m,j as n}from"./index-C8aoN8t4.js";import{OrderForm as a}from"./OrderForm-DqNVsXXj.js";import{r,b as i}from"./vendor-ChGFRQAq.js";import"./pdf-DdgWE7Gk.js";import"./ui-wfmc48pO.js";import"./AddCommissionPersonModal-C7CHECcP.js";import"./AddEditCustomerModal-CvC0Ih86.js";import"./react-barcode-NDIZ92Xv.js";import"./SlidingTabs-B8YRTrwv.js";import"./ImpositionVisualizer-UO6iznHJ.js";const w=()=>{const[o,t]=r.useState(!0),{paperTypes:e}=m(),s=i();r.useEffect(()=>{console.log("Paper types updated in NewOrder:",e.length)},[e]);const p=()=>{t(!1),s("/dashboard")};return n.jsxDEV(a,{isOpen:o,onClose:p,type:"order"},`order-form-${e.length}`,!1,{fileName:"D:/devlop/projects/printing system/src/pages/customer/NewOrder.tsx",lineNumber:23,columnNumber:5},void 0)};export{w as default};
