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