import{d as p,p as _,i,q as m,H as u,J as n,n as v,o as f,j as x,k as t,c as d,w as g,e as b,an as y,f as s,B as w,ao as C,ap as I}from"./index.29cf2edd.js";/* empty css              */import{C as N}from"./CovidService.5364de46.js";var P="/assets/insee_logo.d09d4698.png";const D={key:0},E=y('<div class="flex"><img src="'+C+'" alt="" style="width:auto;height:80px;"><div class="flex-grow-1 text-center"><h1 class="font-bold">COVID-19 PT CARE</h1><h1 class="font-bold">INSURANCE</h1><h1 class="font-bold">POLICY SCHEDULE</h1></div><img src="'+P+'" alt="" style="width:auto;height:95px;"></div><div style="width:100%;border-bottom:2px solid #000;"></div><div style="margin-top:12px;"><h1 class="font-bold">INSURED INFORMATION</h1><table border="1" style="width:100%;"><tr><td>Name:</td><td style="width:60%;"></td><td rowspan="8"><div><p style="white-space:nowrap;">Policy# 22-06-000XXX</p></div></td></tr><tr><td>Surname:</td><td></td></tr><tr><td>Passport No:</td><td></td></tr><tr><td>Nationality:</td><td></td></tr><tr><td>Date of Birth:</td><td></td></tr><tr><td>Phone:</td><td></td></tr><tr><td>Email:</td><td></td></tr><tr><td>Occupation:</td><td></td></tr><tr><td>Address:</td><td colspan="2"></td></tr></table></div><div style="margin-top:12px;"><h1 class="font-bold">DETAIL OF COMPENSATION:</h1><table border="1" style="width:100%;"><tr><td>Cover Description</td><td>Amount of Cover (LAK)</td><td>Premium (LAK)</td></tr><tr><td><div> 1) Medical Expenses </div><div> 2) Loss of List </div></td><td></td><td>Included</td></tr><tr><td colspan="2">Total</td><td></td></tr></table></div><div style="margin-top:12px;"><h1 class="font-bold">EXCHANGE RATE</h1><table border="1" style="width:100%;"><tr><td>Premium in USD</td><td>30 USD</td></tr><tr><td>Premium in THB</td><td>30 USD</td></tr><tr><td>Premium in VND</td><td>30 USD</td></tr><tr><td>Premium in RBM</td><td>30 USD</td></tr></table></div>',5),A={style:{"margin-top":"22px"}},L=t("table",{border:"1",style:{width:"100%"}},[t("tr",null,[t("td",{rowspan:"2"},"Cover Period (01 year):"),t("td",null,"Inception Date"),t("td",null,"Expired Date")]),t("tr",null,[t("td",null,"....../....../2022"),t("td",null,"....../....../2023")])],-1),S={class:"flex"},T=t("p",{class:"flex-grow-1"},"Channel: ",-1),B={class:"flex-grow-1"},O=s(" LIA"),U={class:"flex-grow-1"},R=s(" LIP"),V={class:"flex-grow-1"},k=s(" Agent"),M=t("div",{style:{"margin-top":"22px"}},[t("table",{border:"1",style:{width:"100%"}},[t("tr",{valign:"top"},[t("td",{style:{height:"120px"}},"Insee Life Insurance"),t("td",null,"Thaivisub Insurance"),t("td",null,"Insured:")])])],-1),H={class:"text-center",style:{"margin-top":"10px"}},X=s("Print"),J=p({__name:"CertificatePrint",setup(F){const l=_(),o=i(),r=i();i(),m(async()=>{o.value=l.params.no,o.value&&await c()});const c=async()=>{u(),await N.getCertificateInfo(o.value).then(e=>{n(),r.value=e.data}).catch(e=>{n(),v.error(e.message)})};return(e,K)=>{const a=I,h=w;return r.value?(f(),x("div",D,[t("div",null,[E,t("div",A,[L,t("div",S,[T,t("div",B,[d(a),O]),t("div",U,[d(a),R]),t("div",V,[d(a),k])])]),M]),t("div",H,[d(h,{type:"primary"},{default:g(()=>[X]),_:1})])])):b("",!0)}}});export{J as default};
