"use strict";(self.webpackChunk_cromwell_admin_panel=self.webpackChunk_cromwell_admin_panel||[]).push([[288],{75277:(e,t,l)=>{l.d(t,{b:()=>i});const i=["Pending","Awaiting shipment","Shipped","Refunded","Cancelled","Completed"]},21411:(e,t,l)=>{l.r(t),l.d(t,{default:()=>d});var i=l(63756),a=l(49352),n=l(2784),m=l(42934),r=l(75277),p=l(7736);const s=m.Z;function d(){const e=(0,a.getGraphQLClient)();return n.createElement(s,{entityCategory:i.EDBEntity.Order,entityListRoute:p.JB.route,entityBaseRoute:p.Pq.baseRoute,listLabel:"Orders",entityLabel:"Order",hideAddNew:!0,getManyFiltered:e.getFilteredOrders,deleteOne:e.deleteOrder,deleteMany:e.deleteManyOrders,deleteManyFiltered:e.deleteManyFilteredOrders,columns:[{name:"id",label:"ID",type:"Simple text",exactSearch:!0,visible:!0,maxWidth:"100px"},{name:"status",label:"Status",type:"Simple text",visible:!0,exactSearch:!0,searchOptions:r.b.map((e=>({value:e,label:e})))},{name:"orderTotalPrice",label:"Total",type:"Currency",visible:!0},{name:"createDate",label:"Created",type:"Datetime",visible:!0},{name:"updateDate",label:"Updated",type:"Datetime",visible:!1},{name:"customerName",label:"Name",type:"Simple text",visible:!0},{name:"customerAddress",label:"Address",type:"Simple text",visible:!0},{name:"customerPhone",label:"Phone",type:"Simple text",visible:!1},{name:"customerEmail",label:"Email",type:"Simple text",visible:!1},{name:"customerComment",label:"Comment",type:"Simple text",visible:!1},{name:"shippingMethod",label:"Shipping method",type:"Simple text",visible:!1},{name:"paymentMethod",label:"Payment method",type:"Simple text",visible:!1},{name:"shippingPrice",label:"Shipping price",type:"Currency",visible:!1},{name:"totalQnt",label:"Total Qnt",type:"Simple text",visible:!1},{name:"userId",label:"User ID",type:"Simple text",visible:!1},{name:"currency",label:"Currency",type:"Simple text",visible:!1}]})}}}]);