PageSourceSearch

https://online.lsk.or.ke/static/js/7687.a893ad6d.chunk.js

js lsk.or.ke collected 2026-09-26 05:42:09 UTC 23,882 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunklsk=self.webpackChunklsk||[]).push([[7687],{75465:(e,i,l)=>{l.d(i,{A:()=>v});var s=l(9950),a=l(24492),d=l(1201),n=l(22101),t=l(70431),o=l(81820),r=l(56381),c=l(10300),m=l(44414);const v=e=>{var i,l,v,p,x,h,u,f,j,g,b,_,N,w,y;let A=null===e||void 0===e?void 0:e.selectedData;(0,a.Zp)();const[k,C]=(0,s.useState)(!1),[V,H]=(0,s.useState)({}),B=(0,c.d4)(e=>{var i;return null===e||void 0===e||null===(i=e.userData)||void 0===i?void 0:i.business_token});(0,s.useEffect)(()=>{(async()=>{try{C(!0);let e=await n.A.request("get",n.A.config.getProfileDataApi,{type:"attachment",business_token:B});null!==e&&void 0!==e&&e.status?H(null===e||void 0===e?void 0:e.data):d.oR.error(null===e||void 0===e?void 0:e.message)}catch(e){console.error(e)}finally{C(!1)}})()},[]);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)("div",{className:"offcanvas offcanvas-end width-500px offcanvas_fix1",tabIndex:-1,id:"offcanvasRight","aria-labelledby":"offcanvasRightLabel",children:[k&&(0,m.jsx)(t.A,{}),(0,m.jsxs)("div",{className:"offcanvas-header filter-box-v02-header align-items-center bg-primary text-white d-flex justify-content-between",children:[(0,m.jsx)("h5",{id:"offcanvasRightLabel",className:"font-24px font-primary-semibold ",children:"Member Service Detail"}),(0,m.jsx)("button",{type:"button",className:"btn-close text-reset","data-bs-dismiss":"offcanvas","aria-label":"Close"})]}),(0,m.jsx)("div",{className:"offcanvas-body padding-30px",children:(0,m.jsxs)("div",{className:"filter-box-inner",children:[(0,m.jsx)("div",{className:"row mb-4 row_w_100 flex-column flex-lg-row",children:(0,m.jsx)("div",{className:"col reqright_rght",children:(0,m.jsxs)("div",{className:"border rounded-10px border-primary-light h-100 d-flex flex-column",children:[(0,m.jsx)("div",{className:"border-bottom border-primary-light py-3 px-3 px-md-4",children:(0,m.jsx)("div",{className:"font-22px font-bold line-height-140",children:null===A||void 0===A||null===(i=A.get_member_service_detail)||void 0===i?void 0:i.title})}),(0,m.jsx)("div",{className:"list-group-tableForm line-height-140 flex-grow-1",children:(0,m.jsxs)("ul",{className:"list-group list-group-flush",children:[(0,m.jsx)("li",{className:"list-group-item border-primary-light",children:(0,m.jsxs)("div",{className:"row list-group-Contentrow",children:[(0,m.jsx)("div",{className:"col-4 pe-0",children:(0,m.jsx)("div",{children:"Reference Number"})}),(0,m.jsx)("div",{className:"col-8",children:(0,m.jsx)("div",{children:(null===A||void 0===A?void 0:A.practice_ref_no)||(null===A||void 0===A?void 0:A.membership_ref_no)||(null===A||void 0===A?void 0:A.cgs_serial_no)||(null===A||void 0===A?void 0:A.id_card_ref_no)})})]})}),(null===A||void 0===A?void 0:A.nature_of_engagement)&&(0,m.jsx)("li",{className:"list-group-item border-primary-light",children:(0,m.jsxs)("div",{className:"row list-group-Contentrow",children:[(0,m.jsx)("div",{className:"col-4 pe-0",children:(0,m.jsx)("div",{children:"Nature of Engagement"})}),(0,m.jsx)("div",{className:"col-8",children:(0,m.jsx)("div",{children:"string"===typeof A.nature_of_engagement?A.nature_of_engagement:(null===A||void 0===A||null===(l=A.get_nature_of_engagement)||void 0===l?void 0:l.name)||(null===A||void 0===A||null===(v=A.nature_of_engagement)||void 0===v?void 0:v.name)||(null===A||void 0===A?void 0:A.nature_of_engagement)})})]})}),(null===A||void 0===A?void 0:A.beneficiary)&&(0,m.jsx)("li",{className:"list-group-item border-primary-light",children:(0,m.jsxs)("div",{className:"row list-group-Contentrow",children:[(0,m.jsx)("div",{className:"col-4 pe-0",children:(0,m.jsx)("div",{children:"Beneficiary"})}),(0,m.jsx)("div",{className:"col-8",children:(0,m.jsx)("div",{children:"string"===typeof A.beneficiary?A.beneficiary:(null===A||void 0===A||null===(p=A.get_beneficiary)||void 0===p?void 0:p.name)||(null===A||void 0===A||null===(x=A.beneficiary)||void 0===x?void 0:x.name)||(null===A||void 0===A?void 0:A.beneficiary)})})]})}),(null===A||void 0===A?void 0:A.law_firm)&&(0,m.jsx)("li",{className:"list-group-item border-primary-light",children:(0,m.jsxs)("div",{className:"row list-group-Contentrow",children:[(0,m.jsx)("div",{className:"col-4 pe-0",children:(0,m.jsx)("div",{children:"Law Firm"})}),(0,m.jsx)("div",{className:"col-8",children:(0,m.jsx)("div",{children:"string"===typeof A.law_firm?A.law_firm:(null===A||void 0===A||null===(h=A.get_law_firm)||void 0===h?void 0:h.law_firm_name)||(null===A||void 0===A||null===(u=A.get_lsk_law_firm)||void 0===u?void 0:u.law_firm_name)||(null===A||void 0===A||null===(f=A.law_firm)||void 0===f?void 0:f.law_firm_name)||(null===A||void 0===A?void 0:A.law_firm)})})]})}),"good_standing_certificate_law_firm"==(null===A||void 0===A?void 0:A.type)&&(0,m.jsx)("li",{className:"list-group-item border-primary-light",children:(0,m.jsxs)("div",{className:"row list-group-Contentrow",children:[(0,m.jsx)("div",{className:"col-4 pe-0",children:(0,m.jsx)("div",{children:"Law Firm"})}),(0,m.jsx)("div",{className:"col-8",children:(0,m.jsx)("div",{children:null===A||void 0===A||null===(j=A.get_lsk_law_firm)||void 0===j?void 0:j.title})})]})}),(null===A||void 0===A?void 0:A.appointed_member)&&(0,m.jsx)("li",{className:"list-group-item border-primary-light",children:(0,m.jsxs)("div",{className:"row list-group-Contentrow",children:[(0,m.jsx)("div",{className:"col-4 pe-0",children:(0,m.jsx)("div",{children:"Appointed Member"})}),(0,m.jsx)("div",{className:"col-8",children:(0,m.jsx)("div",{children:"string"===typeof A.appointed_member?A.appointed_member:(null===A||void 0===A||null===(g=A.get_appointed_member)||void 0===g?void 0:g.name)||(null===A||void 0===A||null===(b=A.appointed_member)||void 0===b?void 0:b.name)||(null===A||void 0===A?void 0:A.appointed_member)})})]})}),(null===A||void 0===A?void 0:A.next_of_kin)&&(0,m.jsx)("li",{className:"list-group-item border-primary-light",children:(0,m.jsxs)("div",{className:"row list-group-Contentrow",children:[(0,m.jsx)("div",{className:"col-4 pe-0",children:(0,m.jsx)("div",{children:"Next of Kin"})}),(0,m.jsx)("div",{className:"col-8",children:(0,m.jsx)("div",{children:"string"===typeof A.next_of_kin?A.next_of_kin:(null===A||void 0===A||null===(_=A.get_next_of_kin)||void 0===_?void 0:_.name)||(null===A||void 0===A||null===(N=A.next_of_kin)||void 0===N?void 0:N.name)||(null===A||void 0===A?void 0:A.next_of_kin)})})]})}),(0,m.jsx)("li",{className:"list-group-item border-primary-light",children:(0,m.jsxs)("div",{className:"row list-group-Contentrow",children:[(0,m.jsx)("div",{className:"col-4 pe-0",children:(0,m.jsx)("div",{children:"Amount Due"})}),(0,m.jsx)("div",{className:"col-8",children:(0,m.jsx)("div",{children:null===A||void 0===A?void 0:A.due_amount})})]})}),(0,m.jsx)("li",{className:"list-group-item border-primary-light",children:(0,m.jsxs)("div",{className:"row list-group-Contentrow",children:[(0,m.jsx)("div",{className:"col-4 pe-0",children:(0,m.jsx)("div",{children:"Amount Paid"})}),(0,m.jsx)("div",{className:"col-8",children:"good_standing_certificate"===(null===A||void 0===A?void 0:A.type)||"good_standing_certificate_law_firm"===(null===A||void 0===A?void 0:A.type)?null===A||void 0===A?void 0:A.total_paid_amount:null===A||void 0===A?void 0:A.paid_amount})]})}),(0,m.jsx)("li",{className:"list-group-item border-primary-light",children:(0,m.jsxs)("div",{className:"row list-group-Contentrow",children:[(0,m.jsx)("div",{className:"col-4 pe-0",children:(0,m.jsx)("div",{children:"Date Paid"})}),(0,m.jsx)("div",{className:"col-8",children:(null===o.A||void 0===o.A?void 0:o.A.dateFormat(null===A||void 0===A||null===(w=A.get_transaction_detail)||void 0===w?void 0:w.created_at,"DD MMM YYYY"))||"-"})]})}),(0,m.jsx)("li",{className:"list-group-item border-primary-light",children:(0,m.jsxs)("div",{className:"row list-group-Contentrow",children:[(0,m.jsx)("div",{className:"col-4 pe-0",children:(0,m.jsx)("div",{children:"Status"})}),(0,m.jsxs)("div",{className:"col-8",children:["pending"===(null===A||void 0===A?void 0:A.approve_status)&&(0,m.jsx)("div",{className:"statusBtn statusPendingBtn font-primary-bold",children:"Pending"}),"approved"===(null===A||void 0===A?void 0:A.approve_status)&&(0,m.jsx)("div",{className:"statusBtn statusApproveBtn font-primary-bold",children:"Approved"}),"declined"==(null===A||void 0===A?void 0:A.approve_status)&&(0,m.jsx)("div",{className:"statusBtn statusDeclientBtn font-primary-bold",children:"Action Required"})]})]})}),"declined"==(null===A||void 0===A?void 0:A.approve_status)&&(null===A||void 0===A?void 0:A.decline_reason)&&(0,m.jsx)("li",{className:"list-group-item border-primary-light",children:(0,m.jsxs)("div",{className:"row list-group-Contentrow",children:[(0,m.jsx)("div",{className:"col-4 pe-0",children:(0,m.jsx)("div",{children:"Review Reason"})}),(0,m.jsx)("div",{className:"col-8",children:null===A||void 0===A?void 0:A.decline_reason})]})})]})})]})})}),(null===A||void 0===A||null===(y=A.get_category_attachments)||void 0===y?void 0:y.length)>0&&(0,m.jsx)("div",{className:"pb-3",children:(0,m.jsxs)("div",{className:"card border rounded-10px mb-5",children:[(0,m.jsx)("div",{className:"card-header bg-transparent line-height-150 font-semibold",children:(0,m.jsx)("div",{children:"Attachments"})}),(0,m.jsx)("div",{className:"card-body d-flex flex-column gap-3",children:null===A||void 0===A?void 0:A.get_category_attachments.map((e,i)=>(0,m.jsx)("div",{className:"list-group-item border-primary-light",children:(0,m.jsxs)("div",{className:"row list-group-Contentrow g-2",style:{},children:[(0,m.jsx)("div",{className:"col-12 pe-0",children:(0,m.jsx)("div",{className:"font-16 line-height-120",children:null===e||void 0===e?void 0:e.attachment_name})}),(0,m.jsx)("div",{className:"col-12",children:(0,m.jsx)("button",{className:"btn btn-primary",onClick:()=>window.open(null===e||void 0===e?void 0:e.attachment,"_blank"),children:"View"})})]})},i))})]})}),(0,m.jsxs)("div",{className:"fotter-position",children:["approved"==(null===A||void 0===A?void 0:A.approve_status)&&"approved"==(null===A||void 0===A?void 0:A.jams_status)&&(0,m.jsx)("div",{className:"filter_popup_footer d-flex justify-content-end mt-2",children:(0,m.jsx)("a",{className:"btn btn-primary h-46px w-100 font-18px line-height-100",onClick:()=>(async e=>{if(e)try{var i,l;C(!0);const s=await n.A.request("post","get-member-practice-certificate",{practice_certificate_id:e}),a=(null===s||void 0===s||null===(i=s.data)||void 0===i?void 0:i.certificate_url)||(null===s||void 0===s||null===(l=s.data)||void 0===l?void 0:l.downloadCertificateUrl);null!==s&&void 0!==s&&s.status&&a?window.open(a,"_blank"):d.oR.error((null===s||void 0===s?void 0:s.message)||"Certificate URL not found")}catch(s){}finally{C(!1)}})(null===A||void 0===A?void 0:A.id),children:"Download Certificate"})}),(null===A||void 0===A?void 0:A.download_pro_forma_invoice_url)&&(0,m.jsx)("div",{className:"filter_popup_footer d-flex justify-content-end mt-2",children:(0,m.jsx)("a",{href:A.download_pro_forma_invoice_url,target:"_blank",rel:"noopener noreferrer",className:"btn btn-primary h-46px w-100 font-18px line-height-100",children:"Download Pro Forma Invoice"})}),(null===A||void 0===A?void 0:A.due_amount)>0&&(0,m.jsx)("div",{className:"filter_popup_footer d-flex justify-content-end pt-2",children:(0,m.jsxs)("button",{className:"btn btn-primary h-46px w-100 font-18px line-height-100","data-bs-toggle":"modal","data-bs-target":"#RatimgModal","aria-controls":"RatimgModal",children:["Pay Due Amount  (",o.A.formatCurrency(null===A||void 0===A?void 0:A.due_amount)," KES)"]})})]})]})})]}),(0,m.jsx)(r.A,{amount:null===A||void 0===A?void 0:A.due_amount,url:null===e||void 0===e?void 0:e.url,type:"practice",application_id:null===A||void 0===A?void 0:A.id,callApi:null===e||void 0===e?void 0:e.callApi,setCallApi:null===e||void 0===e?void 0:e.setCallApi})]})}},87687:(e,i,l)=>{l.r(i),l.d(i,{default:()=>x});var s=l(9950),a=l(43796),d=l(94026),n=l(51231),t=l(24492),o=l(22101),r=l(70431),c=l(81820),m=l(75465),v=l(73561),p=l(44414);const x=()=>{var e,i,l,x;
1const h=(0,t.Zp)(),[u,f]=(0,s.useState)("card"),[j,g]=(0,s.useState)(!1),[b,_]=(0,s.useState)({data:[]}),[N,w]=(0,s.useState)(!1),[y,A]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{(async()=>{try{g(!0);let e=await o.A.request("get","get-other-service-requests",{member_service_type:"aba_annual_subscription"});null!==e&&void 0!==e&&e.status&&_(e)}catch(e){}finally{g(!1)}})(),(()=>{const e=window.bootstrap.Offcanvas.getInstance(document.getElementById("offcanvasRight"));e&&e.hide()})()},[y]),(0,p.jsxs)(p.Fragment,{children:[j&&(0,p.jsx)(r.A,{}),(0,p.jsxs)("div",{className:"page-wrapper ",children:[(0,p.jsx)(n.A,{}),(0,p.jsxs)("div",{className:"page-container ",children:[(0,p.jsx)(d.A,{type:"aba-annual-subscription"}),(null===b||void 0===b||null===(e=b.data)||void 0===e?void 0:e.length)<=0&&(0,p.jsx)("div",{className:"app_container",children:(0,p.jsxs)("div",{className:"appBodyWrapper",children:[(0,p.jsx)("div",{className:"pageHeading d-flex align-items-lg-center justify-content-between flex-wrap flex-column flex-lg-row",children:(0,p.jsxs)("div",{children:[(0,p.jsx)("div",{className:"font-22px font-semibold mb-1 mb-md-1 mb-lg-0",children:"ABA Non-Life Membership"}),(0,p.jsx)(v.A,{text:"ABA Annual Subscription provides yearly membership access."})]})}),(0,p.jsx)("div",{className:"app_container_body success_screen success_screen_has_heading justify-content-center",children:(0,p.jsxs)("div",{className:"text-center",children:[(0,p.jsx)("div",{className:"img-bg-kin-v1 mb-3",children:(0,p.jsx)("img",{src:"assets/img/img1.svg",alt:""})}),(0,p.jsx)("div",{className:"mt-33px",children:(0,p.jsxs)("div",{className:"font-20px font-bold line-height-130",children:["You haven\u2019t requested for any ",(0,p.jsx)("br",{}),"ABA Annual Subscription yet"," "]})}),(0,p.jsx)("div",{className:"mt-1",children:(0,p.jsx)("div",{className:"font-14px font-medium",children:"Click button below to Request Now"})}),(0,p.jsx)("div",{className:"mt-3",children:(0,p.jsx)("a",{className:"link-primary ",onClick:()=>{h("/request-aba-annual-subscription")},children:(0,p.jsxs)("svg",{className:"svgFill",xmlns:"http://www.w3.org/2000/svg",width:50,height:50,viewBox:"0 0 50 50",fill:"none",children:[(0,p.jsx)("circle",{cx:"24.6311",cy:"24.6311",r:"24.3298",stroke:"#E0F1FF",strokeWidth:"0.602572"}),(0,p.jsx)("path",{d:"M23.2441 26.0188H14.917V23.2431H23.2441V14.916H26.0198V23.2431H34.3469V26.0188H26.0198V34.3459H23.2441V26.0188Z",fill:"white"})]})})})]})})]})}),(null===b||void 0===b||null===(i=b.data)||void 0===i?void 0:i.length)>0&&(0,p.jsx)("div",{className:"app_container",children:(0,p.jsxs)("div",{className:"appBodyWrapper",children:[(0,p.jsxs)("div",{className:"pageHeading d-flex align-items-lg-center justify-content-between flex-wrap flex-column flex-lg-row",children:[(0,p.jsxs)("div",{children:[(0,p.jsx)("div",{className:"font-22px font-semibold mb-1 mb-md-1 mb-lg-0",children:"ABA Non-Life Membership"}),(0,p.jsx)(v.A,{text:"ABA Annual Subscription provides yearly membership access."})]}),(0,p.jsxs)("div",{className:"mt-0 my-md-0 d-inline-flex justify-content-lg-end flex-column-reverse flex-md-row",children:[(0,p.jsx)("div",{className:" d-inline-flex justify-content-md-end",children:(0,p.jsxs)("div",{className:"border border-color-C4D5EA rounded-5px d-inline-flex me-2 tab_link",children:[(0,p.jsx)("a",{className:`d-inline-flex align-items-center px-2 btn min-w-inherit ${"card"==u&&"btn-primary active"}`,onClick:()=>{f("card")},children:(0,p.jsx)("svg",{className:"mx-1",xmlns:"http://www.w3.org/2000/svg",width:22,height:18,viewBox:"0 0 22 18",fill:"none",children:(0,p.jsx)("path",{d:"M22 18H15.647V9.52935H22V18ZM14.5882 18H8.23519V9.52935H14.5882V18ZM7.17636 18H0.823372V9.52935H7.17636V18ZM22 8.47052H15.647V-0.000135422H22V8.47052ZM14.5882 8.47052H8.23519V-0.000135422H14.5882V8.47052ZM7.17636 8.47052H0.823372V-0.000135422H7.17636V8.47052Z"})})}),(0,p.jsx)("a",{className:`d-inline-flex align-items-center px-2 btn min-w-inherit ${"list"==u&&"btn-primary active"}`,onClick:()=>{f("list")},children:(0,p.jsx)("svg",{className:"mx-1",xmlns:"http://www.w3.org/2000/svg",width:21,height:18,viewBox:"0 0 21 18",fill:"none",children:(0,p.jsx)("path",{d:"M1.96875 0H19.0312C20.1186 0 21 0.863437 21 1.92857V16.0714C21 17.1366 20.1186 18 19.0312 18H1.96875C0.881426 18 0 17.1366 0 16.0714V1.92857C0 0.863437 0.881426 0 1.96875 0ZM11.8125 15.4286H18.375V11.5714H11.8125V15.4286ZM11.8125 9H18.375V5.14286H11.8125V9ZM2.625 15.4286H9.1875V11.5714H2.625V15.4286ZM2.625 9H9.1875V5.14286H2.625V9Z"})})})]})}),(0,p.jsx)("a",{className:"btn btn-primary font-16px font-primary rounded-5px line-height-100 px-xl-3 flex-0-0-auto mb-2 mb-md-0 me-2",onClick:()=>{window.open(null===b||void 0===b?void 0:b.export_pdf_url,"_blank")},children:"Export PDF"}),(0,p.jsx)("a",{className:"btn btn-primary font-16px font-primary rounded-5px line-height-100 px-xl-3 flex-0-0-auto mb-2 mb-md-0 me-2",onClick:()=>{window.open(null===b||void 0===b?void 0:b.export_csv_url,"_blank")},children:"Export CSV"}),(0,p.jsx)("a",{className:"btn btn-primary font-16px font-primary rounded-5px line-height-100 px-xl-3 flex-0-0-auto mb-2 mb-md-0",onClick:()=>{h("/request-aba-annual-subscription")},children:"Submit Reqeust"})]})]}),"card"==u&&(0,p.jsx)("div",{className:"app_container_body",children:(0,p.jsx)("div",{className:"row pb-1 g-3",children:null===b||void 0===b||null===(l=b.data)||void 0===l?void 0:l.map((e,i)=>(0,p.jsx)("div",{className:"col-12 col-lg-6 mb-xl-3",children:(0,p.jsxs)("div",{className:"dashboard_card dashboard_card_v2 rounded-10px border-top",children:[(0,p.jsx)("div",{className:"dashboard_card_header border-bottom rounded-bottom-left-0 rounded-bottom-right-0 rounded-10px",children:(0,p.jsxs)("div",{className:"d-flex justify-content-between w-100 justify-content-between position-relative",children:[(0,p.jsx)("span",{className:"font-18px font-semibold text-primary",children:null===c.A||void 0===c.A?void 0:c.A.dateFormat(null===e||void 0===e?void 0:e.created_at,"YYYY")}),(0,p.jsxs)("div",{className:"dropdown dropstart dropdown_v02 dropdown_v02_card",children:[(0,p.jsx)("button",{type:"button",className:"btn btn-secondary min-w-inherit d-flex align-items-center  justify-content-start ps-0 bg-transparent border-0 dropdown-toggle","data-bs-toggle":"dropdown","aria-expanded":"false",children:(0,p.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:5,viewB
1ox:"0 0 20 5",children:(0,p.jsxs)("g",{id:"Group_280","data-name":"Group 280",transform:"translate(19.5) rotate(90)",children:[(0,p.jsx)("circle",{id:"Ellipse_112","data-name":"Ellipse 112",cx:"2.5",cy:"2.5",r:"2.5",transform:"translate(0 -0.5)",fill:"#7d7d7d"}),(0,p.jsx)("circle",{id:"Ellipse_113","data-name":"Ellipse 113",cx:"2.5",cy:"2.5",r:"2.5",transform:"translate(0 7.5)",fill:"#7d7d7d"}),(0,p.jsx)("circle",{id:"Ellipse_114","data-name":"Ellipse 114",cx:"2.5",cy:"2.5",r:"2.5",transform:"translate(0 14.5)",fill:"#7d7d7d"})]})})}),(0,p.jsx)("ul",{className:"dropdown-menu w-auto dropdown-menu-arrow-none dropdown-menu-start transform_none",children:(0,p.jsx)("li",{children:(0,p.jsxs)("a",{className:"dropdown-item","data-bs-toggle":"offcanvas","data-bs-target":"#offcanvasRight","aria-controls":"offcanvasRight",onClick:()=>{w(e)},children:["View"," "]})})})]})]})}),(0,p.jsx)("div",{className:"dashboard_card_body pe-0 pb-1",children:(0,p.jsxs)("div",{className:"row line-height-130",children:[(0,p.jsxs)("div",{className:"col-12 col-md-3 col-lg-6 col-xl-3 mb-3 mb-md-0 mb-lg-3 mb-xl-2",children:[(0,p.jsx)("div",{className:"font-14px pb-1",children:"Amount Due"}),(0,p.jsx)("div",{className:"font-16px font-semibold",children:null===e||void 0===e?void 0:e.due_amount})]}),(0,p.jsxs)("div",{className:"col-12 col-md-3 col-lg-6 col-xl-3 mb-3 mb-md-0 mb-lg-3 mb-xl-2",children:[(0,p.jsx)("div",{className:"font-14px pb-1",children:"Amount Paid"}),(0,p.jsx)("div",{className:"font-16px font-semibold",children:null===e||void 0===e?void 0:e.paid_amount})]}),(0,p.jsxs)("div",{className:"col-12 col-md-3 col-lg-6 col-xl-3 mb-3 mb-md-0 mb-lg-3 mb-xl-2",children:[(0,p.jsx)("div",{className:"font-14px pb-1",children:"Date Paid"}),(0,p.jsx)("div",{className:"font-16px font-semibold",children:(null===c.A||void 0===c.A?void 0:c.A.dateFormat(null===e||void 0===e?void 0:e.payment_date,"DD MMM YYYY"))||"-"})]}),(0,p.jsxs)("div",{className:"col-12 col-md-3 col-lg-6 col-xl-3 mb-3 mb-md-0 mb-lg-3 mb-xl-2",children:[(0,p.jsx)("div",{className:"font-14px pb-1",children:"Status"}),(0,p.jsxs)("div",{className:"font-16px font-semibold",children:["pending"==(null===e||void 0===e?void 0:e.approve_status)&&(0,p.jsx)("div",{className:"statusBtn statusPendingBtn font-primary-bold",children:"Pending"}),"approved"==(null===e||void 0===e?void 0:e.approve_status)&&(0,p.jsx)("div",{className:"statusBtn statusApproveBtn font-primary-bold",children:"Approved"})]})]})]})})]})},i))})}),"list"==u&&(0,p.jsx)("div",{className:"app_container_body",children:(0,p.jsx)("div",{className:"myReqTable p-0 table-app1",children:(0,p.jsx)("div",{className:"table-responsive",children:(0,p.jsxs)("table",{className:"table line-height-140 table_content_xl table_action_sticky th_v_align_middle",children:[(0,p.jsx)("thead",{children:(0,p.jsxs)("tr",{children:[(0,p.jsx)("th",{scope:"col",children:"Year"}),(0,p.jsx)("th",{scope:"col",className:"",children:"Amount Due (kes)"}),(0,p.jsx)("th",{scope:"col",className:"",children:"Amount Paid (kes)"}),(0,p.jsx)("th",{scope:"col",className:"",children:"Date Paid"}),(0,p.jsx)("th",{scope:"col",className:"",children:"Status"}),(0,p.jsx)("th",{scope:"col",children:"Action"})]})}),(0,p.jsx)("tbody",{children:null===b||void 0===b||null===(x=b.data)||void 0===x?void 0:x.map((e,i)=>(0,p.jsxs)("tr",{children:[(0,p.jsx)("td",{children:null===c.A||void 0===c.A?void 0:c.A.dateFormat(null===e||void 0===e?void 0:e.created_at,"YYYY")}),(0,p.jsx)("td",{children:null===e||void 0===e?void 0:e.due_amount}),(0,p.jsx)("td",{children:null===e||void 0===e?void 0:e.paid_amount}),(0,p.jsx)("td",{children:(null===c.A||void 0===c.A?void 0:c.A.dateFormat(null===e||void 0===e?void 0:e.payment_date,"DD MMM YYYY"))||"-"}),(0,p.jsxs)("td",{children:["pending"==(null===e||void 0===e?void 0:e.approve_status)&&(0,p.jsx)("div",{className:"statusBtn statusPendingBtn font-primary-bold",children:"Pending"}),"approved"==(null===e||void 0===e?void 0:e.approve_status)&&(0,p.jsx)("div",{className:"statusBtn statusApproveBtn font-primary-bold",children:"Approved"})]}),(0,p.jsx)("td",{className:"actionbtn",children:(0,p.jsxs)("div",{className:"dropdown dropstart dropdown_v02",children:[(0,p.jsx)("button",{type:"button",className:"btn btn-secondary d-flex align-items-center  justify-content-start ps-0 bg-transparent border-0 dropdown-toggle","data-bs-toggle":"dropdown","aria-expanded":"false",children:(0,p.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:5,viewB
1ox:"0 0 20 5",children:(0,p.jsxs)("g",{id:"Group_280","data-name":"Group 280",transform:"translate(19.5) rotate(90)",children:[(0,p.jsx)("circle",{id:"Ellipse_112","data-name":"Ellipse 112",cx:"2.5",cy:"2.5",r:"2.5",transform:"translate(0 -0.5)",fill:"#7d7d7d"}),(0,p.jsx)("circle",{id:"Ellipse_113","data-name":"Ellipse 113",cx:"2.5",cy:"2.5",r:"2.5",transform:"translate(0 7.5)",fill:"#7d7d7d"}),(0,p.jsx)("circle",{id:"Ellipse_114","data-name":"Ellipse 114",cx:"2.5",cy:"2.5",r:"2.5",transform:"translate(0 14.5)",fill:"#7d7d7d"})]})})}),(0,p.jsx)("ul",{className:"dropdown-menu w-auto dropdown-menu-arrow-none dropdown-menu-start transform_none",children:(0,p.jsx)("li",{children:(0,p.jsxs)("a",{className:"dropdown-item","data-bs-toggle":"offcanvas","data-bs-target":"#offcanvasRight","aria-controls":"offcanvasRight",onClick:()=>{w(e)},children:["View"," "]})})})]})})]},i))})]})})})})]})})]}),(0,p.jsx)(m.A,{selectedData:N,callApi:y,setCallApi:A}),(0,p.jsx)(a.A,{})]})]})}}}]);

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.