芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/xmintal.sdektun.com/assets/contract-NgbXdL5D.js
import{_,c as r,a as t,d as s,t as n,F as d,h as p,o as i,p as m,m as h}from"./index-C5D-hTCr.js";const I={data(){return{contract:{customer:{},contractservices:[]}}},mounted(){let e=this.$route.params.id;this.$api.get("/contracts/"+e+"?expand=contractservices,customer").then(l=>{this.contract=l.data,setTimeout(function(){window.print()},50)})}},o=e=>(m("data-v-6d2e77fa"),e=e(),h(),e),C={class:"contracts"},g={class:"contract"},N=o(()=>t("h2",{class:"title"},"CONTRATO DE SERVICIOS DE XMINTAL",-1)),E=o(()=>t("strong",null,"NOMBRE DEL CLIENTE:",-1)),O=o(()=>t("strong",null,"DIRECCIÓN:",-1)),S=o(()=>t("br",null,null,-1)),T=o(()=>t("strong",null,"SERVICIO CONTRATADO:",-1)),f=o(()=>t("strong",null,"COSTO:",-1)),v=o(()=>t("strong",null,"FACTURACIÓN:",-1)),R=o(()=>t("p",null,[t("strong",null,"SERVICIOS INCLUIDOS:")],-1));function D(e,l,b,A,c,L){return i(),r("div",C,[t("div",g,[N,t("p",null,[E,s(" "+n(c.contract.customer_name),1)]),t("p",null,[O,s(" C. "+n(c.contract.customer.street)+" No. "+n(c.contract.customer.number)+" ",1),S,s("Cruzamientos "+n(c.contract.customer.intersection),1)]),t("p",null,[T,s(" "+n(c.contract.service_name),1)]),t("p",null,[f,s(" $"+n(c.contract.price)+" MN ",1),v,s(" C "+n(c.contract.billing_duration>1?c.contract.billing_duration:"")+" "+n(e.cycleName(c.contract.billing_cycle,c.contract.billing_duration)),1)]),R,t("ul",null,[(i(!0),r(d,null,p(c.contract.contractservices,(a,u)=>(i(),r("li",{key:u},n(a.service_name),1))),128))])])])}const x=_(I,[["render",D],["__scopeId","data-v-6d2e77fa"]]);export{x as default};