PageSourceSearch

https://jforce.jubileeinsurance.com/assets/CustomerQuotationPending.PVTLw0DV.js

js jubileeinsurance.com collected 2026-10-02 09:53:07 UTC 3,526 bytes, 1 lines download raw bytes

1import{l as C,u as h,s as _,f as B,o,c as l,z as g,B as D,F as P,r as Q,a as s,aI as T,t as a,h as e,e as f,aP as E,O as I,j as R}from"./index.u7sQ9-Dg.js";import{u as M}from"./quotationStore.BI_kH1JP.js";/* empty css                                                                    */const Y={class:"container"},z=["onClick"],A={class:"col-md-3 pl-3"},F={class:"portfolio d-flex align-items-center"},H={class:"name"},J={class:"small_info"},O={class:"d-flex"},U={class:"small_info"},V={style:{"text-transform":"uppercase"}},q={key:0,class:"small_info ml-4"},w={key:0,class:"small_info"},$={class:"col-md-5 pt-3"},j={class:"portfolio d-flex align-items-center"},G={class:"d-flex"},L={class:"small_info"},K={class:"small_info pl-1"},W={class:"portfolio d-flex align-items-center"},X={class:"small_info"},Z={class:"small_info pl-1"},rs={__name:"CustomerQuotationPending",setup(ss){const u=M(),v=C(),b=h();let{temporaryQuotation:m,customerAcceptancePendingQuotation:ts}=_(u),{selectedCompanyID:es,insurerCompany:i}=_(v);const r=JSON.parse(localStorage.getItem("USER")),p=i.value?.distribution?.agent_type,{standardDateJubliee:x,customizeDateFormat:y}=R(),{fullName:S}=I();let c={per_page:10,current_page:1};const k=async d=>{c.current_page=d,await u.getTemporaryQuotation({...c})},N=(d,t)=>{localStorage.setItem("temporaryPolicy",JSON.stringify(d)),b.push("/pending_quotation_detail")};return B(()=>{u.getTemporaryQuotation({...c})}),(d,t)=>(o(),l("div",Y,[g(D,{pageTitle:"Customer Acceptance Pending"}),(o(!0),l(P,null,Q(e(m).temporary_quotations,(n,ns)=>(o(),l("div",{class:"container mt-3",key:n.id,style:{cursor:"pointer"}},[s("div",{class:"dashed_box_theme row mx-1 align-items-center pt-4 pb-4",style:{border:"none"},onClick:as=>N(n)},[s("div",A,[s("div",F,[t[4]||(t[4]=s("div",{class:"mb-3 mr-2"},[s("img",{class:"img-fluid",src:T,alt:"Hero Image"})],-1)),s("div",null,[s("div",H,a(n?.product?.product_name),1),s("div",J,[t[0]||(t[0]=s("span",null,"Generated By: ",-1)),s("span",null,a(e(S)(n?.agent.first_name,n?.agent.middle_name,n.agent.last_name)),1)]),s("div",O,[s("div",U,[t[1]||(t[1]=s("span",null,"User Type: ",-1)),s("span",V,a(e(i)?.distribution?.agent_type),1)]),e(p)=="banca"||e(i)?.distribution?.agent_type=="bso"?(o(),l("div",q,[t[2]||(t[2]=s("span",null,"Bank Name: ",-1)),s("span",null,a(e(r)?.detail?.bank?e(r)?.detail?.bank:"No Bank"),1)])):f("",!0)]),e(p)=="banca"||e(i)?.distribution?.agent_type=="bso"?(o(),l("div",w,[t[3]||(t[3]=s("span",null,"Branch Name: ",-1)),s("span",null,a(e(r)?.detail?.branch?e(r)?.detail?.branch:"No Branch"),1)])):f("",!0)])])]),s("div",$,[s("div",j,[s("div",G,[s("div",L,[t[5]||(t[5]=s("span",null,"Customer Name: ",-1)),s("span",null,a(n?.lead?.customer_name),1)]),s("div",K,[t[6]||(t[6]=s("span",null,"Effective Date ",-1)),s("span",null,a(e(x)(n?.created_at)),1)])])]),s("div",W,[s("div",X,[t[7]||(t[7]=s("span",null,"Expiry Date:",-1)),s("span",null,a(e(y)(n?.expires_at,"YYYY-MM-DD HH:mm:ss.SSS")),1)]),s("div",Z,[t[8]||(t[8]=s("span",null,"Subclass ",-1)),s("span",null,a(n?.product?.subclass?.name),1)])])]),t[9]||(t[9]=s("div",{class:"col-md-3 align-items-end pt-2"},[s("div",{style:{"font-size":"12px",color:"#ba0c2f"}},"Status"),s("div",{class:"pending_info pending_status"},"Quotation Acceptance Pending")],-1))],8,z)]))),128)),g(e(E),{"page-count":e(m).last_page,"page-range":3,"margin-pages":2,"click-handler":k,"prev-text":"Prev","next-text":"Next","container-class":"pagination","page-class":"page-item"},null,8,["page-count"])]))}};export{rs 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.