PageSourceSearch

https://www.suburbandiagnostics.com/_next/static/chunks/2096.6ca48712a9cca699.js

js suburbandiagnostics.com collected 2026-09-24 13:07:06 UTC 21,231 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2096],{13646:function(e,l,s){var t=s(85893),a=s(67294),r=s(58202),i=s(90045),n=s(98374),d=s(93967),o=s.n(d);l.Z=e=>{let{overflowInBody:l=!0,outClickClose:s=!0,open:d,close:c,children:x,width:m=200}=e;return(0,t.jsx)(r.u,{appear:!0,show:d,as:a.Fragment,children:(0,t.jsxs)(i.Vq,{as:"div",className:"relative z-[1300]",onClose:s?c:()=>{},children:[(0,t.jsx)(r.x,{as:a.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,t.jsx)("div",{className:"fixed inset-0 bg-black/25"})}),(0,t.jsx)("div",{className:o()("fixed inset-0",l?"overflow-y-auto":""),children:(0,t.jsx)("div",{className:"flex min-h-full items-center justify-center md:p-6 p-4 text-center",children:(0,t.jsx)(r.x,{as:a.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:(0,t.jsxs)(i.EM,{className:"relative w-full ",style:{maxWidth:"".concat(m-24,"px")},children:[(0,t.jsx)("img",{src:n.Z.CrossIcon,alt:"cross",className:"z-[1300] absolute -top-5 -right-5 scale-75 cursor-pointer",onClick:e=>{e.stopPropagation(),c()}}),(0,t.jsx)("div",{className:"transform rounded-l-xl rounded-br-xl  bg-white p-0 text-left align-middle shadow-xl transition-all focus-visible:outline-none",tabIndex:0,children:x})]})})})})]})})}},98394:function(e,l,s){var t=s(85893),a=s(67294);l.Z=e=>{let{name:l="",text:s,length:r,styleClass:i}=e,[n,d]=a.useState(!0);return s.length<=r?(0,t.jsx)("p",{className:i,children:s}):(0,t.jsxs)("p",{className:i,children:[n?"".concat(s.slice(0,r),"..."):s,(0,t.jsxs)("span",{className:"text-blue-500 font-inherit cursor-pointer whitespace-nowrap ml-2",onClick:()=>d(!n),children:[l||"Read"," ",n?"More":"Less"]})]})}},72096:function(e,l,s){s.r(l),s.d(l,{default:function(){return C}});var t=s(85893),a=s(67294),r=s(71366),i=s(98374),n=s(2813),d=s(63411),o=s(84989),c=s(45043),x=s(10804),m=s(1930),u=s(10138),h=s(98394),p=s(29021),v=s(11163),j=s(40605),b=e=>{var l,s,b,N,g,f;let{etrOpen:y,setEtrOpen:_,open:w,handleToggle:k,data:D,order:C}=e,S=(0,v.useRouter)(),T=null==C?void 0:C.amount_after_discount,Z=null==C?void 0:C.home_collection_charges,L=(0,n.tf)(T,Z),[E,A]=(0,a.useState)([]),{mutate:I}=(0,d.Ts)(),{mutate:M}=(0,d.a1)(),{mutate:P}=(0,d.NT)();function F(){let e=navigator.userAgent||navigator.vendor;return/FBAN|FBAV|Instagram|Line|Twitter|MicroMessenger|GoogleApp|wv/i.test(e)}let R=(e,l)=>{I({labNo:e,lastName:l},{onSuccess:e=>{var l,s,t,a,r;if((null==e?void 0:null===(l=e.result)||void 0===l?void 0:l.length)===0){_(null==C?void 0:C._id);return}if((null==e?void 0:null===(s=e.result)||void 0===s?void 0:s.length)>1)A((null==e?void 0:e.result)||[]);else{let l=new URL(null==e?void 0:null===(t=e.result[0])||void 0===t?void 0:t.printUrl).search,s="dlplonere-reports.lalpathlabs.com"===new URL(null==e?void 0:null===(a=e.result[0])||void 0===a?void 0:a.printUrl).hostname?"".concat(j.Z.REPORT_SHOW).concat(l):null==e?void 0:null===(r=e.result[0])||void 0===r?void 0:r.printUrl;F()?window.location.href=s:S.push(s)}}})},O=e=>{let l=new URL(null==e?void 0:e.printUrl),s=l.hostname,t=l.search,a="dlplonere-reports.lalpathlabs.com"===s?"".concat(j.Z.REPORT_SHOW).concat(t):e.printUrl;F()?window.location.href=a:S.push(a)},B=e=>{M(e,{onSuccess:e=>{var l,s,t;if(null==e?void 0:null===(l=e.result)||void 0===l?void 0:l.url){let l=(null==e?void 0:null===(t=e.result)||void 0===t?void 0:null===(s=t.url)||void 0===s?void 0:s.split("?"))||[];P(null==l?void 0:l[1])}}})};return(0,t.jsxs)("div",{className:"bg-white px-4 py-4 shadow-profile rounded-lg",children:[(0,t.jsx)("div",{className:"pb-3",children:(0,t.jsxs)("div",{className:"lg:flex justify-between items-start gap-x-6 gap-y-3 text-black-1c1",children:[(0,t.jsxs)("table",{className:"order_box_table",children:[(0,t.jsx)("tr",{className:"lg:hidden",children:(0,t.jsx)("td",{colSpan:2,className:"text-black-242 font-bold",children:null==C?void 0:C.order_unique_id})}),(0,t.jsxs)("tr",{className:"lg:hidden",children:[(0,t.jsx)("td",{children:"Lab No. :"}),(0,t.jsx)("td",{className:"text-black-242 font-bold",children:null==C?void 0:C.lab_number})]}),(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{children:"Patient Name"}),(0,t.jsxs)("td",{className:"text-[#0A0404] capitalize",children:[null==C?void 0:C.first_name,"\xa0",null==C?void 0:C.patient_last_name]})]}),(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{children:"Test Name"}),(0,t.jsx)("td",{className:"text-black-242",children:(0,t.jsx)(h.Z,{styleClass:"word_break",name:"View",text:null==C?void 0:null===(l=C.test_info)||void 0===l?void 0:l.map(e=>e.name).join(" | "),length:60})})]}),(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{children:"Booking Status"}),(0,t.jsx)("td",{className:"text-green-05A",children:null==C?void 0:C.status_description})]}),(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{children:"Booking Type"}),(0,t.jsx)("td",{className:"text-black-383",children:(null==C?void 0:C.is_lab_visit)?r.Zk.LAB_VISIT:(null==C?void 0:C.is_home_collection)?r.Zk.HOME_COLLECTION:""})]}),(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{children:"Created Date & Time"}),(0,t.jsx)("td",{className:"text-black-242",children:(0,n.dq)(null==C?void 0:C.created_date_time)})]}),(0,t.jsxs)("tr",{className:"lg:hidden",children:[(0,t.jsx)("td",{children:"Total Amount:"}),(0,t.jsx)("td",{className:"text-black-242",children:(0,t.jsx)(x.j,{children:L})})]})]}),(0,t.jsxs)("div",{className:"flex flex-wrap lg:flex-col flex-row justify-between lg:items-stretch items-end sm:gap-6 sm:w-auto w-full",children:[(0,t.jsxs)("table",{className:"order_box_table",children:[(0,t.jsxs)("tr",{className:"max-lg:hidden",children:[(0,t.jsx)("td",{children:"Booking ID :"}),(0,t.jsx)("td",{className:"text-black-242 font-bold",children:null==C?void 0:C.order_unique_id})]}),(0,t.jsxs)("tr",{className:"max-lg:hidden",children:[(0,t.jsx)("td",{children:"Lab No. :"}),(0,t.jsx)("td",{className:"text-black-242 font-bold",children:null==C?void 0:C.lab_number})]}),(0,t.jsxs)("tr",{className:"max-lg:hidden",children:[(0,t.jsx)("td",{children:"Total Amount:"}),(0,t.jsx)("td",{className:"text-black-242",children:(0,t.jsx)(x.j,{children:L})})]})]}),(0,t.jsxs)("div",{className:"flex justify-end items-center gap-4 lg:mt-0 mt-4",children:[(0,t.jsx)(c.Z,{onClick:()=>R(null==C?void 0:C.lab_number,null==C?void 0:C.patient_last_name),disabled:(null==E?void 0:E.length)>0,children:"Download Report"}),(null==C?void 0:null===(s=C.invoice)||void 0===s?void 0:s.is_generated)&&(0,t.jsx)(c.Z,{onClick:()=>B(null==C?void 0:C._id),children:"Download Invoice"})]})]})]})}),(0,t.jsx)("div",{className:"my-3 flex flex-wrap justify-end gap-x-4 gap-y-6",children:null==E?void 0:E.map(e=>{let l=String(null==e?void 0:e.deviceName);return(0,t.jsx)("div",{className:"rounded-md text-white shadow-lg p-3 bg-sky cursor-pointer",onClick:()=>O(e),children:(0,t.jsx)("span",{className:"font-bold",children:p.C2[l]})})})}),y&&y===(null==C?void 0:C._id)&&(0,t.jsxs)("div",{className:"relative my-3",children:[(0,t.jsx)("img",{src:i.Z.CrossIcon,alt:"cross",className:"z-10 absolute -top-3 -right-3 h-6 w-6 cursor-pointer",onClick:()=>_("")}),(0,t.jsx)("div",{className:"overflow-auto max-w-full",children:(0,t.jsxs)("table",{className:"w-full table-auto border-collapse border text-sm text-black-242",children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{className:"border px-4 py-2 text-left",children:"Group"}),(0,t.jsx)("th",{className:"border px-4 py-2 text-left",children:"Test"}),(0,t.jsx)("th",{className:"border px-4 py-2 text-left",children:"Max Date"}),(0,t.jsx)("th",{className:"border px-4 py-2 text-left",children:"Estimate Date"})]})}),(0,t.jsx)("tbody",{children:(null==C?void 0:null===(N=C.etr_info)||void 0===N?void 0:null===(b=N.tests)||void 0===b?void 0:b.length)>0?null==C?void 0:null===(f=C.etr_info)||void 0===f?void 0:null===(g=f.tests)||void 0===g?void 0:g.map(e=>{var l;return(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{className:"border px-4 py-2 text-left",children:null==e?void 0:e.group_code}),(0,t.jsx)("td",{className:"border px-4 py-2 text-left",children:null==e?void 0:e.test_name}),(0,t.jsx)("td",{className:"border px-4 py-2 text-left",children:(0,n.dq)(null==C?void 0:null===(l=C.etr_info)||void 0===l?void 0:l.max_etr_datetime)}),(0,t.jsx)("td",{className:"border px-4 py-2 text-left",children:(0,n.dq)(null==e?void 0:e.etr_datetime)})]},null==e?void 0:e.group_code)}):(0,t.jsx)("tr",{children:(0,t.jsx)("td",{colSpan:4,className:"border px-4 py-2 text-center",children:"No data found"})})})]})})]}),(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsx)("a",{className:"text-blue cursor-pointer ".concat(w?"hidden":"block"," "),onClick:()=>k(D+1),children:(0,t.jsxs)("span",{className:"inline-flex justify-center items-center gap-2 text-theme font-medium",children:[(0,t.jsx)("span",{children:"More Details"})," ",(0,t.jsx)(o.Z,{className:"w-4 h-auto"})]})})}),w&&(0,t.jsx)(u.Z,{order:C}),(0,t.jsx)("div",{children:(0,t.jsx)("span",{onClick:()=>k(D+1),className:"".concat(w?" ":" hidden"," cursor-pointer float-end transition-transform transform-gpu mt-2.5 mr-2 "),children:(0,t.jsx)(m.Z,{src:i.Z.DropdownUp,width:16,height:16})})})]})},N=s(27484),g=s.n(N),f=s(39944),y=s(89587),_=s(14757),w=s(13646),k=e=>{let{open:l,close:s,patientData:r=[],handleContinue:i}=e,[n,d]=(0,a.useState)(""),o=e=>{d(e)};return(0,t.jsx)(w.Z,{open:l,close:s,width:900,children:(0,t.jsxs)("div",{className:"bg-white p-6 rounded-lg shadow-lg w-full",children:[(0,t.jsx)("div",{className:"p-4 bg-sky-HEAD text-sky rounded-t-lg mb-2",children:(0,t.jsx)("p",{className:"font-semibold",children:"Following members are registered with this phone number, please select a member to proceed."})}),(0,t.jsx)("div",{className:"overflow-auto max-h-96",children:(0,t.jsxs)("table",{className:"min-w-full border border-gray-200 max-w-full relative",children:[(0,t.jsx)("thead",{className:"bg-sky-HEAD2 sticky top-0",children:(0,t.jsxs)("tr",{className:"*:font-semibold",children:[(0,t.jsx)("th",{className:"py-2 px-4 text-left border-b border-gray-200",children:"Select"}),(0,t.jsx)("th",{className:"py-2 px-4 text-left border-b border-gray-200",children:"Name"}),(0,t.jsx)("th",{className:"py-2 px-4 text-left border-b border-gray-200",children:"Mobile"}),(0,t.jsx)("th",{className:"py-2 px-4 text-left border-b border-gray-200",children:"Gender"}),(0,t.jsx)("th",{className:"py-2 px-4 text-left border-b border-gray-200 whitespace-nowrap",children:"Date of Birth"}),(0,t.jsx)("th",{className:"py-2 px-4 text-left border-b border-gray-200",children:"Email"})]})}),(0,t.jsx)("tbody",{children:null==r?void 0:r.map(e=>(0,t.jsxs)("tr",{className:"hover:bg-gray-100",children:[(0,t.jsx)("td",{className:"py-2 px-4 border-b border-gray-200",children:(0,t.jsx)("input",{type:"radio",name:"member",value:null==e?void 0:e.SID,checked:n===(null==e?void 0:e.SID),onChange:()=>o(null==e?void 0:e.SID),className:"h-4 w-4 text-sky focus:ring-sky"})}),(0,t.jsxs)("td",{className:"py-2 px-4 border-b border-gray-200",children:[null==e?void 0:e.FirstName," ",null==e?void 0:e.LastName]}),(0,t.jsx)("td",{className:"py-2 px-4 border-b border-gray-200",children:null==e?void 0:e.MobileNumber}),(0,t.jsx)("td",{className:"py-2 px-4 border-b border-gray-200",children:null==e?void 0:e.Gender}),(0,t.jsx)("td",{className:"py-2 px-4 border-b border-gray-200",children:null==e?void 0:e.DateofBirth}),(0,t.jsx)("td",{className:"py-2 px-4 border-b border-gray-200",children:null==e?void 0:e.EmailAddress})]},null==e?void 0:e.SID))})]})}),(0,t.jsx)("div",{className:"p-4 flex justify-between items-center bg-gray-50",children:(0,t.jsx)(c.Z,{disabled:!n,onClick:()=>{i(n)},color:"theme",className:"px-6",children:"Continue"})})]})})},D=s(45852),C=()=>{let e=(0,v.useRouter)(),{profile:l}=(0,D.I)(),[s,o]=(0,a.useState)({page:1,order_type:"previous",from_date:(0,n.vW)(1,"months"),to_date:g()().format("YYYY-MM-DD")}),[c,x]=(0,a.useState)(""),[u,h]=(0,a.useState)(""),[p,N]=(0,a.useState)([]),[w,C]=(0,a.useState)(0),[S,T]=(0,a.useState)(!1),{data:Z,isLoading:L}=(0,d.rB)(s),{data:E,mutate:A,isLoading:I}=(0,d.Qx)();(0,a.useEffect)(()=>{let e=null==Z?void 0:Z.result;e&&(null==e?void 0:e.list)&&(C(null==e?void 0:e.count),N(null==e?void 0:e.list),window.scroll(0,0))},[Z]);let M=e=>{x(c!==e?e:"")},P=(e,l)=>{var t,a;"days"==e&&("1"===l?(t=1,a="months"):"2"===l?(t=3,a="months"):"3"===l?(t=6,a="months"):"4"===l?(t=1,a="years"):"5"===l&&(t=2,a="years"));let r=g()().format("YYYY-MM-DD"),i=(0,n.vW)(t,a);o({...s,page:1,from_date:i,to_date:r})},F=[{label:"Last 1 Month",value:"1"},{label:"Last 3 Months",value:"2"},{label:"Last 6 Months",value:"3"},{label:"Last 1 Year",value:"4"},{label:"Last 2 Year",value:"5"}
1],[R,O]=(0,a.useState)(!1),[B,U]=(0,a.useState)(F[0]),Y=e=>{U(e),O(!1),P("days",e.value)},q=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let e=e=>{q.current&&!q.current.contains(e.target)&&O(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]),(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex flex-wrap justify-between relative gap-3",children:[(0,t.jsx)(f.Z,{title:"Completed Bookings"}),(0,t.jsx)("div",{className:"justify-end",children:(0,t.jsxs)("div",{className:"relative w-72",ref:q,children:[(0,t.jsxs)("button",{onClick:()=>O(e=>!e),className:"w-full h-10 px-4 flex items-center justify-between rounded-xl border border-gray-300 bg-white text-base font-medium",children:[B.label,(0,t.jsx)(m.Z,{src:i.Z.DropDownIcon,className:"w-4 h-2 ".concat(R?"rotate-180":""),width:12,height:8})]}),R&&(0,t.jsxs)("div",{className:"absolute z-20 mt-3 w-full rounded-2xl bg-white shadow-2xl border border-gray-100 overflow-hidden",children:[(0,t.jsx)("div",{className:"px-4 pt-5 pb-2 text-xs font-bold uppercase text-gray-500 tracking-wide",children:"Recent Bookings"}),F.map(e=>(0,t.jsx)("div",{onClick:()=>Y(e),className:"mx-2 my-1 cursor-pointer rounded-lg px-2 py-2 text-[16px]\n                      ".concat(B.value===e.value?"bg-teal-600 text-white":"hover:bg-gray-100"),children:e.label},e.value)),(0,t.jsx)("hr",{className:"mx-4 my-3"}),(0,t.jsx)("div",{className:"px-4 pb-1 text-xs font-bold uppercase text-gray-500 tracking-wide",children:"Archived"}),(0,t.jsxs)("div",{className:"flex items-center justify-between px-4 py-2 cursor-pointer",onClick:function(){A({MobileNumber:null==l?void 0:l.phone_number},{onSuccess:()=>{T(!0)}})},children:[(0,t.jsx)("span",{className:"text-sm",children:"Aug 2024 – Jan 2025"}),(0,t.jsx)("button",{className:"rounded-full bg-teal-100 px-2 py-1 text-sm font-medium text-teal-700",children:"Select Patient"})]}),(0,t.jsxs)("div",{className:"px-4 pb-5 text-sm text-gray-500",children:["Older than Aug 2024?"," ",(0,t.jsx)("span",{className:"font-medium text-teal-600 cursor-pointer",children:"Contact customer care"})]})]})]})})]}),(0,t.jsxs)("div",{className:"py-6",children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-y-6",children:[(0,t.jsxs)("div",{className:"bg-gray-100 px-4 py-4 shadow-profile rounded-lg",children:[(0,t.jsx)("strong",{children:"NOTE :"}),(0,t.jsx)("ul",{className:"list-disc pl-6 space-y-4 text-gray-800 mt-1",children:(0,t.jsx)("li",{children:"If you're having trouble downloading your report: Ensure that pop-ups are enabled in your browser. Try clearing your cache before attempting again."})})]}),(null==p?void 0:p.length)>0&&(null==p?void 0:p.map((e,l)=>(0,t.jsx)(b,{order:e,data:l,open:c===l+1,handleToggle:M,etrOpen:u,setEtrOpen:h},null==e?void 0:e._id)))]}),w>0&&(0,t.jsx)("div",{className:"container flex justify-end mt-5",children:(0,t.jsx)(_.Z,{className:"text-theme",locale:{prev_page:"Prev",next_page:"Next"},onChange:e=>o({...s,page:e}),current:Number(null==s?void 0:s.page),total:Math.ceil(Number(w||0))})})]}),S&&(0,t.jsx)(k,{open:S,close:function(){T(!1)},patientData:(null==E?void 0:E.result)||[],handleContinue:function(l){e.push({pathname:j.Z.PROFILE,query:{tab:r.DY.DownloadOrder,SID:l}})}}),(0,t.jsx)(y.default,{isLoading:L})]})}},10138:function(e,l,s){var t=s(85893),a=s(10804);s(67294);var r=s(2813);l.Z=e=>{var l,s;let{order:i}=e,n=null==i?void 0:i.amount_after_discount,d=null==i?void 0:i.home_collection_charges,o=Number((null==i?void 0:i.actual_amount)||0)-Number((null==i?void 0:i.amount_after_discount)||0),c=(0,r.tf)(n,d);return(0,t.jsxs)("div",{className:"grid lg:grid-cols-[auto_280px] grid-cols-1 gap-x-6 gap-y-4 mt-6",children:[(0,t.jsx)("div",{children:(0,t.jsxs)("div",{className:"py-2 md:px-4 px-3 overflow-hidden bg-gray-F6F rounded-md text-black",children:[(0,t.jsx)("h6",{className:"font-medium text-black-393",children:"Booking Details"}),(0,t.jsx)("div",{className:"overflow-x-auto pb-3 hidden lg:block",children:(0,t.jsxs)("table",{className:"lg:w-full border-separate w-[450px]",children:[(0,t.jsx)("thead",{className:"text-sm border-b lg:table-header-group font-semibold",children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{className:"py-2",children:"Package/Test Name"}),(0,t.jsx)("td",{className:"py-2",children:"Unit Price"}),(0,t.jsx)("td",{className:"py-2",children:"Discount"}),(0,t.jsx)("td",{className:"py-2",children:"Price"})]})}),(0,t.jsx)("tbody",{className:"lg:border-gray-300 text-sm",children:null==i?void 0:null===(l=i.test_info)||void 0===l?void 0:l.map((e,l)=>(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{className:"text-black-body",children:null==e?void 0:e.name}),(0,t.jsx)("td",{children:(0,t.jsx)(a.j,{className:"font-normal",children:(null==e?void 0:e.unit_price)||0})}),(0,t.jsx)("td",{children:(0,t.jsx)(a.j,{className:"font-normal",children:(null==e?void 0:e.coupon_item_discount)||(null==e?void 0:e.discount_amount)||0})}),(0,t.jsx)("td",{children:(0,t.jsx)(a.j,{className:"font-normal",children:(null==e?void 0:e.net_amount)||0})})]},l))})]})}),(0,t.jsx)("div",{className:"block lg:hidden space-y-4",children:null==i?void 0:null===(s=i.test_info)||void 0===s?void 0:s.map((e,l)=>(0,t.jsxs)("div",{className:"border rounded-md p-3 bg-white text-sm space-y-2",children:[(0,t.jsxs)("div",{className:"flex justify-between gap-1",children:[(0,t.jsx)("span",{className:"font-semibold",children:"Package/Test Name:"}),(0,t.jsx)("span",{className:"text-right word_break",children:null==e?void 0:e.name})]}),(0,t.jsxs)("div",{className:"flex justify-between",children:[(0,t.jsx)("span",{className:"font-semibold",children:"Unit Price:"}),(0,t.jsx)(a.j,{className:"font-normal",children:(null==e?void 0:e.unit_price)||0})]}),(0,t.jsxs)("div",{className:"flex justify-between",children:[(0,t.jsx)("span",{className:"font-semibold",children:"Discount:"}),(0,t.jsx)(a.j,{className:"font-normal",children:(null==e?void 0:e.coupon_item_discount)||(null==e?void 0:e.discount_amount)||0})]}),(0,t.jsxs)("div",{className:"flex justify-between",children:[(0,t.jsx)("span",{className:"font-semibold",children:"Price:"}),(0,t.jsx)(a.j,{className:"font-normal",children:(null==e?void 0:e.net_amount)||0})]})]},l))})]})}),(0,t.jsxs)("div",{className:"py-2 md:px-4 px-3 overflow-hidden bg-gray-F6F rounded-md text-black",children:[(0,t.jsx)("h6",{className:"font-semibold",children:"Payment Details"}),(0,t.jsx)("hr",{className:"my-2 border-t-gray-707 border-t-2 border-opacity-40"}),(0,t.jsxs)("div",{className:"space-y-2 text-sm",children:[(0,t.jsxs)("div",{className:"grid grid-cols-[auto_100px]",children:[(0,t.jsx)("div",{children:"Sub Total"}),(0,t.jsx)("div",{className:"text-right",children:(0,t.jsx)(a.j,{className:"font-normal",children:(null==i?void 0:i.actual_amount)||0})})]}),(0,t.jsxs)("div",{className:"grid grid-cols-[auto_100px]",children:[(0,t.jsx)("div",{children:"Home Collection Charges"}),(0,t.jsx)("div",{className:"text-right",children:(0,t.jsx)(a.j,{className:"font-normal",children:(null==i?void 0:i.home_collection_charges)||0})})]}),(0,t.jsxs)("div",{className:"grid grid-cols-[auto_100px]",children:[(0,t.jsx)("div",{children:"Discount"}),(0,t.jsx)("div",{className:"text-right",children:(0,t.jsx)(a.j,{className:"font-normal",children:o||0})})]}),(0,t.jsx)("hr",{className:"!my-3 border-t-gray-707 border-t-2 border-opacity-40"}),(0,t.jsxs)("div",{className:"grid grid-cols-[auto_100px]",children:[(0,t.jsx)("div",{children:"Total"}),(0,t.jsx)("div",{className:"text-right",children:(0,t.jsx)(a.j,{className:"font-normal",children:c||0})})]}),(null==i?void 0:i.paid_amount)>0&&(0,t.jsxs)("div",{className:"grid grid-cols-[110px_auto] gap-1 text-success",children:[(0,t.jsx)("div",{className:"font-bold",children:"Paid Amount:"}),(0,t.jsx)("div",{className:"text-right",children:(0,t.jsx)(a.j,{children:null==i?void 0:i.paid_amount})})]}),(null==i?void 0:i.paid_amount)>0?(0,t.jsxs)("div",{className:"grid grid-cols-[auto_100px]",children:[(0,t.jsx)("div",{className:"font-semibold",children:"Net Payable Amou
1nt"}),(0,t.jsx)("div",{className:"text-right",children:(0,t.jsx)(a.j,{children:0})})]}):(0,t.jsxs)("div",{className:"grid grid-cols-[auto_100px]",children:[(0,t.jsx)("div",{className:"font-semibold",children:"Net Payable Amount"}),(0,t.jsx)("div",{className:"text-right",children:(0,t.jsx)(a.j,{children:c||0})})]})]})]})]})}}}]);

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.