(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8161],{14519:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>o});var l=a(95155);a(12115);var t=a(35695),n=a(4894),d=a(35169),i=a(29611),r=a(24304),c=a(12301);function o(){var e,s;let a=(0,t.useParams)(),o=(0,t.useRouter)(),u=a.eventId,{companyId:v,serviceCodeOrDefault:m}=(0,c.m)(),x=m("evengo"),{data:h}=(0,r.LJ)(v,x,1,100),j=null==h||null==(e=h.data)?void 0:e.find(e=>e.id===u),{data:k,isLoading:N}=(0,r.V4)(v,u,1,100);return(0,l.jsxs)("div",{className:"space-y-6",children:[(0,l.jsxs)("div",{className:"flex items-center gap-4",children:[(0,l.jsxs)(n.$,{variant:"outline",onClick:()=>o.back(),children:[(0,l.jsx)(d.A,{className:"w-4 h-4 mr-2"}),"Retour"]}),(0,l.jsxs)("div",{children:[(0,l.jsxs)("h1",{className:"text-3xl font-bold text-gray-900",children:["Commandes - ",(null==j?void 0:j.libelle)||(null==j||null==(s=j.data)?void 0:s.titre)||"\xc9v\xe9nement"]}),(0,l.jsx)("p",{className:"text-gray-600 mt-2",children:"G\xe9rez les commandes et tickets pour cet \xe9v\xe9nement"})]})]}),(0,l.jsx)(i.gk,{orders:(null==k?void 0:k.data)||[],stats:null==k?void 0:k.stats,isLoading:N})]})}},18992:(e,s,a)=>{Promise.resolve().then(a.bind(a,14519))}},e=>{var s=s=>e(e.s=s);e.O(0,[4277,8595,7838,5152,7307,8655,4470,2960,2264,5452,7129,6358,6874,4386,396,9611,8441,1684,7358],()=>s(18992)),_N_E=e.O()}]);