Files
Express_console_build/build/static/js/7221.e5d0995f.chunk.js

1 line
31 KiB
JavaScript

(self.webpackChunkmantis_material_react=self.webpackChunkmantis_material_react||[]).push([[7221],{4159:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,r=36e5,n="millisecond",i="second",s="minute",o="hour",a="day",c="week",l="month",d="quarter",u="year",h="date",f="Invalid Date",x=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}},A=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},j={s:A,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),i=r%60;return(t<=0?"+":"-")+A(n,2,"0")+":"+A(i,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),i=t.clone().add(n,l),s=r-i<0,o=t.clone().add(n+(s?-1:1),l);return+(-(n+(r-i)/(s?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:u,w:c,d:a,D:h,h:o,m:s,s:i,ms:n,Q:d}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},v="en",g={};g[v]=m;var y="$isDayjsObject",k=function(e){return e instanceof M||!(!e||!e[y])},b=function e(t,r,n){var i;if(!t)return v;if("string"==typeof t){var s=t.toLowerCase();g[s]&&(i=s),r&&(g[s]=r,i=s);var o=t.split("-");if(!i&&o.length>1)return e(o[0])}else{var a=t.name;g[a]=t,i=a}return!n&&i&&(v=i),i||!n&&v},S=function(e,t){if(k(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new M(r)},D=j;D.l=b,D.i=k,D.w=function(e,t){return S(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var M=function(){function m(e){this.$L=b(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[y]=!0}var A=m.prototype;return A.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(D.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(x);if(n){var i=n[2]-1||0,s=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,s)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,s)}}return new Date(t)}(e),this.init()},A.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},A.$utils=function(){return D},A.isValid=function(){return!(this.$d.toString()===f)},A.isSame=function(e,t){var r=S(e);return this.startOf(t)<=r&&r<=this.endOf(t)},A.isAfter=function(e,t){return S(e)<this.startOf(t)},A.isBefore=function(e,t){return this.endOf(t)<S(e)},A.$g=function(e,t,r){return D.u(e)?this[t]:this.set(r,e)},A.unix=function(){return Math.floor(this.valueOf()/1e3)},A.valueOf=function(){return this.$d.getTime()},A.startOf=function(e,t){var r=this,n=!!D.u(t)||t,d=D.p(e),f=function(e,t){var i=D.w(r.$u?Date.UTC(r.$y,t,e):new Date(r.$y,t,e),r);return n?i:i.endOf(a)},x=function(e,t){return D.w(r.toDate()[e].apply(r.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(t)),r)},p=this.$W,m=this.$M,A=this.$D,j="set"+(this.$u?"UTC":"");switch(d){case u:return n?f(1,0):f(31,11);case l:return n?f(1,m):f(0,m+1);case c:var v=this.$locale().weekStart||0,g=(p<v?p+7:p)-v;return f(n?A-g:A+(6-g),m);case a:case h:return x(j+"Hours",0);case o:return x(j+"Minutes",1);case s:return x(j+"Seconds",2);case i:return x(j+"Milliseconds",3);default:return this.clone()}},A.endOf=function(e){return this.startOf(e,!1)},A.$set=function(e,t){var r,c=D.p(e),d="set"+(this.$u?"UTC":""),f=(r={},r[a]=d+"Date",r[h]=d+"Date",r[l]=d+"Month",r[u]=d+"FullYear",r[o]=d+"Hours",r[s]=d+"Minutes",r[i]=d+"Seconds",r[n]=d+"Milliseconds",r)[c],x=c===a?this.$D+(t-this.$W):t;if(c===l||c===u){var p=this.clone().set(h,1);p.$d[f](x),p.init(),this.$d=p.set(h,Math.min(this.$D,p.daysInMonth())).$d}else f&&this.$d[f](x);return this.init(),this},A.set=function(e,t){return this.clone().$set(e,t)},A.get=function(e){return this[D.p(e)]()},A.add=function(n,d){var h,f=this;n=Number(n);var x=D.p(d),p=function(e){var t=S(f);return D.w(t.date(t.date()+Math.round(e*n)),f)};if(x===l)return this.set(l,this.$M+n);if(x===u)return this.set(u,this.$y+n);if(x===a)return p(1);if(x===c)return p(7);var m=(h={},h[s]=t,h[o]=r,h[i]=e,h)[x]||1,A=this.$d.getTime()+n*m;return D.w(A,this)},A.subtract=function(e,t){return this.add(-1*e,t)},A.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||f;var n=e||"YYYY-MM-DDTHH:mm:ssZ",i=D.z(this),s=this.$H,o=this.$m,a=this.$M,c=r.weekdays,l=r.months,d=r.meridiem,u=function(e,r,i,s){return e&&(e[r]||e(t,n))||i[r].slice(0,s)},h=function(e){return D.s(s%12||12,e,"0")},x=d||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(p,(function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return D.s(t.$y,4,"0");case"M":return a+1;case"MM":return D.s(a+1,2,"0");case"MMM":return u(r.monthsShort,a,l,3);case"MMMM":return u(l,a);case"D":return t.$D;case"DD":return D.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return u(r.weekdaysMin,t.$W,c,2);case"ddd":return u(r.weekdaysShort,t.$W,c,3);case"dddd":return c[t.$W];case"H":return String(s);case"HH":return D.s(s,2,"0");case"h":return h(1);case"hh":return h(2);case"a":return x(s,o,!0);case"A":return x(s,o,!1);case"m":return String(o);case"mm":return D.s(o,2,"0");case"s":return String(t.$s);case"ss":return D.s(t.$s,2,"0");case"SSS":return D.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")}))},A.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},A.diff=function(n,h,f){var x,p=this,m=D.p(h),A=S(n),j=(A.utcOffset()-this.utcOffset())*t,v=this-A,g=function(){return D.m(p,A)};switch(m){case u:x=g()/12;break;case l:x=g();break;case d:x=g()/3;break;case c:x=(v-j)/6048e5;break;case a:x=(v-j)/864e5;break;case o:x=v/r;break;case s:x=v/t;break;case i:x=v/e;break;default:x=v}return f?x:D.a(x)},A.daysInMonth=function(){return this.endOf(l).$D},A.$locale=function(){return g[this.$L]},A.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=b(e,t,!0);return n&&(r.$L=n),r},A.clone=function(){return D.w(this.$d,this)},A.toDate=function(){return new Date(this.valueOf())},A.toJSON=function(){return this.isValid()?this.toISOString():null},A.toISOString=function(){return this.$d.toISOString()},A.toString=function(){return this.$d.toUTCString()},m}(),Y=M.prototype;return S.prototype=Y,[["$ms",n],["$s",i],["$m",s],["$H",o],["$W",a],["$M",l],["$y",u],["$D",h]].forEach((function(e){Y[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),S.extend=function(e,t){return e.$i||(e(t,M,S),e.$i=!0),S},S.locale=b,S.isDayjs=k,S.unix=function(e){return S(1e3*e)},S.en=g[v],S.Ls=g,S.p={},S}()},36220:function(e){e.exports=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(n,i,s){var o=i.prototype;s.utc=function(e){return new i({date:e,utc:!0,args:arguments})},o.utc=function(t){var r=s(this.toDate(),{locale:this.$L,utc:!0});return t?r.add(this.utcOffset(),e):r},o.local=function(){return s(this.toDate(),{locale:this.$L,utc:!1})};var a=o.parse;o.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),a.call(this,e)};var c=o.init;o.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else c.call(this)};var l=o.utcOffset;o.utcOffset=function(n,i){var s=this.$utils().u;if(s(n))return this.$u?0:s(this.$offset)?l.call(this):this.$offset;if("string"==typeof n&&(n=function(e){void 0===e&&(e="");var n=e.match(t);if(!n)return null;var i=(""+n[0]).match(r)||["-",0,0],s=i[0],o=60*+i[1]+ +i[2];return 0===o?0:"+"===s?o:-o}(n),null===n))return this;var o=Math.abs(n)<=16?60*n:n,a=this;if(i)return a.$offset=o,a.$u=0===n,a;if(0!==n){var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(a=this.local().add(o+c,e)).$offset=o,a.$x.$localOffset=c}else a=this.utc();return a};var d=o.format;o.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return d.call(this,t)},o.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},o.isUTC=function(){return!!this.$u},o.toISOString=function(){return this.toDate().toISOString()},o.toString=function(){return this.toDate().toUTCString()};var u=o.toDate;o.toDate=function(e){return"s"===e&&this.$offset?s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():u.call(this)};var h=o.diff;o.diff=function(e,t,r){if(e&&this.$u===e.$u)return h.call(this,e,t,r);var n=this.local(),i=s(e).local();return h.call(n,i,t,r)}}}()},47659:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(89379),i=r(48089),s=r(50704),o=r(16491),a=r(82053),c=r(60899),l=r(44414);const d=e=>{let{primary:t,secondary:r,percentage:d,color:u,sx:h}=e;return(0,l.jsx)(i.A,{elevation:0,sx:(0,n.A)({background:u,position:"relative",color:"#fff","&:hover svg":{opacity:1,transform:"scale(1.1)"}},h),children:(0,l.jsxs)(s.A,{children:[(0,l.jsx)(o.A,{sx:{position:"absolute",right:15,top:25,color:"#fff","& svg":{width:36,height:36,opacity:.5,transition:"all .3s ease-in-out"}},children:(0,l.jsx)(a.A,{variant:"h2",color:"inherit",sx:{fontSize:{xs:20,md:25}},children:d&&"number"===typeof d?"".concat(d.toString()," %"):d})}),(0,l.jsxs)(c.Ay,{container:!0,spacing:0,children:[(0,l.jsx)(c.Ay,{item:!0,xs:12,children:(0,l.jsx)(a.A,{variant:"h3",color:"inherit",sx:{fontSize:{xs:16,md:20}},children:r})}),(0,l.jsx)(c.Ay,{item:!0,xs:12,children:(0,l.jsx)(a.A,{variant:"subtitle2",color:"inherit",children:t})})]})]})})}},57221:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>B});var n=r(89379),i=r(93230),s=r(83274),o=r(25333),a=r(82053),c=r(82223),l=r(55158),d=r(60899),u=r(1320),h=r(15769),f=r(69780),x=r(9213),p=r(21671),m=r(34075),A=r(25277),j=r(74745),v=r(77922),g=r(29925),y=r(9950),k=r(14857),b=r(28429),S=r(4159),D=r.n(S),M=r(50027),Y=r(63189),C=r(81425),w=r(20466),T=r(36150),W=r(51778),z=r(52351),$=r(94826),O=r(13838),H=r(47659),J=r(58168);const R={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 385.6a446.7 446.7 0 00-96-142.4 446.7 446.7 0 00-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2a446.7 446.7 0 00-142.4 96 446.7 446.7 0 00-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM482 232c0-4.4 3.6-8 8-8h44c4.4 0 8 3.6 8 8v80c0 4.4-3.6 8-8 8h-44c-4.4 0-8-3.6-8-8v-80zM270 582c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8v-44c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v44zm90.7-204.5l-31.1 31.1a8.03 8.03 0 01-11.3 0L261.7 352a8.03 8.03 0 010-11.3l31.1-31.1c3.1-3.1 8.2-3.1 11.3 0l56.6 56.6c3.1 3.1 3.1 8.2 0 11.3zm291.1 83.6l-84.5 84.5c5 18.7.2 39.4-14.5 54.1a55.95 55.95 0 01-79.2 0 55.95 55.95 0 010-79.2 55.87 55.87 0 0154.1-14.5l84.5-84.5c3.1-3.1 8.2-3.1 11.3 0l28.3 28.3c3.1 3.1 3.1 8.1 0 11.3zm43-52.4l-31.1-31.1a8.03 8.03 0 010-11.3l56.6-56.6c3.1-3.1 8.2-3.1 11.3 0l31.1 31.1c3.1 3.1 3.1 8.2 0 11.3l-56.6 56.6a8.03 8.03 0 01-11.3 0zM846 582c0 4.4-3.6 8-8 8h-80c-4.4 0-8-3.6-8-8v-44c0-4.4 3.6-8 8-8h80c4.4 0 8 3.6 8 8v44z"}}]},name:"dashboard",theme:"filled"};var L=r(61187),F=function(e,t){return y.createElement(L.A,(0,J.A)({},e,{ref:t,icon:R}))};const Z=y.forwardRef(F);var K=r(31222),N=r(43302),I=r(99324),U=r(44414),P=r(36220);D().extend(P);const B=()=>{var e,t,r,S,J,R,L;const F=(0,k.A)(),P=(0,b.Zp)(),B=(0,b.zy)();console.log("location.state",B.state);const[E,G]=(0,y.useState)(null),[q,V]=(0,y.useState)(null),[Q,X]=(0,y.useState)([]),[_,ee]=(0,y.useState)(!1),te=null===(e=B.state)||void 0===e?void 0:e.deliverylist,re=null===(t=B.state)||void 0===t?void 0:t.zoneData,ne=null===(r=B.state)||void 0===r?void 0:r.metaData,ie=null===(S=B.state)||void 0===S?void 0:S.riderToken,se=null===(J=B.state)||void 0===J?void 0:J.appId,oe=null===(R=B.state)||void 0===R?void 0:R.aiMode,ae=null===(L=B.state)||void 0===L?void 0:L.reassignOrders;(0,y.useEffect)((()=>{console.log("aiMode",oe),console.log("riderToken",ie),console.log("zoneData",re),console.log("metaData",ne),console.log("reassignOrders",ae)}),[]),(0,y.useEffect)((()=>{if(null===te||void 0===te||!te.length)return;const e=te.map((e=>{const t=Number(e.cumulativekms||0),r=Number(e.minkm||0),i=Number(e.baseprice||0),s=Number(e.priceperkm||0);return t<=r?(0,n.A)((0,n.A)({},e),{},{deliveryamt:i}):(0,n.A)((0,n.A)({},e),{},{deliveryamt:(t-r)*s+i})}));X(e),console.log("finaldeliveryList",e)}),[te]);const{data:ce=[],isLoading:le,isError:de,error:ue}=(0,T.I)({queryKey:["paymentmodes"],queryFn:C.HY}),{data:he=[],isLoading:fe,isError:xe,error:pe,refetch:me}=(0,T.I)({queryKey:["ridersList",se],queryFn:C.Sd,enabled:0!==se}),Ae=(0,W.n)({mutationFn:C.k3,onSuccess:()=>{(0,w.k)("Notification sent Successfully","success",2e3)},onError:e=>{(0,w.k)(e.message,"error",2e3)}}),je=(0,W.n)({mutationFn:C.H2,onSuccess:(e,t)=>{console.log("data",e),console.log("varialbles",t),Ae.mutate(E.userfcmtoken||ie),"accepted"==e.status&&(0,w.k)("Delivery Created Successfully","success",2e3),setTimeout((()=>{ee(!1),P("/nearle/deliveries")}),2e3)},onError:e=>{(0,w.k)(e.message,"error",4e3)}});return(0,U.jsxs)(M.A,{content:!1,title:(0,U.jsxs)(i.A,{direction:"row",alignItems:"center",spacing:1,sx:{ml:1},children:[(0,U.jsxs)(s.A,{title:"Back to orders",placement:"top",children:[(0,U.jsx)(o.A,{onClick:()=>P("/nearle/orders"),sx:{backgroundColor:"action.hover",color:"text.primary","&:hover":{backgroundColor:"action.selected"}},children:(0,U.jsx)(I.eQE,{size:22})})," "]}),(0,U.jsx)(a.A,{sx:{m:2},variant:"h3",children:"Assign Orders"})]}),secondary:(0,U.jsx)(c.A,{sx:{m:2},color:"primary",variant:"contained",startIcon:(0,U.jsx)(Y.A,{}),children:"Re-Assign"}),children:[(le||fe||_)&&(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(z.A,{}),(0,U.jsx)($.A,{})]}),(0,U.jsx)(l.A,{sx:{color:"#fff",zIndex:e=>e.zIndex.drawer+1},open:le||fe||_,children:(0,U.jsx)($.A,{color:"inherit"})}),1==oe&&(0,U.jsx)(i.A,{sx:{m:2},children:(0,U.jsxs)(d.Ay,{container:!0,spacing:2,children:[(0,U.jsx)(d.Ay,{item:!0,xs:12,sm:3,children:(0,U.jsx)(H.A,{secondary:null===ne||void 0===ne?void 0:ne.total_orders,primary:"Orders",percentage:(0,U.jsx)(Z,{}),color:F.palette.success.main,sx:{cursor:"pointer"}})}),(0,U.jsx)(d.Ay,{item:!0,xs:12,sm:3,children:(0,U.jsx)(H.A,{secondary:null===ne||void 0===ne?void 0:ne.total_riders,primary:"Riders",percentage:(0,U.jsx)(K.bsz,{}),color:F.palette.warning.main})}),(0,U.jsx)(d.Ay,{item:!0,xs:12,sm:3,children:(0,U.jsx)(H.A,{secondary:null===re||void 0===re?void 0:re.length,primary:"Zones",percentage:(0,U.jsx)(N.us2,{}),color:F.palette.info.main})}),(0,U.jsx)(d.Ay,{item:!0,xs:12,sm:3,children:(0,U.jsx)(H.A,{secondary:null===re||void 0===re?void 0:re.length,primary:"Kilometer",percentage:(0,U.jsx)(N.us2,{}),color:F.palette.error.main})})]})}),(0,U.jsx)(u.A,{sx:{maxHeight:"calc(100vh - 250px)",overflow:"auto","&::-webkit-scrollbar":{width:"12px",cursor:"pointer"},"&::-webkit-scrollbar-thumb":{backgroundColor:F.palette.primary.main,borderRadius:"8px",cursor:"pointer"},"&::-webkit-scrollbar-thumb:hover":{backgroundColor:F.palette.primary.dark,cursor:"pointer"},"&::-webkit-scrollbar-track":{backgroundColor:F.palette.primary.lighter,cursor:"pointer"}},children:(0,U.jsxs)(h.A,{stickyHeader:!0,children:[(0,U.jsx)(f.A,{children:(0,U.jsxs)(x.A,{sx:{backgroundColor:"red"},children:[(0,U.jsx)(p.A,{sx:{position:"sticky !important",backgroundColor:F.palette.secondary.light},children:"#"}),1==oe&&(0,U.jsx)(p.A,{sx:{position:"sticky !important",backgroundColor:F.palette.secondary.light},children:"Zone "}),(0,U.jsx)(p.A,{sx:{position:"sticky !important",backgroundColor:F.palette.secondary.light},children:"Tenant "}),(0,U.jsx)(p.A,{sx:{position:"sticky !important",backgroundColor:F.palette.secondary.light},children:"order Location"}),(0,U.jsx)(p.A,{sx:{position:"sticky !important",backgroundColor:F.palette.secondary.light},children:"Pickup "}),(0,U.jsx)(p.A,{sx:{position:"sticky !important",backgroundColor:F.palette.secondary.light},children:"Delivery"}),(0,U.jsx)(p.A,{sx:{position:"sticky !important",backgroundColor:F.palette.secondary.light},children:"Notes"}),1==oe&&(0,U.jsx)(p.A,{sx:{position:"sticky !important",backgroundColor:F.palette.secondary.light},children:"Rider"}),(0,U.jsx)(p.A,{align:"center",sx:{position:"sticky !important",backgroundColor:F.palette.secondary.light},children:"Type"}),(0,U.jsx)(p.A,{align:"center",sx:{position:"sticky !important",backgroundColor:F.palette.secondary.light},children:"Profit"}),(0,U.jsx)(p.A,{align:"center",sx:{position:"sticky !important",backgroundColor:F.palette.secondary.light},children:"Charges"}),(0,U.jsx)(p.A,{align:"center",sx:{position:"sticky !important",backgroundColor:F.palette.secondary.light},children:"KMS"})]})}),(0,U.jsxs)(m.A,{children:[0==(null===Q||void 0===Q?void 0:Q.length)&&(0,U.jsx)(x.A,{children:(0,U.jsx)(p.A,{colSpan:10,children:(0,U.jsx)(O.A,{})})}),Q&&1==oe?null===Q||void 0===Q?void 0:Q.map(((e,t)=>(0,U.jsx)(y.Fragment,{children:(0,U.jsxs)(x.A,{sx:{},children:[(0,U.jsx)(p.A,{children:(0,U.jsxs)(a.A,{children:[" ",t+1]})}),1==oe&&(0,U.jsx)(p.A,{children:(0,U.jsx)(A.A,{color:"primary",label:e.zone_name})}),(0,U.jsx)(p.A,{children:(0,U.jsxs)(s.A,{title:e.tenantaddress,children:[(0,U.jsx)(a.A,{variant:"body1",noWrap:!0,children:e.tenantname}),(0,U.jsxs)(a.A,{noWrap:!0,sx:{fontSize:"11px"},children:[e.tenantsuburb,(0,U.jsx)("br",{})]}),(0,U.jsx)(a.A,{noWrap:!0,variant:"body2",children:e.applocation})]})}),(0,U.jsxs)(p.A,{align:"left",children:[(0,U.jsx)(s.A,{title:e.locationaddress,placement:"top",children:(0,U.jsx)(a.A,{variant:"body1",noWrap:!0,children:"".concat(e.locationname,"-(").concat(e.locationsuburb,")")})}),(0,U.jsx)(s.A,{title:"Order Id",children:(0,U.jsx)(a.A,{variant:"body2",noWrap:!0,children:e.orderid})}),(0,U.jsxs)(i.A,{display:"flex",flexDirection:"row",gap:3,children:[(0,U.jsxs)(s.A,{title:"Ordered date",children:[(0,U.jsx)(a.A,{noWrap:!0,sx:{fontSize:"12px"},children:D()(e.orderdate).utc().format("DD/MM/YYYY")}),(0,U.jsx)(a.A,{noWrap:!0,sx:{fontSize:"11px"},children:D()(e.orderdate).utc().format("hh:mm A")})]}),"-",(0,U.jsxs)(s.A,{title:"Delivery date",children:[(0,U.jsx)(a.A,{noWrap:!0,sx:{fontSize:"12px"},children:D()(e.deliverydate).utc().format("DD/MM/YYYY")}),(0,U.jsx)(a.A,{noWrap:!0,sx:{fontSize:"11px"},children:D()(e.deliverydate).utc().format("hh:mm A")})]})]})]}),(0,U.jsx)(p.A,{align:"left",children:(0,U.jsx)(i.A,{direction:"row",spacing:1,children:(0,U.jsxs)(i.A,{direction:"column",children:[(0,U.jsx)(a.A,{variant:"caption",children:e.pickupcustomer}),(0,U.jsx)(a.A,{variant:"caption",children:e.pickupcontactno}),(0,U.jsx)(s.A,{title:e.pickupaddress,children:(0,U.jsx)(a.A,{variant:"caption",children:e.pickupsuburb||e.pickupaddress.slice(0,20)})})]})})}),(0,U.jsx)(p.A,{align:"left",children:(0,U.jsx)(i.A,{direction:"row",spacing:1,children:(0,U.jsxs)(i.A,{direction:"column",children:[(0,U.jsx)(a.A,{variant:"caption",children:e.deliverycustomer}),(0,U.jsx)(a.A,{variant:"caption",children:e.deliverycontactno}),(0,U.jsx)(s.A,{title:e.deliveryaddress,children:(0,U.jsx)(a.A,{variant:"caption",children:e.deliverysuburb||e.deliveryaddress.slice(0,20)})})]})})}),(0,U.jsx)(p.A,{align:"left",children:e.ordernotes}),1==oe&&(0,U.jsxs)(p.A,{align:"left",children:[(0,U.jsx)(a.A,{sx:{whiteSpace:"nowrap"},children:e.username}),(0,U.jsxs)(a.A,{children:["ID : ",e.userid]})]}),(0,U.jsx)(p.A,{align:"center",children:(0,U.jsx)(A.A,{size:"small",label:e.ordertype,color:"Economy"==e.ordertype?"success":"Risky"==e.ordertype?"error":"primary"})}),(0,U.jsx)(p.A,{align:"center",children:(0,U.jsxs)(i.A,{display:"flex",flexDirection:"column",gap:1,sx:{cursor:"pointer"},children:[(0,U.jsx)(s.A,{title:"Charges",placement:"top",children:(0,U.jsx)(A.A,{size:"small",label:"\u20b9 ".concat(e.deliverycharge.toFixed(2)," "),color:"error"})}),(0,U.jsx)(s.A,{title:"Amount",placement:"left",children:(0,U.jsx)(A.A,{size:"small",label:"\u20b9 ".concat(e.deliveryamt.toFixed(2)," "),color:"success"})})]})}),(0,U.jsx)(p.A,{align:"center",children:(0,U.jsxs)(i.A,{display:"flex",flexDirection:"column",gap:1,sx:{cursor:"pointer"},children:[(0,U.jsx)(s.A,{title:"KMS",placement:"top",children:(0,U.jsx)(A.A,{size:"small",label:"".concat(e.kms," km"),color:"error"})}),(0,U.jsx)(s.A,{title:"Cumulative Kms",placement:"right",children:(0,U.jsx)(A.A,{size:"small",label:"".concat(e.cumulativekms," km"),color:"success"})})]})})]})},t))):null===Q||void 0===Q?void 0:Q.map(((e,t)=>(0,U.jsx)(y.Fragment,{children:(0,U.jsxs)(x.A,{sx:{},children:[(0,U.jsx)(p.A,{children:(0,U.jsxs)(a.A,{children:[" ",t+1]})}),(0,U.jsx)(p.A,{children:(0,U.jsxs)(s.A,{title:e.tenantaddress,children:[(0,U.jsx)(a.A,{variant:"body1",noWrap:!0,children:e.tenantname}),(0,U.jsxs)(a.A,{noWrap:!0,sx:{fontSize:"11px"},children:[e.tenantsuburb,(0,U.jsx)("br",{})]}),(0,U.jsx)(a.A,{noWrap:!0,variant:"body2",children:e.applocation})]})}),(0,U.jsxs)(p.A,{align:"left",children:[(0,U.jsx)(s.A,{title:e.locationaddress,placement:"top",children:(0,U.jsx)(a.A,{variant:"body1",noWrap:!0,children:"".concat(e.locationname,"-(").concat(e.locationsuburb,")")})}),(0,U.jsx)(s.A,{title:"Order Id",children:(0,U.jsx)(a.A,{variant:"body2",noWrap:!0,children:e.orderid})}),(0,U.jsxs)(i.A,{display:"flex",flexDirection:"row",gap:3,children:[(0,U.jsxs)(s.A,{title:"Ordered date",children:[(0,U.jsx)(a.A,{noWrap:!0,sx:{fontSize:"12px"},children:D()(e.orderdate).utc().format("DD/MM/YYYY")}),(0,U.jsx)(a.A,{noWrap:!0,sx:{fontSize:"11px"},children:D()(e.orderdate).utc().format("hh:mm A")})]}),"-",(0,U.jsxs)(s.A,{title:"Delivery date",children:[(0,U.jsx)(a.A,{noWrap:!0,sx:{fontSize:"12px"},children:D()(e.deliverydate).utc().format("DD/MM/YYYY")}),(0,U.jsx)(a.A,{noWrap:!0,sx:{fontSize:"11px"},children:D()(e.deliverydate).utc().format("hh:mm A")})]})]})]}),(0,U.jsx)(p.A,{align:"left",children:(0,U.jsx)(i.A,{direction:"row",spacing:1,children:(0,U.jsxs)(i.A,{direction:"column",children:[(0,U.jsx)(a.A,{variant:"caption",children:e.pickupcustomer}),(0,U.jsx)(a.A,{variant:"caption",children:e.pickupcontactno}),(0,U.jsx)(s.A,{title:e.pickupaddress,children:(0,U.jsx)(a.A,{variant:"caption",children:e.pickupsuburb||e.pickupaddress.slice(0,20)})})]})})}),(0,U.jsx)(p.A,{align:"left",children:(0,U.jsx)(i.A,{direction:"row",spacing:1,children:(0,U.jsxs)(i.A,{direction:"column",children:[(0,U.jsx)(a.A,{variant:"caption",children:e.deliverycustomer}),(0,U.jsx)(a.A,{variant:"caption",children:e.deliverycontactno}),(0,U.jsx)(s.A,{title:e.deliveryaddress,children:(0,U.jsx)(a.A,{variant:"caption",children:e.deliverysuburb||e.deliveryaddress.slice(0,20)})})]})})}),(0,U.jsx)(p.A,{align:"left",children:e.ordernotes}),(0,U.jsx)(p.A,{align:"center",children:(0,U.jsx)(A.A,{size:"small",label:e.ordertype,color:"Economy"==e.ordertype?"success":"Risky"==e.ordertype?"error":"primary"})}),(0,U.jsx)(p.A,{align:"center",children:(0,U.jsxs)(i.A,{display:"flex",flexDirection:"column",gap:1,sx:{cursor:"pointer"},children:[(0,U.jsx)(s.A,{title:"Charges",placement:"top",children:(0,U.jsx)(A.A,{size:"small",label:"\u20b9 ".concat(e.deliverycharge.toFixed(2)," "),color:"error"})}),(0,U.jsx)(s.A,{title:"Amount",placement:"left",children:(0,U.jsx)(A.A,{size:"small",label:"\u20b9 ".concat(e.deliveryamt.toFixed(2)," "),color:"success"})})]})}),(0,U.jsx)(p.A,{align:"center",children:(0,U.jsxs)(i.A,{display:"flex",flexDirection:"column",gap:1,sx:{cursor:"pointer"},children:[(0,U.jsx)(s.A,{title:"KMS",placement:"top",children:(0,U.jsx)(A.A,{size:"small",label:"".concat(e.kms," km"),color:"error"})}),(0,U.jsx)(s.A,{title:"Cumulative Kms",placement:"right",children:(0,U.jsx)(A.A,{size:"small",label:"".concat(e.cumulativekms," km"),color:"success"})})]})})]})},t)))]})]})}),(0,U.jsx)(j.A,{}),0==oe&&(0,U.jsxs)(d.Ay,{container:!0,spacing:2,sx:{p:2},children:[(0,U.jsx)(d.Ay,{item:!0,xs:12,sm:6,children:(0,U.jsx)(v.A,{id:"free-solo-demo",options:ce,renderInput:e=>(0,U.jsx)(g.A,(0,n.A)((0,n.A)({},e),{},{label:"Choose Payment"})),onChange:(e,t,r)=>{if("clear"!==r){if(t){console.log("Selected:",t),V(t);const e=null===Q||void 0===Q?void 0:Q.map((e=>(0,n.A)((0,n.A)({},e),{},{paymenttype:t.apptypeid})));X(e)}}else V(null)}})}),(0,U.jsx)(d.Ay,{item:!0,xs:12,sm:6,children:(0,U.jsx)(v.A,{id:"free-solo-demo",options:he,renderInput:e=>(0,U.jsx)(g.A,(0,n.A)((0,n.A)({},e),{},{label:"Choose Rider"})),onChange:(e,t,r)=>{if("clear"!==r){if(t){G(t),console.log("Selected:",t);const e=null===Q||void 0===Q?void 0:Q.map((e=>(0,n.A)((0,n.A)({},e),{},{userid:t.userid,userfcmtoken:t.userfcmtoken})));X(e)}}else G(null)}})})]}),(0,U.jsx)(j.A,{}),(0,U.jsxs)(i.A,{display:"flex",flexDirection:"row",gap:2,alignItems:"center",justifyContent:"end",sx:{p:2},children:[(0,U.jsx)(c.A,{sx:{},variant:"contained",color:"secondary",startIcon:(0,U.jsx)(Y.A,{}),onClick:()=>{P("/nearle/orders")},children:"Back"}),(0,U.jsx)(c.A,{sx:{my:2},variant:"contained",disabled:0===oe&&(!E||!q),onClick:async()=>{ee(!0),je.mutate({deliveries:Q})},children:"Assign Orders"})]})]})}},62217:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD4AAAA+CAYAAABzwahEAAAPnUlEQVR4AdVae3AU9R3/7d4jdy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dvJfIpxB5aITzjtE/v32kZ/wDTpMBAJC+YkkKWmD8ktlHCQqKmrUnL7BWIh3vs23YcmPgu798Wv/Xz0CM3h2mdwd0wnwjn9QzatSoEJXKw1pEZeMTYxagq73w9FB7Suw8XlVVvaRi+A/yuO64bfR9t2eljL09xeEtYAOAQNhfcabrm9J/XtyGPIKn1Lp6B3X19tN6gJ/m29ymSUgKUlMzh2aEncUDmdRe1tXeaPce/dilbxgAOT99evbEQdOuHebJvsHrSC2gpec0Ky/RmNrlV3wVneHWrw427/hHc7C+k/IJEFZ1KSOjDFDIEtLmSRb1LUR94/dZeY+tVROoPDaQo1TQTS9PoSlfik4cA0B9c7mpc1z6GAByghISoZkjivI8MuVRjqEjU52DRuossXir+UJdFHcCXfW+b09VtR9tMnReoefxNJqeCbsF6R7KygL03B56N8/OWK/3tkTaNnHWa/M8zrNIru8iOik0GeADQGHFTabh0q85qL/8Kwu0xSBgTwPB6BiLGMZn83SZzmuQMAhTWz5voEeGoNcgTtWUHiqW8OO8vLww+R5lz5494UT2PBDEY9rSQqOTHAmP91TFdNGChJsyPTdlelztqcMu6i+XvNiIkBQRHlcPHGv6sUbHIKzo56J1AZBkvR5cSFhUVBR2CbD69bIpysvLecdoAHqINOytm0ijJt9J3r+TVBLHXfrGkwsiJRIMLF1i76MBEue7qE0XqTPadYiNnFen3j6Ad5HGYSDwTcslkQYGamVULLrLpH7y6dOnuY1TGctFFR0hcYfhvujinQ6eaNBgYc6sEHm+0WAKqatEWJkwYYI6depUjYhbtuWrBW775GGd1FEXFQA8FFsR8+HRMdFBKocgPrTvRkgnh4l70ijPxtwAzpLnCLpDvSztvFqQ9C8PuAPEINDeTdpgjADYjOFQhESn3s6hP+OKr9dfSUhCaiIcYjNIMur52f850f95/BfoYlARf1CQvwAAAABJRU5ErkJggg=="},94826:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(59254),i=r(46639),s=r(62217),o=r(44414);const a=(0,n.Ay)("div")((()=>({position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",zIndex:2001,display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(255, 255, 255, 0.7)",padding:"20px",borderRadius:"10px"}))),c=(0,n.Ay)("div")((()=>({position:"absolute",width:"40px",height:"40px",display:"flex",alignItems:"center",justifyContent:"center"}))),l=()=>(0,o.jsxs)(a,{children:[(0,o.jsx)(i.A,{color:"primary",size:80,thickness:6}),(0,o.jsx)(c,{children:(0,o.jsx)("img",{src:s,alt:"Logo",style:{width:"100%",height:"100%"}})})]})}}]);