"use strict";(self["webpackChunkacctg_ui"]=self["webpackChunkacctg_ui"]||[]).push([[7901],{9157:function(t,e,a){a.d(e,{Z:function(){return p}});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),l={class:"d-md-flex justify-content-between"},s={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",l,[(0,n._)("h2",s,(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})]))}},d=a(3744);const m=(0,d.Z)(i,[["__scopeId","data-v-2debe368"]]);var p=m},7901:function(t,e,a){a.r(e),a.d(e,{default:function(){return d}});var n=a(6252),r=a(2262),c=a(4530),u=JSON.parse('[{"date":"20JAN24","voucherCode":"PR-001","particulars":"Services Allotment","company":"FTRANS","modeOfPayment":"Cash","terms":"60 days","amount":"$3,966.09"},{"date":"05JUL05","voucherCode":"PR-002","particulars":"Shipping Purchases","company":"FTJ","modeOfPayment":"Bank","terms":"45 days","amount":"$53,050.00"}]'),l=(a(7303),a(9157));const s=(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:"PaymentReceiptsReportPage",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)(l.Z,{pageTitle:"Payment/Receipt Voucher Reports",onPrintReport:u[0]||(u[0]=()=>{})}),(0,n.Wm)(c.Z,{columns:a,data:(0,r.SU)(e),class:"mt-3 column-alignment"},{tableHeader:(0,n.w5)((()=>[s])),_:1},8,["data"])],64))}};const i=o;var d=i}}]);
//# sourceMappingURL=7901.efdc5122.js.map