1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5966],{97397:function(e,t,l){"use strict";var i=l(64836);t.Z=void 0;var n=i(l(64938)),a=l(85893);t.Z=(0,n.default)((0,a.jsx)("path",{d:"M18 11v2h4v-2zm-2 6.61c.96.71 2.21 1.65 3.2 2.39.4-.53.8-1.07 1.2-1.6-.99-.74-2.24-1.68-3.2-2.4-.4.54-.8 1.08-1.2 1.61M20.4 5.6c-.4-.53-.8-1.07-1.2-1.6-.99.74-2.24 1.68-3.2 2.4.4.53.8 1.07 1.2 1.6.96-.72 2.21-1.65 3.2-2.4M4 9c-1.1 0-2 .9-2 2v2c0 1.1.9 2 2 2h1v4h2v-4h1l5 3V6L8 9zm5.03 1.71L11 9.53v4.94l-1.97-1.18-.48-.29H4v-2h4.55zM15.5 12c0-1.33-.58-2.53-1.5-3.35v6.69c.92-.81 1.5-2.01 1.5-3.34"}),"CampaignOutlined")},40535:function(e,t,l){"use strict";var i=l(64836);t.Z=void 0;var n=i(l(64938)),a=l(85893);t.Z=(0,n.default)((0,a.jsx)("path",{d:"M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm4 18H6V4h7v5h5z"}),"DescriptionOutlined")},17445:function(e,t,l){"use strict";var i=l(64836);t.Z=void 0;var n=i(l(64938)),a=l(85893);t.Z=(0,n.default)((0,a.jsx)("path",{d:"M3 3v8h8V3zm6 6H5V5h4zm-6 4v8h8v-8zm6 6H5v-4h4zm4-16v8h8V3zm6 6h-4V5h4zm-6 4v8h8v-8zm6 6h-4v-4h4z"}),"GridViewOutlined")},32769:function(e,t,l){"use strict";var i=l(64836);t.Z=void 0;var n=i(l(64938)),a=l(85893);t.Z=(0,n.default)((0,a.jsx)("path",{d:"M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"}),"HelpOutlineOutlined")},55378:function(e,t,l){"use strict";var i=l(64836);t.Z=void 0;var n=i(l(64938)),a=l(85893);t.Z=(0,n.default)([(0,a.jsx)("path",{d:"M19.5 3.5 18 2l-1.5 1.5L15 2l-1.5 1.5L12 2l-1.5 1.5L9 2 7.5 3.5 6 2v14H3v3c0 1.66 1.34 3 3 3h12c1.66 0 3-1.34 3-3V2zM15 20H6c-.55 0-1-.45-1-1v-1h10zm4-1c0 .55-.45 1-1 1s-1-.45-1-1v-3H8V5h11z"},"0"),(0,a.jsx)("path",{d:"M9 7h6v2H9zm7 0h2v2h-2zm-7 3h6v2H9zm7 0h2v2h-2z"},"1")],"ReceiptLongOutlined")},52185:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/job-portal/billings",function(){return l(57882)}])},53179:function(e,t,l){"use strict";let{default:i}=l(24977),n=async e=>i.get("/jobs/v1/invoice/job-invoice-company/".concat(e.company_id),{params:e}),a=async e=>i.get("/jobs/v1/invoice/job-invoice/".concat(e),{responseType:"blob"});t.Z={listInvoicesByCompany:n,getInvoice:a}},57882:function(e,t,l){"use strict";l.r(t),l.d(t,{__N_SSG:function(){return m},default:function(){return f}});var i=l(85893),n=l(67294),a=l(14167),c=l(44185),s=l(23119);l(91218);var o=l(37984),d=l(70164),r=l(53179),u=l(90683),v=l(37871),m=!0;function f(){let{companyDetails:e,companyDetailsLoading:t}=(0,n.useContext)(o.Z),{t:l}=(0,v.$G)(["jobs","common"]);return(0,i.jsx)("div",{className:"relative w-full h-full ",children:(0,i.jsxs)("div",{className:"flex flex-col justify-between w-full absolute top-0 left-0 items-start sm:flex-row h-full",children:[(0,i.jsx)("div",{className:"flex-col min-w-[250px] hidden lg:flex items-start sticky-sidebar width-auto pr-0 lg:pr-6 cus h-[79vh] zsidepro scrollbar-hide",children:(0,i.jsx)(c.Z,{})}),(0,i.jsxs)("div",{className:"w-full flex md:mb-0 flex-col border-[#000000] border-gray-f2f2f2 rounded-[12px] h-[79vh]",children:[(0,i.jsx)("div",{className:"w-full font-medium p-5 border-bottom-gray-f2f2f2",children:(0,i.jsx)("h1",{className:"text-black text-lg font-medium",children:l("jobs:billing.invoice")})}),(0,i.jsx)("div",{className:"flex flex-col w-full h-full overflow-y-auto scrollbar-hide ",children:(0,i.jsx)("div",{className:"w-full",children:(0,i.jsx)(d.wK,{getItemsAPI:r.Z.listInvoicesByCompany,cacheKey:["list_invoice_by_company",null==e?void 0:e.id],otherParams:{company_id:null==e?void 0:e.id},queryOptions:{enabled:!!(null==e?void 0:e.id)},children:(0,i.jsx)(u.Z,{tableHeaders:["Sl No","Date","Invoice No","Invoice Dis","Amount","Action"],listingComponent:s.default,isTable:!0,needPagination:!0})})})})]})]})})}f.layout=a.Z},23119:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return f}});var i=l(85893),n=l(67294),a=l(53816),c=l(53252),s=l(69417),o=l(6757),d=l(53179);let r=async(e,t)=>
1{let l=document.createElement("a");l.setAttribute("download",t);let i=URL.createObjectURL(e);l.href=i,l.setAttribute("target","_blank"),l.click(),URL.revokeObjectURL(i)},u=async(e,t)=>{document.createElement("a");let l=URL.createObjectURL(e);window.open(l,"_blank")};var v={downloadFile:r,viewFileBrowser:u},m=l(7344),f=function(e){var t,l;let{item:r,index:u}=e,[f,h]=(0,n.useState)(!1),[x,b]=(0,n.useState)(!1),j=(0,o.default)(d.Z.getInvoice),p=(0,m.e)(),w=async()=>{h(!0);let e=await j.request(r.id);if(!e.data)return p.triggerSnack("An error occurred"),h(!1);let t="invoice_".concat(Date.now(),".pdf");v.downloadFile(e.data,t),h(!1)},g=async()=>{b(!0);let e=await j.request(r.id);if(!e.data)return p.triggerSnack("An error occurred"),b(!1);let t="invoice_".concat(Date.now(),".pdf");v.viewFileBrowser(e.data,t),b(!1)},N=null==r?void 0:r.createdAt,z=new Date(N),Z=z.getDate(),_=z.getMonth()+1,k=z.getFullYear(),y="".concat(Z<10?"0"+Z:Z,"/").concat(_<10?"0"+_:_,"/").concat(k);return(0,i.jsxs)(a.Z,{className:"h-fit w-full min-h-20 border-bottom-gray-f2f2f2 text-start scrollbar-hide",children:[(0,i.jsx)(c.Z,{className:"text-md font-medium text-black text-start pl-8",align:"left",children:u<9?"0".concat(u+1):u+1}),(0,i.jsx)(c.Z,{className:"text-md font-medium text-black",align:"left",children:y}),(0,i.jsx)(c.Z,{className:"text-xs font-medium text-black",align:"left",children:(0,i.jsx)("p",{className:"w-48 break-all",children:null==r?void 0:r.stripe_id})}),(0,i.jsx)(c.Z,{className:"text-md w-[20%] break-all font-medium text-black",align:"left",children:(0,i.jsx)("p",{children:(null==r?void 0:r.job_id)?null==r?void 0:null===(t=r.job)||void 0===t?void 0:null===(l=t.designation)||void 0===l?void 0:l.title:"Resume Pack"})}),(0,i.jsxs)(c.Z,{className:"text-md font-medium text-black",align:"left",children:["$",r.amount.toFixed(2)]}),(0,i.jsx)(c.Z,{className:"text-black w-[40%]",align:"left",children:(0,i.jsxs)("div",{className:"w-fit flex flex-row gap-3",children:[(0,i.jsx)(s.Z,{variant:"outlined",size:"rounded",onClick:g,disabled:x,className:" rounded-full mt-3 normal-case text-[10px] xl:text-sm border-[#1677FF]\n ",children:x?"Please wait..":"View invoice"}),(0,i.jsx)(s.Z,{variant:"contained",size:"rounded",onClick:w,disabled:f,className:" rounded-full mt-3 text-[10px] xl:text-sm\n ",children:f?"Downloading invoice":"Download invoice"})]})})]},r.id)}}},function(e){e.O(0,[8739,9774,2888,179],function(){return e(e.s=52185)}),_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.