"use strict";(self["webpackChunkacctg_ui"]=self["webpackChunkacctg_ui"]||[]).push([[4071],{9157:function(t,e,a){a.d(e,{Z:function(){return m}});var n=a(6252),r=a(3577),c=a(7303);const u=t=>((0,n.dD)("data-v-2debe368"),t=t(),(0,n.Cn)(),t),s={class:"d-md-flex justify-content-between"},l={class:"page-title"},o=u((()=>(0,n._)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1.3em",height:"1.3em",viewBox:"0 0 24 24"},[(0,n._)("path",{fill:"white",d:"M19 8h-1V3H6v5H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3M8 5h8v3H8zm8 12v2H8v-4h8zm2-2v-2H6v2H4v-4c0-.55.45-1 1-1h14c.55 0 1 .45 1 1v4z"}),(0,n._)("circle",{cx:"18",cy:"11.5",r:"1",fill:"white"})],-1)));var i={__name:"ReportsHeader",props:["pageTitle"],setup(t){return(e,a)=>((0,n.wg)(),(0,n.iD)("div",s,[(0,n._)("h2",l,(0,r.zw)(t.pageTitle),1),(0,n.Wm)(c.Z,{class:"printBtn btn btn-primary",onClick:a[0]||(a[0]=t=>e.$emit("printReport"))},{default:(0,n.w5)((()=>[o,(0,n.Uk)(" Print Report ")])),_:1})]))}},h=a(3744);const d=(0,h.Z)(i,[["__scopeId","data-v-2debe368"]]);var m=d},4071:function(t,e,a){a.r(e),a.d(e,{default:function(){return h}});var n=a(6252),r=a(2262),c=a(4530),u=JSON.parse('[{"date":"01/20/2021","voucherCode":"CV-001","particulars":"Services Allotment","company":"FTRANSJAPAN","modeOfPayment":"Cash","terms":"60 days","amount":"$3,906.09"},{"date":"07/05/2015","voucherCode":"CV-004","particulars":"Shipping Purchases","company":"FJTS","modeOfPayment":"Check","terms":"45 days","amount":"$50000.00"}]'),s=(a(7303),a(9157));const l=(0,n._)("thead",null,[(0,n._)("tr",null,[(0,n._)("th",null,"Date"),(0,n._)("th",null,"Voucher #"),(0,n._)("th",null,"Particulars"),(0,n._)("th",null,"Amount")])],-1);var o={__name:"CashCheckVoucherReportPage",setup(t){const e=u,a=[{data:"date"},{data:"voucherCode"},{data:null,render:function(t,e,a,n){return o(t)}},{data:"amount"}];function o(t){return`<div>${t.particulars}<br/> <sub>${t.company} - ${t.modeOfPayment} - ${t.terms}</sub></div>`}return(t,u)=>((0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n.Wm)(s.Z,{pageTitle:"Cash/Check Voucher Reports",onPrintReport:u[0]||(u[0]=()=>{})}),(0,n.Wm)(c.Z,{id:"cashCheckVoucherDataTable",columns:a,data:(0,r.SU)(e),class:"particulars-amount-alignment mt-3"},{tableHeader:(0,n.w5)((()=>[l])),_:1},8,["data"])],64))}};const i=o;var h=i}}]);
//# sourceMappingURL=4071.bffcf0e1.js.map