芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/xmintal.sdektun.com/assets/ticket-CDGVUqrO.js
import{_ as p,c as r,a as t,t as e,d as s,o as i,p as d,m as _,q as a}from"./index-C5D-hTCr.js";const m={data(){return{payment:{contract:{}}}},mounted(){const o=this.$route.params.id;this.$api.get("customerpayments/"+o+"?expand=contract").then(l=>{this.payment=l.data,setTimeout(function(){window.print()},50)}).catch(l=>{})}},c=o=>(d("data-v-3c4d3fd8"),o=o(),_(),o),u={class:"row"},h={class:"col"},C=c(()=>t("img",{width:"150",src:a},null,-1)),I=c(()=>t("h4",null,"Comprobante de pago",-1)),O={class:"ticket"},E=c(()=>t("br",null,null,-1)),y=c(()=>t("br",null,null,-1)),f={class:"col"},A=c(()=>t("img",{width:"150",src:a},null,-1)),N=c(()=>t("h4",null,"Comprobante de pago",-1)),T={class:"ticket"},D=c(()=>t("br",null,null,-1)),v=c(()=>t("br",null,null,-1));function b(o,l,w,S,n,g){return i(),r("div",u,[t("div",h,[C,I,t("div",O,[t("p",null,"FECHA: "+e(this.$date.format(this.$date.now())),1),t("p",null,"CLIENTE: "+e(n.payment.customer_name),1),t("p",null,[s("SERVICIO CONTRATADO:"),E,s(" "+e(n.payment.contract.service_name),1)]),t("p",null,"FOLIO DE SERVICIO: "+e(n.payment.contract.code),1),t("p",null,[s("CONCEPTO DE PAGO:"),y,s(" "+e(n.payment.concept),1)]),t("p",null,"CANTIDAD: $"+e(o.$number.format(n.payment.amount))+" MN",1)])]),t("div",f,[A,N,t("div",T,[t("p",null,"FECHA: "+e(this.$date.format(this.$date.now())),1),t("p",null,"CLIENTE: "+e(n.payment.customer_name),1),t("p",null,[s("SERVICIO CONTRATADO:"),D,s(" "+e(n.payment.contract.service_name),1)]),t("p",null,"FOLIO DE SERVICIO: "+e(n.payment.contract.code),1),t("p",null,[s("CONCEPTO DE PAGO:"),v,s(" "+e(n.payment.concept),1)]),t("p",null,"CANTIDAD: $"+e(o.$number.format(n.payment.amount))+" MN",1)])])])}const V=p(m,[["render",b],["__scopeId","data-v-3c4d3fd8"]]);export{V as default};