"use strict";(globalThis["webpackChunkkiarashFit"]=globalThis["webpackChunkkiarashFit"]||[]).push([[140],{7140:(e,a,l)=>{l.r(a),l.d(a,{default:()=>g});l(4372),l(3764);var o=l(1347),t=l(7763);function r(e,a,l,r,s,n){const c=(0,o.g2)("q-icon"),d=(0,o.g2)("q-input"),p=(0,o.g2)("q-th"),u=(0,o.g2)("q-tr"),i=(0,o.g2)("q-table");return(0,o.uX)(),(0,o.CE)("div",null,[(0,o.bF)(i,{class:"my-sticky-header-last-column-table q-ma-sm shadow-5",flat:"",bordered:"",title:"لیست فاکتور‌ها",rows:e.rows,columns:e.columns,pagination:{rowsPerPage:100},"row-key":"name",style:{color:"#545575"},onRowClick:a[1]||(a[1]=(a,l,o)=>{e.selectedRow=l,e.showDialog=!0})},{"top-right":(0,o.k6)((()=>[(0,o.bF)(d,{borderless:"",dense:"",debounce:"300",modelValue:e.filter,"onUpdate:modelValue":a[0]||(a[0]=a=>e.filter=a),placeholder:"Search"},{append:(0,o.k6)((()=>[(0,o.bF)(c,{name:"search"})])),_:1},8,["modelValue"])])),header:(0,o.k6)((e=>[(0,o.bF)(u,{props:e,style:{"background-color":"#4f709c",color:"white"}},{default:(0,o.k6)((()=>[((0,o.uX)(!0),(0,o.CE)(o.FK,null,(0,o.pI)(e.cols,(a=>((0,o.uX)(),(0,o.Wv)(p,{key:a.name,props:e},{default:(0,o.k6)((()=>[(0,o.eW)((0,t.v_)(a.label),1)])),_:2},1032,["props"])))),128))])),_:2},1032,["props"])])),default:(0,o.k6)((()=>[(0,o.bF)(u,{props:e.props,style:{"background-color":"#f0f0f0"}},null,8,["props"])])),_:1},8,["rows","columns"])])}const s=[{name:"product_name",label:"نام محصول",align:"center",field:"product_name",sortable:!0},{name:"sale_date",label:"تاریخ",align:"center",field:"sale_date",sortable:!0},{name:"total_price",label:"مجموع قیمت",align:"center",field:"total_price",sortable:!0}],n=[{product_name:"لباس ورزشی",sale_date:"۱۱/۳",total_price:"۸۹۸۹"},{product_name:"لباس ورزشی",sale_date:"۱۱/۳",total_price:"۸۹۸۹"},{product_name:"لباس ورزشی",sale_date:"۱۱/۳",total_price:"۸۹۸۹"},{product_name:"لباس ورزشی",sale_date:"۱۱/۳",total_price:"۸۹۸۹"}],c=(0,o.pM)({components:{AddSaleForm},setup(){},data(){return{columns:s,rows:n,showDialog:!1,selectedRow:[],filter:""}}});var d=l(2968),p=l(4111),u=l(6067),i=l(3933),m=l(7339),b=l(2517),_=l(272),h=l.n(_);const k=(0,d.A)(c,[["render",r]]),g=k;h()(c,"components",{QTable:p.A,QInput:u.A,QIcon:i.A,QTr:m.A,QTh:b.A})}}]);