import{_ as l}from"./IconCard-_anr564X.js";import{u as d}from"./documents-ClZw_PDI.js";import{f as m,g as v,c as o,a as t,h as p,t as i,F as f,i as h,b,e as D,o as s}from"./index-CmCGXBst.js";import{_ as B}from"./_plugin-vue_export-helper-DlAUqK2U.js";const g={class:"section"},y={class:"container"},I={class:"section-wrapper"},G={class:"invoice-title"},T={class:"invoice-subtitle"},k=["innerHTML"],x=["action"],N=["name","value"],S={class:"btn btn--md btn--bold",type:"submit"},V={__name:"InvoiceDocumentGuest",setup(L){const n=d(),e=m(()=>n?.invoiceDocumentGuest),u=v();return n.fetchInvoiceDocumentGuest(u?.query),(M,c)=>{const r=l;return s(),o("section",g,[t("div",y,[t("div",I,[t("div",G,i(e.value?.Title||"Заказов не найдено ни в каком статусе"),1),t("div",T,i(e.value?.Messages[0]||""),1),t("div",{class:"invoice-guest",innerHTML:e.value?.Invoice?.Data},null,8,k),e.value?.Button?.action&&e.value?.Button?.fields?(s(),o("form",{key:0,action:e.value?.Button?.action,method:"POST"},[(s(!0),o(f,null,h(e.value?.Button?.fields,(_,a)=>(s(),o("input",{key:a,type:"hidden",name:a,value:_},null,8,N))),128)),t("button",S,[b(r),c[0]||(c[0]=D(" Оплатить ",-1))])],8,x)):p("",!0)])])])}}},w=B(V,[["__scopeId","data-v-ebdac176"]]);export{w as default};
