1import{u as w,l as y,s as m,k as u,f as C,Q as E,h as t,o as s,i as p,L as N,c as _,a as o,t as T,e as h,F as B,r as D,H as M,z as I,B as Q,P as j}from"./index.u7sQ9-Dg.js";import{u as k}from"./illustrationStore.DmLITtql.js";import{_ as A}from"./QuotationCapsule.CTu8J-iD.js";const F={key:1},P={class:"row"},V={__name:"LifeQuotation",setup(S){const r=w(),g=y(),a=k();let{loader:d,illustrations:b,illustrationCount:l}=m(a),{selectedCompanyID:i,insurerCompany:q}=m(g);const v=u(localStorage.getItem("ira_certificate_expired")),x=u(localStorage.getItem("ira_certificate_message")),L=u(!1);JSON.parse(localStorage.getItem("USER"));const R=e=>{r.push("/choose_lead")},$=e=>{r.push({name:"IllustrationListing",params:{status:e.key}})},f=()=>{if(v.value==1){M(x.value);return}L.value=!0};return C(()=>{const e={company_id:i.value,status:["total_illustrations_issued","active_illustrations","expired_illustrations"]};a.getIllustrationCounts({...e}),f()}),E(i,e=>{const c={company_id:e,status:["total_illustrations_issued","active_illustrations","expired_illustrations"]};a.getIllustrationCounts({...c}),f()}),(e,c)=>t(d)?(s(),p(N,{key:0})):(s(),_("div",F,[o("div",P,[v.value==1&&t(i)!=7?h("",!0):(s(),_("div",{key:0,class:"col-md-6 mx-auto add_agent mb-5",onClick:c[0]||(c[0]=n=>R())}," + Create New "+T([8,9,10].includes(+t(i))?"Projection":t(i)==7?"Quotation":"Illustration"),1))]),(s(!0),_(B,null,D(t(l),n=>(s(),p(A,{key:n.key,title:n.name,value:n.count,onClick:G=>$(n)},null,8,["title","value","onClick"]))),128))]))}},J={class:"container"},O={class:"card container d2c-box"},U={class:"row"},z={class:"col-md-12 mt-2"},H={class:"activity_btns my_sales_activity mt-1 jhl_tabbing movements_tabbing",style:{"background-color":"transparent"}},Y={__name:"Illustration",setup(S){k();const r=y();let{insurerCompany:g,selectedCompanyID:a}=m(r),d=u("Life");return JSON.parse(localStorage.getItem("USER")),C(()=>{localStorage.removeItem("staffID")}),(b,l)=>(s(),_("div",J,[I(Q,{pageTitle:[8,9,10].includes(+t(a))?"Projection":t(a)==7?"Quotation":"Illustration"},null,8,["pageTitle"]),o("div",O,[o("div",U,[o("div",z,[o("div",H,[I(j)])])]),l[0]||(l[0]=o("hr",{class:"ib-dotted-hr mt-2"},null,-1)),t(d)==="Life"?(s(),p(V,{key:0})):h("",!0)])]))}};export{Y as default};
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.