PageSourceSearch

https://app.connexecommerce.com/_next/static/chunks/pages/rule-eng…/order/order-details-2b0501a3d8e5e4fa.js

js connexecommerce.com collected 2026-09-26 02:47:32 UTC 44,282 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6192],{88760:function(e,l,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/rule-engine/order-previewer/order/order-details",function(){return o(55492)}])},51172:function(e,l,o){"use strict";o.d(l,{Z:function(){return P}});var n=o(87462),r=o(63366),s=o(67294),i=o(90512),t=o(94780),a=o(82963),c=o(89262),d=o(92617),u=o(94246),m=o(2101),p=o(12921),h=o(85893),v=(0,p.Z)((0,h.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz"),x=o(3051);let f=["slots","slotProps"],N=(0,c.ZP)(x.Z)(e=>{let{theme:l}=e;return(0,n.Z)({display:"flex",marginLeft:"calc(".concat(l.spacing(1)," * 0.5)"),marginRight:"calc(".concat(l.spacing(1)," * 0.5)")},"light"===l.palette.mode?{backgroundColor:l.palette.grey[100],color:l.palette.grey[700]}:{backgroundColor:l.palette.grey[700],color:l.palette.grey[100]},{borderRadius:2,"&:hover, &:focus":(0,n.Z)({},"light"===l.palette.mode?{backgroundColor:l.palette.grey[200]}:{backgroundColor:l.palette.grey[600]}),"&:active":(0,n.Z)({boxShadow:l.shadows[0]},"light"===l.palette.mode?{backgroundColor:(0,m._4)(l.palette.grey[200],.12)}:{backgroundColor:(0,m._4)(l.palette.grey[600],.12)})})}),j=(0,c.ZP)(v)({width:24,height:16});var y=function(e){let{slots:l={},slotProps:o={}}=e,s=(0,r.Z)(e,f);return(0,h.jsx)("li",{children:(0,h.jsx)(N,(0,n.Z)({focusRipple:!0},s,{ownerState:e,children:(0,h.jsx)(j,(0,n.Z)({as:l.CollapsedIcon,ownerState:e},o.collapsedIcon))}))})},g=o(1588),b=o(34867);function Z(e){return(0,b.ZP)("MuiBreadcrumbs",e)}let w=(0,g.Z)("MuiBreadcrumbs",["root","ol","li","separator"]),k=["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],S=e=>{let{classes:l}=e;return(0,t.Z)({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},Z,l)},C=(0,c.ZP)(u.Z,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,l)=>[{["& .".concat(w.li)]:l.li},l.root]})({}),D=(0,c.ZP)("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,l)=>l.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),G=(0,c.ZP)("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,l)=>l.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});var P=s.forwardRef(function(e,l){var o,t;let c=(0,d.i)({props:e,name:"MuiBreadcrumbs"}),{children:u,className:m,component:p="nav",slots:v={},slotProps:x={},expandText:f="Show path",itemsAfterCollapse:N=1,itemsBeforeCollapse:j=1,maxItems:g=8,separator:b="/"}=c,Z=(0,r.Z)(c,k),[w,P]=s.useState(!1),M=(0,n.Z)({},c,{component:p,expanded:w,expandText:f,itemsAfterCollapse:N,itemsBeforeCollapse:j,maxItems:g,separator:b}),O=S(M),F=(0,a.Z)({elementType:v.CollapsedIcon,externalSlotProps:x.collapsedIcon,ownerState:M}),_=s.useRef(null),L=s.Children.toArray(u).filter(e=>s.isValidElement(e)).map((e,l)=>(0,h.jsx)("li",{className:O.li,children:e},"child-".concat(l)));return(0,h.jsx)(C,(0,n.Z)({ref:l,component:p,color:"text.secondary",className:(0,i.Z)(O.root,m),ownerState:M},Z,{children:(0,h.jsx)(D,{className:O.ol,ref:_,ownerState:M,children:(o=w||g&&L.length<=g?L:j+N>=L.length?L:[...L.slice(0,j),(0,h.jsx)(y,{"aria-label":f,slots:{CollapsedIcon:v.CollapsedIcon},slotProps:{collapsedIcon:F},onClick:()=>{P(!0);let e=_.current.querySelector("a[href],button,[tabindex]");e&&e.focus()}},"ellipsis"),...L.slice(L.length-N,L.length)],t=O.separator,o.reduce((e,l,n)=>(n<o.length-1?e=e.concat(l,(0,h.jsx)(G,{"aria-hidden":!0,className:t,ownerState:M,children:b},"separator-".concat(n))):e.push(l),e),[]))})}))})},14223:function(e,l,o){"use strict";o.d(l,{Z:function(){return y}});var n=o(87462),r=o(63366),s=o(67294),i=o(90512),t=o(94780),a=o(2101),c=o(44718),d=o(92617),u=o(89262),m=o(1588),p=o(34867);function h(e){return(0,p.ZP)("MuiTableRow",e)}let v=(0,m.Z)("MuiTableRow",["root","selected","hover","head","footer"]);var x=o(85893);let f=["className","component","hover","selected"],N=e=>
1{let{classes:l,selected:o,hover:n,head:r,footer:s}=e;return(0,t.Z)({root:["root",o&&"selected",n&&"hover",r&&"head",s&&"footer"]},h,l)},j=(0,u.ZP)("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,l)=>{let{ownerState:o}=e;return[l.root,o.head&&l.head,o.footer&&l.footer]}})(e=>{let{theme:l}=e;return{color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,["&.".concat(v.hover,":hover")]:{backgroundColor:(l.vars||l).palette.action.hover},["&.".concat(v.selected)]:{backgroundColor:l.vars?"rgba(".concat(l.vars.palette.primary.mainChannel," / ").concat(l.vars.palette.action.selectedOpacity,")"):(0,a.Fq)(l.palette.primary.main,l.palette.action.selectedOpacity),"&:hover":{backgroundColor:l.vars?"rgba(".concat(l.vars.palette.primary.mainChannel," / calc(").concat(l.vars.palette.action.selectedOpacity," + ").concat(l.vars.palette.action.hoverOpacity,"))"):(0,a.Fq)(l.palette.primary.main,l.palette.action.selectedOpacity+l.palette.action.hoverOpacity)}}}});var y=s.forwardRef(function(e,l){let o=(0,d.i)({props:e,name:"MuiTableRow"}),{className:t,component:a="tr",hover:u=!1,selected:m=!1}=o,p=(0,r.Z)(o,f),h=s.useContext(c.Z),v=(0,n.Z)({},o,{component:a,hover:u,selected:m,head:h&&"head"===h.variant,footer:h&&"footer"===h.variant}),y=N(v);return(0,x.jsx)(j,(0,n.Z)({as:a,ref:l,className:(0,i.Z)(y.root,t),role:"tr"===a?null:"row",ownerState:v},p))})},70474:function(e,l,o){"use strict";o.d(l,{Z:function(){return N}});var n=o(85893),r=o(34934),s=o(82729);function i(){let e=(0,s._)(["\n	min-height: 100%;\n"]);return i=function(){return e},e}let t=o(88095).zo.div(i());var a=()=>(0,n.jsx)(t,{className:"flex items-center justify-center",children:(0,n.jsx)(r.Z,{color:"primary"})}),c=o(89262),d=o(58260),u=o(44531),m=o(14223),p=o(60293),h=o(71790);function v(){let e=(0,s._)(["\n	width: 100%;\n	height: 100%;\n	border: none;\n	transition: all ease 1s;\n	overflow-x: auto !important;\n\n	&& .MuiDataGrid-iconButtonContainer {\n		// make sort icon visible by default\n		visibility: visible !important;\n	}\n	&& .MuiDataGrid-sortIcon {\n		opacity: inherit !important;\n	}\n	&& .MuiDataGrid-sortIcon path {\n		color: ",';\n	}\n\n	&& .MuiDataGrid-columnHeaders {\n		background-color: "#f3f2fe";\n		border-radius: 10px !important;\n		border: none;\n	}\n	&& .MuiDataGrid-pinnedColumnHeaders {\n		padding-right: 0px !important;\n		background-color: #f3f2fe;\n	}\n	&& .MuiDataGrid-columnHeaderTitle {\n		color: ',";\n	}\n	&& .MuiDataGrid-columnSeparator {\n		background-color: ",";\n		visibility: visible;\n		display: none;\n		width: 0;\n	}\n	&& .muidatagrid-pinnedcolumns {\n		background: white;\n	}\n\n	&& .MuiDataGrid-cell--withRenderer {\n		background: white;\n	}\n	&& .MuiDataGrid-cell:focus {\n		outline: none; // Hides the focus border on cell selection\n	}\n	&& .MuiDataGrid-virtualScroller::-webkit-scrollbar {\n		width: 2px;\n		height: 2px;\n	}\n	&& .MuiDataGrid-cell {\n		overflow: auto;\n		white-space: inherit !important;\n	}\n\n	&& .MuiDataGrid-virtualScroller {\n		min-height: 45px;\n	}\n\n	&& .MuiDataGrid-cellContent {\n		text-overflow: inherit !important;\n	}\n	&& .MuiDataGrid-row:hover {\n		background-color: inherit; /* Prevent hover color */\n	}\n	&& .MuiDataGrid-row.Mui-selected {\n		background-color: ",";\n	}\n	// For OutLine None When We click on Columns\n	&& .MuiDataGrid-cell:focus-within {\n		outline: none !important;\n	}\n	&& .MuiDataGrid-columnHeader:focus-within {\n		outline: none !important;\n	}\n"]);return v=function(){return e},e}(0,c.ZP)(d.Z)(e=>{let{theme:l}=e;return{["&.".concat(u.Z.head)]:{backgroundColor:h.Z.color.customViolate,color:h.Z.color.customBlue,border:"none","&:first-child":{borderRadius:"10px 0 0 10px"},"&:last-child":{borderRadius:"0 10px 10px 0"}},["&.".concat(u.Z.body)]:{fontSize:14},minWidth:"200px",position:"sticky",right:0,zIndex:1,backgroundColor:"#fff",boxShadow:"0 2px 2px -1px rgba(0, 0, 0, 0.1)"}}),(0,c.ZP)(m.Z)(e=>{let{theme:l}=e;return{"&:last-child td, &:last-child th":{border:"none"}}});let x=(0,c.ZP)(p.s)(v(),h.Z.color.customBlue,h.Z.color.customBlue,h.Z.color.customViolate,h.Z.color.white),f=()=>(0,n.jsx)("span",{className:"font-16 pt1 flex items-center justify-center",children:"No Data Found"});var N=e=>{let{tableColumns:l,tableRows:o,sortModel:r,onSortChange:s,loading:i,checkBoxValue:t,onCheckboxChange:c,headerLeftAlign:d}=e;return(0,n.jsx)(n.Fragment,{children:i?(0,n.jsx)("div",{className:"z1 flex items-center justify-center",style:{minHeight:"200px",margin:"auto"},children:(0,n.jsx)(a,{})}):(0,n.jsx)(x,{rows:o,columns:l,disableRowSelectionOnClick:!0,hideFooterPagination:!0,hideFooterSelectedRowCount:!0,hideFooter:!0,getRowId:e=>{var l,o;return null!==(o=null!==(l=null==e?void 0:e.Id)&&void 0!==l?l:null==e?void 0:e.ID)&&void 0!==o?o:null==e?void 0:e.id},initialState:{pinnedColumns:{right:["actions"]}},sortModel:r,headerLeftAlign:d,onSortModelChange:s,checkboxSelection:t,disableColumnMenu:!0,disableColumnSelector:!0,onRowSelectionModelChange:e=>{let l=Array.isArray(e)?e:[];
1o.forEach(e=>{var o,n;let r=null!==(n=null!==(o=null==e?void 0:e.Id)&&void 0!==o?o:null==e?void 0:e.ID)&&void 0!==n?n:null==e?void 0:e.id,s=l.some(e=>String(e)===String(r));c&&c({target:{checked:s}},e)})},components:{NoRowsOverlay:f}})})}},54302:function(e,l,o){"use strict";o.d(l,{Z:function(){return u}});var n=o(85893),r=o(67294),s=o(82729),i=o(26951),t=o(88095),a=o(71790);function c(){let e=(0,s._)(["\n	&& .Mui-selected {\n		background: ",";\n		color: ",";\n	}\n"]);return c=function(){return e},e}let d=(0,t.zo)(i.Z)(c(),e=>e.currentSelected?"":"".concat(a.Z.color.primary," !important"),e=>e.currentSelected?"":"".concat(a.Z.color.white," !important"));var u=e=>{let l,{count:o,onChange:s,pageSize:i=10,pageNoSize:t=1}=e,[a,c]=(0,r.useState)(t);return(0,r.useEffect)(()=>{c(t)},[t]),(0,n.jsx)(d,{className:"pagination",currentSelected:!1,count:(l=0,"number"==typeof o&&(l=Math.ceil(o/i)),l),page:a,variant:"outlined",shape:"rounded",onChange:(e,l)=>{c(l),s(l)}})}},87892:function(e,l,o){"use strict";o.d(l,{Fe:function(){return N},KP:function(){return S},L2:function(){return Z},Ol:function(){return y},W2:function(){return b},_L:function(){return j},c1:function(){return w},h2:function(){return C},l7:function(){return k},tz:function(){return f},x4:function(){return g}});var n=o(82729),r=o(88095),s=o(71790);function i(){let e=(0,n._)(["\n	background: ",";\n"]);return i=function(){return e},e}function t(){let e=(0,n._)(["\n	background: ",";\n	width: 40%;\n	border-radius: 10px;\n	box-shadow: 0px 0px 5px #0000000d;\n"]);return t=function(){return e},e}function a(){let e=(0,n._)(["\n	background: ",";\n	border-radius: 10px;\n	box-shadow: 0px 0px 5px #0000000d;\n"]);return a=function(){return e},e}function c(){let e=(0,n._)(["\n	border-bottom: 1px solid "," !important;\n"]);return c=function(){return e},e}function d(){let e=(0,n._)(["\n	background-color: ",";\n	border-bottom: 1px solid ",";\n"]);return d=function(){return e},e}function u(){let e=(0,n._)(["\n	width: auto;\n	min-width: 80%;\n	height: auto;\n	border: 1px solid ",";\n	background: white;\n	border-radius: 10px;\n"]);return u=function(){return e},e}function m(){let e=(0,n._)(["\n	border: 1px solid ",";\n	border-radius: 10px;\n"]);return m=function(){return e},e}function p(){let e=(0,n._)(["\n	background: ",";\n	border: 1px solid ",";\n	border-radius: 10px;\n"]);return p=function(){return e},e}function h(){let e=(0,n._)(["\n	padding: 0 !important;\n"]);return h=function(){return e},e}function v(){let e=(0,n._)(["\n	min-width: 40%;\n	width: auto;\n"]);return v=function(){return e},e}function x(){let e=(0,n._)(["\n	border-radius: 10px;\n	z-index: 1;\n"]);return x=function(){return e},e}let f=r.ZP.div(i(),s.Z.color.lightGray),N=r.ZP.div(t(),s.Z.color.white),j=r.ZP.div(a(),s.Z.color.white),y=r.ZP.div(c(),s.Z.color.borderGray),g=r.ZP.div(d(),e=>e.selected?s.Z.color.lightGrayGreen:s.Z.color.white,s.Z.color.lightBorder),b=r.ZP.div(u(),s.Z.color.borderGray),Z=r.ZP.div(m(),s.Z.color.borderGray),w=r.ZP.div(p(),s.Z.color.lightGray,s.Z.color.borderGray),k=r.ZP.div(h()),S=r.ZP.div(v()),C=r.ZP.div(x())},44530:function(e,l,o){"use strict";o.d(l,{K3:function(){return d},Lq:function(){return m},Yk:function(){return p},zc:function(){return u}});var n=o(82729),r=o(62191),s=o(38517),i=o(88095),t=o(71790);function a(){let e=(0,n._)(["\n	background: ",";\n	box-shadow: 0px 0px 5px #0000000d;\n	border-radius: 10px;\n	height: 45vh !important;\n"]);return a=function(){return e},e}function c(){let e=(0,n._)(["\n	.advertise_modal_container {\n		height: 80vh;\n		width: 80vw;\n		overflow-y: auto;\n	}\n	.advertise_modal_container a {\n		color: ",";\n		text-decoration: underline;\n		word-break: break-word;\n		cursor: pointer;\n	}\n	.advertise_modal_container a:hover {\n		text-decoration: underline;\n		opacity: 0.85;\n	}\n	.advertise_modal_container ul,\n	.advertise_modal_container ol {\n		padding-left: 1.5rem;\n		list-style-position: outside;\n	}\n	.advertise_modal_container ul {\n		list-style-type: disc;\n	}\n	.advertise_modal_container ol {\n		list-style-type: decimal;\n	}\n	.advertise_modal_container img {\n		max-width: 100%;\n		height: auto;\n	}\n"]);return c=function(){return e},e}let d=i.ZP.div(a(),t.Z.color.white),u=(0,i.ZP)(r.Z)(e=>{let{theme:l}=e;return{backgroundColor:t.Z.color.white,boxShadow:"0px 0px 5px #0000000d",borderRadius:"10px"}}),m=(0,i.ZP)(r.Z)(e=>{let{theme:l}=e;return{border:"1px solid ".concat(l.color.borderGray),borderRadius:"10px",boxShadow:"none"}}),p=(0,i.ZP)(s.Z)(c(),t.Z.color.primary)},51719:function(e,l,o){"use strict";var n=o(85893),r=o(15354),s=o(27105),i=o(71790);l.Z=e=>{let{noOfDummyRows:l=5}=e;return(0,n.jsxs)(r.Z,{spacing:1,className:"px2 py2",children:[(0,n.jsx)(s.Z,{sx:{borderRadius:"10px",backgroundColor:i.Z.color.lightGray},variant:"rounded",height:55}),[...Array(l)].map((e,l)=>
1(0,n.jsxs)("div",{className:"flex",style:{gap:"15px"},children:[(0,n.jsx)(s.Z,{animation:"wave",sx:{backgroundColor:i.Z.color.lightGray},variant:"rounded",width:"50%",height:30}),(0,n.jsx)(s.Z,{animation:"wave",sx:{backgroundColor:i.Z.color.lightGray},variant:"rounded",width:300,height:30}),(0,n.jsx)(s.Z,{animation:"wave",sx:{backgroundColor:i.Z.color.lightGray},variant:"rounded",width:200,height:30}),(0,n.jsx)(s.Z,{animation:"wave",sx:{backgroundColor:i.Z.color.lightGray},variant:"rounded",width:300,height:30}),(0,n.jsx)(s.Z,{animation:"wave",sx:{backgroundColor:i.Z.color.lightGray},variant:"rectangular",width:"50%",height:30})]},e))]})}},65953:function(e,l,o){"use strict";o.d(l,{Z:function(){return n.Z}});var n=o(72923)},55492:function(e,l,o){"use strict";o.r(l),o.d(l,{default:function(){return D}});var n=o(85893),r=o(70474),s=o(54302);let i=[{flex:1,disableColumnMenu:!0,headerName:"Sr. No.",width:0,field:"Id",sortable:!1},{flex:1,disableColumnMenu:!0,headerName:"Name",width:0,field:"Name",sortable:!0},{flex:1,disableColumnMenu:!0,headerName:"Value",width:0,field:"Value",sortable:!0},{flex:1,disableColumnMenu:!0,headerName:"Is Mapped",width:0,field:"Mapped",sortable:!0}],t=[{flex:1,disableColumnMenu:!0,headerName:"Sr. No.",width:0,field:"SerialNo",sortable:!1},{flex:1,disableColumnMenu:!0,headerName:"Name",width:0,field:"SetName",sortable:!0},{flex:1,disableColumnMenu:!0,headerName:"Action",width:0,field:"ActionSubCategory",sortable:!0},{flex:1,disableColumnMenu:!0,headerName:"Map To",width:0,field:"ActionValue",sortable:!0}];var a=o(34934),c=o(28473),d=o(30381),u=o.n(d),m=o(71790),p=e=>{var l,o,r,s,i,t,d,p,h,v,x,f,N,j,y,g,b,Z,w,k,S,C,D,G;let{type:P,orderDetails:M,orderDetailsLoading:O}=e;return(0,n.jsx)(n.Fragment,{children:O?(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"flex items-center justify-center",style:{minHeight:"200px"},children:(0,n.jsx)(a.Z,{})})}):(0,n.jsxs)(n.Fragment,{children:["Account"===P?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{className:"font-16 font-weight-500",children:"Account Mappings"}),(0,n.jsxs)("div",{className:"fluid pt2 flex items-center",children:[(0,n.jsxs)("div",{className:"w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Deposit Account"}),(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==M?void 0:null===(l=M.accountmappings)||void 0===l?void 0:l.OrderDepositAccount)||"-"})]}),(0,n.jsxs)("div",{className:"w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"A/R Account"}),(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==M?void 0:null===(o=M.accountmappings)||void 0===o?void 0:o.OrderAccountsReceivableAccount)||"-"})]})]}),(0,n.jsxs)("div",{className:"fluid pt2 flex items-center",children:[(0,n.jsxs)("div",{className:"w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Bill To Account"}),(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==M?void 0:null===(r=M.accountmappings)||void 0===r?void 0:r.BillToAccount)||"-"})]}),(0,n.jsxs)("div",{className:"w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Currency Code"}),(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==M?void 0:null===(s=M.accountmappings)||void 0===s?void 0:s.CurrencyCode)||"-"})]})]}),(0,n.jsxs)("div",{className:"fluid pt2 flex items-center",children:[(0,n.jsxs)("div",{className:"w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Fulfillment Channel"}),(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==M?void 0:null===(i=M.accountmappings)||void 0===i?void 0:i.FulfillmentChannel)||"-"})]}),(0,n.jsxs)("div",{className:"w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Do Not Export"}),(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==M?void 0:null===(t=M.accountmappings)||void 0===t?void 0:t.DoNotExport)?"true":"false"})]})]}),(0,n.jsx)("div",{className:"fluid pt2 flex items-center",children:(0,n.jsxs)("div",{className:"w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Do Not Import"}),(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==M?void 0:null===(d=M.accountmappings)||void 0===d?void 0:d.DoNotImport)?"true":"false"})]})}),(0,n.jsx)("div",{className:"fluid pt2 flex items-center",children:(0,n.jsxs)("div",{className:"fluid",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Order Tags"}),(0,n.jsx)(c.Z,{title:(null==M?void 0:null===(p=M.accountmappings)||void 0===p?void 0:p.OrderTags)||"-",children:(0,n.jsx)("p",{className:"pt1 font-14 truncate",style:{color:m.Z.color.black},children:(null==M?void 0:null===(h=M.accountmappings)||void 0===h?void 0:h.OrderTags)||"-"})})]})})]}):null,"QuickBooksField"===P?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{className:"font-16 font-weight-500",children:"Qu
1ickBooks Fields"}),(0,n.jsxs)("div",{className:"fluid pt2 flex items-center",children:[(0,n.jsxs)("div",{className:"w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Deposit Account"}),(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==M?void 0:null===(v=M.quickbooksfields)||void 0===v?void 0:v.OrderDepositAccount)||"-"})]}),(0,n.jsxs)("div",{className:"ml4 w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"A/R Account"}),(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==M?void 0:null===(x=M.quickbooksfields)||void 0===x?void 0:x.OrderAccountsReceivableAccount)||"-"})]})]}),(0,n.jsxs)("div",{className:"fluid pt2 flex items-center",children:[(0,n.jsxs)("div",{className:"w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Bill To Account"}),(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==M?void 0:null===(f=M.quickbooksfields)||void 0===f?void 0:f.BillToAccount)||"-"})]}),(0,n.jsxs)("div",{className:"ml4 w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"PO Number"}),(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==M?void 0:null===(N=M.quickbooksfields)||void 0===N?void 0:N.PONumber)||"-"})]})]}),(0,n.jsxs)("div",{className:"fluid pt2 flex items-center",children:[(0,n.jsxs)("div",{className:"w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Store Name"}),(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==M?void 0:null===(j=M.quickbooksfields)||void 0===j?void 0:j.StoreName)||"-"})]}),(0,n.jsxs)("div",{className:"ml4 w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Other"}),(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==M?void 0:null===(y=M.quickbooksfields)||void 0===y?void 0:y.Other)||"-"})]})]}),(0,n.jsxs)("div",{className:"fluid pt2 flex items-center",children:[(0,n.jsxs)("div",{className:"w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Sales Terms"}),(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==M?void 0:null===(g=M.quickbooksfields)||void 0===g?void 0:g.SalesTerms)||"-"})]}),(0,n.jsxs)("div",{className:"w50 ml4",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Sales Rep"}),(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==M?void 0:null===(b=M.quickbooksfields)||void 0===b?void 0:b.SalesRep)||"-"})]})]}),(0,n.jsx)("div",{className:"fluid pt2 flex items-center",children:(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Merchant Fee Item Name"}),(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==M?void 0:null===(Z=M.quickbooksfields)||void 0===Z?void 0:Z.MerchantFeeItemName)||"-"})]})}),(0,n.jsx)("div",{className:"fluid pt2 flex items-center",children:(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Modified Date"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==M?void 0:null===(w=M.payments)||void 0===w?void 0:w.PaymentDate)?u()(null==M?void 0:null===(k=M.quickbooksfields)||void 0===k?void 0:k.ModifiedDate).format("MM/DD/YYYY"):"-"})]})})]}):null,"Discounts"===P?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{className:"font-16 font-weight-500",children:"Discounts"}),(0,n.jsxs)("div",{className:"fluid pt2 flex items-center",children:[(0,n.jsxs)("div",{className:"w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Code"}),(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==M?void 0:null===(S=M.discounts)||void 0===S?void 0:S.Code)||"-"})]}),(0,n.jsxs)("div",{className:"ml4 w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Amount"}),(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==M?void 0:null===(C=M.discounts)||void 0===C?void 0:C.Amount)?"$ "+(null==M?void 0:null===(D=M.discounts)||void 0===D?void 0:D.Amount):"-"})]})]}),(0,n.jsx)("div",{className:"fluid pt2 flex items-center",children:(0,n.jsxs)("div",{className:"w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Non-Taxable"}),(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==M?void 0:null===(G=M.discounts)||void 0===G?void 0:G.NonTaxable)?"true":"false"})]})})]}):null]})})},h=e=>{var l,o,r,s,i,t,c,d,p,h,v,x;let{orderDetails:f,orderDetailsLoading:N}=e;return(0,n.jsx)(n.Fragment,{children:N?(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"flex items-center justify-center",style:{minHeight:"200px"},children:(0,n.jsx)(a.Z,{})})}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{className:"font-16 font-weight-500",children:"Shipping Details"}),(0,n.jsxs)("div",{className:"fluid pt2 flex items-center",children:[(0,n.jsxs)("div",{className:"w20",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Method"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==f?void 0:null===(l=f.shippingdetails)||void 0===l?void 0:l.ShippingMethod)||"-"})]}),(0,n.jsxs)("div",{className:"w20",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Description"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==f?void 0:null===(o=f.shippingdetails)||void 0===o?void 0:o.ShippingMethodDescription)||"-"})]}),(0,n.jsxs)("div",{className:"w20",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Date"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==f?void 0:null===(r=f.shippingdetails)||void 0===r?void 0:r.ShippingDate)?u()(null==f?void 0:null===(s=f.shippingdetails)||void 0===s?void 0:s.ShippingDate).format("MM/DD/YYYY"):"-"})]}),(0,n.jsxs)("div",{className:"w20",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Tracking"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==f?void 0:null===(i=f.shippingdetails)||void 0===i?void 0:i.TrackingNumber)||"-"})]}),(0,n.jsxs)("div",{className:"w20",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Ship Via"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==f?void 0:null===(t=f.shippingdetails)||void 0===t?void 0:t.ShipVia)||"-"})]}),(0,n.jsxs)("div",{className:"w20",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Shipping Excl Tax"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==f?void 0:null===(c=f.shippingdetails)||void 0===c?void 0:c.ShippingExclTax)?"$ "+(null==f?void 0:null===(d=f.shippingdetails)||void 0===d?void 0:d.ShippingExclTax):"-"})]})]}),(0,n.jsxs)("div",{className:"fluid pt2 flex items-center",children:[(0,n.jsxs)("div",{className:"w20",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Shipping Incl Tax"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==f?void 0:null===(p=f.shippingdetails)||void 0===p?void 0:p.ShippingInclTax)?"$ "+(null==f?void 0:null===(h=f.shippingdetails)||void 0===h?void 0:h.ShippingInclTax):"-"})]}),(0,n.jsxs)("div",{className:"w20",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Cost"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==f?void 0:null===(v=f.shippingdetails)||void 0===v?void 0:v.TotalShippingCosts)?"$ "+(null==f?void 0:null===(x=f.shippingdetails)||void 0===x?void 0:x.TotalShippingCosts):"-"})]})]})]})})},v=o(87892),x=e=>{var l,o,r,s,i,t,c,d,p,h,v,x,f,N,j,y,g,b,Z,w,k,S,C,D,G,P;let{type:M,orderDetails:O,orderDetailsLoading:F}=e;return(0,n.jsx)(n.Fragment,{children:F?(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"flex items-center justify-center",style:{minHeight:"200px"},children:(0,n.jsx)(a.Z,{})})}):(0,n.jsxs)(n.Fragment,{children:["Payment"===M?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{className:"font-16 font-weight-500",children:"Payment Details"}),(0,n.jsxs)("div",{className:"fluid pt2 flex items-center",children:[(0,n.jsxs)("div",{className:"w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Date"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==O?void 0:null===(l=O.payments)||void 0===l?void 0:l.PaymentDate)?u()(null==O?void 0:null===(o=O.payments)||void 0===o?void 0:o.PaymentDate).format("MM/DD/YYYY"):"-"})]}),(0,n.jsxs)("div",{className:"ml4 w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Order Number"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==O?void 0:null===(r=O.payments)||void 0===r?void 0:r.Order
1Number)||"-"})]})]}),(0,n.jsxs)("div",{className:"fluid pt2 flex items-center",children:[(0,n.jsxs)("div",{className:"w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Method"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==O?void 0:null===(s=O.payments)||void 0===s?void 0:s.CreditCardName)||"-"})]}),(0,n.jsxs)("div",{className:"ml4 w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Deposit Account"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==O?void 0:null===(i=O.payments)||void 0===i?void 0:i.DepositAccount)||"-"})]})]}),(0,n.jsxs)("div",{className:"fluid pt2 flex items-center",children:[(0,n.jsxs)("div",{className:"w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Reference Number"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==O?void 0:null===(t=O.payments)||void 0===t?void 0:t.ReferenceNumber)||"-"})]}),(0,n.jsxs)("div",{className:"ml4 w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Unpaid"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==O?void 0:null===(c=O.payments)||void 0===c?void 0:c.SkipPayment)||"-"})]})]}),(0,n.jsx)("div",{className:"fluid pt2 flex items-center",children:(0,n.jsxs)("div",{className:"w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Payment Amount"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==O?void 0:null===(d=O.payments)||void 0===d?void 0:d.PaymentAmount)?"$ "+(null==O?void 0:null===(p=O.payments)||void 0===p?void 0:p.PaymentAmount):"-"})]})})]}):null,"Billing"===M?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{className:"font-16 font-weight-500",children:"Billing Address"}),(0,n.jsxs)("div",{className:"fluid pt2 flex items-center",children:[(0,n.jsxs)("div",{className:"w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"First Name"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==O?void 0:null===(h=O.billingaddress)||void 0===h?void 0:h.FirstName)||"-"})]}),(0,n.jsxs)("div",{className:"ml4 w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Last Name"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==O?void 0:null===(v=O.billingaddress)||void 0===v?void 0:v.LastName)||"-"})]})]}),(0,n.jsxs)("div",{className:"fluid pt2 flex items-center",children:[(0,n.jsxs)("div",{className:"w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Company"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==O?void 0:null===(x=O.billingaddress)||void 0===x?void 0:x.Company)||"-"})]}),(0,n.jsxs)("div",{className:"ml4 w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Line 1"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==O?void 0:null===(f=O.billingaddress)||void 0===f?void 0:f.Address1)||"-"})]})]}),(0,n.jsxs)("div",{className:"fluid pt2 flex items-center",children:[(0,n.jsxs)("div",{className:"w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Billing City"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==O?void 0:null===(N=O.billingaddress)||void 0===N?void 0:N.City)||"-"})]}),(0,n.jsxs)("div",{className:"ml4 w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"State"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==O?void 0:null===(j=O.billingaddress)||void 0===j?void 0:j.RegionName)||"-"})]})]}),(0,n.jsxs)("div",{className:"fluid pt2 flex items-center",children:[(0,n.jsxs)("div",{className:"w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Billing Country"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==O?void 0:null===(y=O.billingaddress)||void 0===y?void 0:y.TwoLetterIsoCode)||"-"})]}),(0,n.jsxs)("div",{className:"ml4 w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Phone Number"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==O?void 0:null===(g=O.billingaddress)||void 0===g?void 0:g.PhoneNumber)||"-"})]})]})]}):null,"Shiping"===M?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{className:"font-16 font-weight-500",children:"Shipping Address"}),(0,n.jsxs)("div",{className:"fluid pt2 flex items-center",children:[(0,n.jsxs)("div",{className:"w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"First Name"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==O?void 0:null===(b=O.shippingaddress)||void 0===b?void 0:b.FirstName)||"-"})]}),(0,n.jsxs)("div",{className:"ml4 w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Last Name"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==O?void 0:null===(Z=O.shippingaddress)||void 0===Z?void 0:Z.LastName)||"-"})]})]}),(0,n.jsxs)("div",{className:"fluid pt2 flex items-center",children:[(0,n.jsxs)("div",{className:"w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Company"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==O?void 0:null===(w=O.shippingaddress)||void 0===w?void 0:w.Company)||"-"})]}),(0,n.jsxs)("div",{className:"ml4 w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Line 1"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black}
1,children:(null==O?void 0:null===(k=O.shippingaddress)||void 0===k?void 0:k.Address1)||"-"})]})]}),(0,n.jsxs)("div",{className:"fluid pt2 flex items-center",children:[(0,n.jsxs)("div",{className:"w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"City"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==O?void 0:null===(S=O.shippingaddress)||void 0===S?void 0:S.City)||"-"})]}),(0,n.jsxs)("div",{className:"ml4 w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"State"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==O?void 0:null===(C=O.shippingaddress)||void 0===C?void 0:C.RegionName)||"-"})]})]}),(0,n.jsxs)("div",{className:"fluid pt2 flex items-center",children:[(0,n.jsxs)("div",{className:"w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Country"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==O?void 0:null===(D=O.shippingaddress)||void 0===D?void 0:D.CountryName)||"-"})]}),(0,n.jsxs)("div",{className:"ml4 w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Phone Number"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==O?void 0:null===(G=O.shippingaddress)||void 0===G?void 0:G.PhoneNumber)||"-"})]})]}),(0,n.jsx)("div",{className:"fluid pt2 flex items-center",children:(0,n.jsxs)("div",{className:"w50",children:[(0,n.jsx)("p",{className:"font-14",style:{color:m.Z.color.Gray},children:"Email"})," ",(0,n.jsx)("p",{className:"pt1 font-14",style:{color:m.Z.color.black},children:(null==O?void 0:null===(P=O.shippingaddress)||void 0===P?void 0:P.Email)||"-"})]})})]}):null]})})},f=o(44530),N=o(51719),j=o(65953),y=o(51172),g=o(4466),b=o(68213),Z=o(5129),w=o(41664),k=o.n(w),S=o(67294),C=o(73227),D=()=>{let e=(0,b.T)(),{resultordercolumns:l}=(0,Z.C)(e=>{var l;return(null==e?void 0:null===(l=e.orderPreviewer)||void 0===l?void 0:l.lineItemListData)||[]}),{lineItemListData:o}=(0,Z.C)(e=>e.orderPreviewer),{ruleRunningOrderData:a,ruleRunningOrderLoading:d,lineItemLoading:u,customFieldData:w,customFieldLoading:D,orderPreviewDetails:G,orderDetailsLoading:P}=(0,Z.C)(e=>e.orderPreviewer),[M,O]=(0,S.useState)(),[F,_]=(0,S.useState)([]),[L,R]=(0,S.useState)(0),[A,T]=(0,S.useState)(1),[I]=(0,S.useState)(10),[B,E]=(0,S.useState)([]),[q,z]=(0,S.useState)([]),[U,Y]=(0,S.useState)(0),[V,H]=(0,S.useState)(1),[Q]=(0,S.useState)(10),[W,$]=(0,S.useState)([]),[K,X]=(0,S.useState)([]),[J,ee]=(0,S.useState)(0),[el,eo]=(0,S.useState)(1),[en]=(0,S.useState)(10),[er,es]=(0,S.useState)([]),ei=localStorage.getItem("UpdatedFilterData"),et=ei?JSON.parse(ei):"";(0,S.useEffect)(()=>{et&&e((0,C.q_)({LastDownloadUtc:(null==et?void 0:et.LastDownloadUtc)||"",LastDownloadUtcEnd:(null==et?void 0:et.LastDownloadUtcEnd)||"",StringOrders:(null==et?void 0:et.StringOrders)||"",Stores:[],OrdersFromQuickBooks:!1,PurchaseOrdersFromQuickBooks:!1,OrderNumber:(null==et?void 0:et.OrderNumber)||"",PreviewId:(null==et?void 0:et.PreviewId)||"",Connection:(null==et?void 0:et.Connection)||"",SyncDirection:(null==et?void 0:et.SyncDirection)||"",OrdersListColumns:(null==et?void 0:et.OrderDetailsField)||[]}))},[]),(0,S.useEffect)(()=>{G&&O(G)},[G]),(0,S.useEffect)(()=>{_((null==a?void 0:a.results)||[]),R((null==a?void 0:a.TotalRecord)||0)},[a]),(0,S.useEffect)(()=>{z((null==w?void 0:w.results)||[]),Y((null==w?void 0:w.TotalRecord)||0)},[w]),(0,S.useEffect)(()=>{X((null==o?void 0:o.resultorderdetails)||[]),ee((null==o?void 0:o.TotalRecord)||0)},[o]),(0,S.useEffect)(()=>{if(et){var l,o;e((0,C.yY)({request:{PageNumber:V,PageSize:Q,orderBy:null==W?void 0:null===(l=W[0])||void 0===l?void 0:l.field,direction:null==W?void 0:null===(o=W[0])||void 0===o?void 0:o.sort,SearchText:"",FilterBy:""},LastDownloadUtc:(null==et?void 0:et.LastDownloadUtc)||"",LastDownloadUtcEnd:(null==et?void 0:et.LastDownloadUtcEnd)||"",StringOrders:(null==et?void 0:et.StringOrders)||"",Stores:[],OrdersFromQuickBooks:!1,PurchaseOrdersFromQuickBooks:!1,OrderNumber:(null==et?void 0:et.OrderNumber)||"",PreviewId:(null==et?void 0:et.PreviewId)||"",Connection:(null==et?void 0:et.Connection)||"",SyncDirection:(null==et?void 0:et.SyncDirection)||"",OrdersListColumns:(null==et?void 0:et.OrderDetailsField)||[]}))}},[V,Q,W]),(0,S.useEffect)(()=>
1{if(et){var l,o;e((0,C.f7)({request:{PageNumber:A,PageSize:I,orderBy:null==B?void 0:null===(l=B[0])||void 0===l?void 0:l.field,direction:null==B?void 0:null===(o=B[0])||void 0===o?void 0:o.sort,SearchText:"",FilterBy:""},stringOrders:(null==et?void 0:et.OrderNumber)||"",connection:(null==et?void 0:et.Connection)||"",PreviewId:(null==et?void 0:et.PreviewId)||""}))}},[A,I,B]),(0,S.useEffect)(()=>{if(et){var l,o;e((0,C.qf)({request:{PageNumber:el,PageSize:en,orderBy:null==er?void 0:null===(l=er[0])||void 0===l?void 0:l.field,direction:null==er?void 0:null===(o=er[0])||void 0===o?void 0:o.sort,SearchText:"",FilterBy:""},LastDownloadUtc:(null==et?void 0:et.LastDownloadUtc)||"",LastDownloadUtcEnd:(null==et?void 0:et.LastDownloadUtcEnd)||"",OrderStatus:[""],StringOrders:(null==et?void 0:et.StringOrders)||"",Stores:[],OrdersFromQuickBooks:!1,PurchaseOrdersFromQuickBooks:!1,OrderNumber:(null==et?void 0:et.OrderNumber)||"",PreviewId:(null==et?void 0:et.PreviewId)||"",Connection:(null==et?void 0:et.Connection)||"",SyncDirection:(null==et?void 0:et.SyncDirection)||"",OrdersListColumns:(null==et?void 0:et.OrderDetailsField)||[]}))}},[el,en,er]);let ea=[...(null==l?void 0:l.length)>0?l.map(e=>({flex:1,disableColumnMenu:!0,headerName:(null==e?void 0:e.Value)||"",width:0,field:(null==e?void 0:e.Value)||"",sortable:!0,renderCell:l=>{var o,r;return(0,n.jsx)("div",{className:"message-cell fluid",children:(0,n.jsx)(c.Z,{title:null==l?void 0:null===(o=l.row)||void 0===o?void 0:o[null==e?void 0:e.Value],children:(0,n.jsx)("p",{className:"truncate",children:null==l?void 0:null===(r=l.row)||void 0===r?void 0:r[null==e?void 0:e.Value]})})})}})):[]];return(0,n.jsx)(j.Z,{children:(0,n.jsxs)(v.tz,{className:"px6 py3 flex-column height-full flex overflow-scroll",children:[(0,n.jsx)("span",{className:"font-24 font-weight-500",children:"Order Details"}),(0,n.jsx)("div",{children:(0,n.jsxs)(y.Z,{"aria-label":"breadcrumb",children:[(0,n.jsx)(k(),{className:"font-12 link-underline",color:"inherit",href:"/rule-engine",children:"Rules Engine"}),(0,n.jsx)(k(),{className:"font-12 link-underline",color:"inherit",href:"/rule-engine/order-previewer",children:"Order Previewer"}),(0,n.jsx)(k(),{className:"font-12 link-underline",color:"inherit",href:"/rule-engine/order-previewer/order",children:"Order"}),(0,n.jsx)(k(),{className:"font-12 link-underline",color:"inherit",href:"",style:{color:m.Z.color.primary},children:"Order Details"})]})}),(0,n.jsxs)(v.W2,{className:"flex-column mt2 px2 py2 mb3 flex",children:[(0,n.jsxs)(v.L2,{className:"px2 py2",children:[(0,n.jsx)("p",{className:"font-16 font-weight-500",children:"Line Items"}),u?(0,n.jsx)(N.Z,{}):(0,n.jsx)("div",{className:"mt1 flex",children:(0,n.jsx)(r.Z,{tableRows:K,tableColumns:ea,loading:u,sortModel:er,onSortChange:e=>{es(e)}})}),(0,n.jsx)("div",{className:"mt1",children:(0,n.jsx)(s.Z,{count:J,onChange:e=>{eo(e)},pageSize:en,pageNoSize:el})})]}),(0,n.jsx)(v.l7,{className:"fluid mt2 flex",children:(0,n.jsxs)(g.ZP,{container:!0,spacing:5,children:[(0,n.jsx)(g.ZP,{item:!0,xs:12,xl:4,children:(0,n.jsx)(f.Lq,{className:"px2 py2 flex-column height-full flex overflow-scroll",children:(0,n.jsx)(x,{orderDetailsLoading:P,orderDetails:M,type:"Payment"})})}),(0,n.jsx)(g.ZP,{item:!0,xs:12,xl:4,children:(0,n.jsx)(f.Lq,{className:"px2 py2 flex-column height-full flex overflow-scroll",children:(0,n.jsx)(x,{orderDetailsLoading:P,orderDetails:M,type:"Billing"})})}),(0,n.jsx)(g.ZP,{item:!0,xs:12,xl:4,children:(0,n.jsx)(f.Lq,{className:"px2 py2 flex-column height-full flex overflow-scroll",children:(0,n.jsx)(x,{orderDetailsLoading:P,orderDetails:M,type:"Shiping"})})})]})}),(0,n.jsx)(v.c1,{className:"px2 py2 mt1",children:(0,n.jsx)(h,{orderDetailsLoading:P,orderDetails:M})}),(0,n.jsx)(v.l7,{className:"fluid mt2 flex",children:(0,n.jsxs)(g.ZP,{container:!0,spacing:5,children:[(0,n.jsx)(g.ZP,{item:!0,xs:12,xl:4,children:(0,n.jsx)(f.Lq,{className:"px2 py2 flex-column height-full flex overflow-scroll",children:(0,n.jsx)(p,{orderDetailsLoading:P,orderDetails:M,type:"Account"})})}),(0,n.jsx)(g.ZP,{item:!0,xs:12,xl:4,children:(0,n.jsx)(f.Lq,{className:"px2 py2 flex-column height-full flex overflow-scroll",children:(0,n.jsx)(p,{orderDetailsLoading:P,orderDetails:M,type:"QuickBooksField"})})}),(0,n.jsx)(g.ZP,{item:!0,xs:12,xl:4,children:(0,n.jsx)(f.Lq,{className:"px2 py2 flex-column height-full flex overflow-scroll",children:(0,n.jsx)(p,{orderDetailsLoading:P,orderDetails:M,type:"Discounts"})})})]})}),(0,n.jsxs)(v.L2,{className:"px2 py2 mt2",children:[(0,n.jsx)("p",{className:"font-16 font-weight-500",children:"Custom Fields"}),D?(0,n.jsx)(N.Z,{}):(0,n.jsx)("div",{className:"mt1 flex",children:(0,n.jsx)(r.Z,{tableRows:q,tableColumns:i,loading:D,sortModel:W,onSortChange:e=>{$(e)}})}),(0,n.jsx)("div",{className:"mt1",children:(0,n.jsx)(s.Z,{count:U,onChange:e=>{H(e)},pageSize:Q,pageNoSize:V})})]}),(0,n.jsxs)(v.L2,{className:"px2 py2 mt2",children:[(0,n.jsx)("p",{className:"font-16 font-weight-500",children:"Rules Running on Order"}),d?(0,n.jsx)(N.Z,{}):(0,n.jsx)("div",{className:"mt1 flex",children:(0,n.jsx)(r.Z,{tableRows:F,tableColumns:t,loading:d,sortModel:B,onSortChange:e=>{E(e)}})}),(0,n.jsx)("div",{className:"mt1",children:(0,n.jsx)(s.Z,{count:L,onChange:e=>{T(e)},pageSize:I,pageNoSize:A})})]})]})]})})}}},function(e){e.O(0,[4614,9206,1664,6548,1077,9121,7410,2523,9095,293,6951,4466,6998,5945,2628,2923,2888,9774,179],function(){return e(e.s=88760)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.