[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: 3605.js
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[3605],{725:(e,t,a)=>{a.d(t,{A:()=>o});var l=a(9726);const n={name:"ExcelComponent",props:{method:{type:Function}},methods:{excelDownload:function(){this.method()}}};const o=(0,a(6262).A)(n,[["render",function(e,t,a,n,o,r){return(0,l.openBlock)(),(0,l.createElementBlock)("a",{href:"#",onClick:t[0]||(t[0]=(0,l.withModifiers)(function(){return r.excelDownload&&r.excelDownload.apply(r,arguments)},["prevent"])),class:"db-card-filter-dropdown-menu"},[t[1]||(t[1]=(0,l.createElementVNode)("i",{class:"lab lab-line-file-excel lab-font-size-15"},null,-1)),(0,l.createTextVNode)(" "+(0,l.toDisplayString)(e.$t("button.excel")),1)])}]])},970:(e,t,a)=>{a.d(t,{A:()=>l});const l=Object.freeze({PAID:5,UNPAID:10})},1017:(e,t,a)=>{a.d(t,{A:()=>o});var l=a(9726);const n={name:"PaginationBox",components:{TailwindPagination:a(1964).L5},props:{pagination:{type:Object},method:{type:Function}},data:function(){return{activeClass:["bg-blue-50","border-blue-500","text-primary"]}},methods:{page:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.method(e)}}};const o=(0,a(6262).A)(n,[["render",function(e,t,a,n,o,r){var s=(0,l.resolveComponent)("TailwindPagination");return(0,l.openBlock)(),(0,l.createElementBlock)("div",null,[(0,l.createVNode)(s,{data:a.pagination,onPaginationChangePage:r.page,"active-classes":o.activeClass,limit:1},null,8,["data","onPaginationChangePage","active-classes"])])}]])},1389:(e,t,a)=>{a.d(t,{A:()=>o});var l=a(6314),n=a.n(l)()(function(e){return e[1]});n.push([e.id,"@media print{.hidden-print[data-v-096d3a3a]{display:none!important}}",""]);const o=n},1751:(e,t,a)=>{a.d(t,{A:()=>r});var l=a(9726),n={class:"flex flex-1 justify-between sm:hidden"};const o={name:"PaginationSMBox",components:{TailwindPagination:a(1964).L5},props:{pagination:{type:Object},method:{type:Function}},data:function(){return{activeClass:["bg-blue-50","border-blue-500","text-primary"]}},methods:{page:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.method(e)}}};const r=(0,a(6262).A)(o,[["render",function(e,t,a,o,r,s){var i=(0,l.resolveComponent)("TailwindPagination");return(0,l.openBlock)(),(0,l.createElementBlock)("div",n,[(0,l.createVNode)(i,{data:a.pagination,onPaginationChangePage:s.page,"active-classes":r.activeClass,limit:-1},null,8,["data","onPaginationChangePage","active-classes"])])}]])},1889:(e,t,a)=>{a.d(t,{A:()=>r});var l=a(9726),n={class:"text-sm text-gray-700"};const o={name:"PaginationTextComponent",props:["props"]};const r=(0,a(6262).A)(o,[["render",function(e,t,a,o,r,s){var i,c;return(0,l.openBlock)(),(0,l.createElementBlock)("div",null,[(0,l.createElementVNode)("p",n,(0,l.toDisplayString)(e.$t("message.pagination_label",{from:null!==(i=a.props.page.from)&&void 0!==i?i:0,to:null!==(c=a.props.page.to)&&void 0!==c?c:0,total:a.props.page.total})),1)])}]])},1964:(e,t,a)=>{a.d(t,{L5:()=>h});var l=a(9726);const n={emits:["pagination-change-page"],props:{data:{type:Object,default:()=>{}},limit:{type:Number,default:0},keepLength:{type:Boolean,default:!1}},computed:{isApiResource(){return!!this.data.meta},currentPage(){var e;return this.isApiResource?this.data.meta.current_page:null!=(e=this.data.current_page)?e:null},firstPageUrl(){var e,t,a,l,n;return null!=(n=null!=(l=null!=(t=this.data.first_page_url)?t:null==(e=this.data.meta)?void 0:e.first_page_url)?l:null==(a=this.data.links)?void 0:a.first)?n:null},from(){var e;return this.isApiResource?this.data.meta.from:null!=(e=this.data.from)?e:null},lastPage(){var e;return this.isApiResource?this.data.meta.last_page:null!=(e=this.data.last_page)?e:null},lastPageUrl(){var e,t,a,l,n;return null!=(n=null!=(l=null!=(t=this.data.last_page_url)?t:null==(e=this.data.meta)?void 0:e.last_page_url)?l:null==(a=this.data.links)?void 0:a.last)?n:null},nextPageUrl(){var e,t,a,l,n;return null!=(n=null!=(l=null!=(t=this.data.next_page_url)?t:null==(e=this.data.meta)?void 0:e.next_page_url)?l:null==(a=this.data.links)?void 0:a.next)?n:null},perPage(){var e;return this.isApiResource?this.data.meta.per_page:null!=(e=this.data.per_page)?e:null},prevPageUrl(){var e,t,a,l,n;return null!=(n=null!=(l=null!=(t=this.data.prev_page_url)?t:null==(e=this.data.meta)?void 0:e.prev_page_url)?l:null==(a=this.data.links)?void 0:a.prev)?n:null},to(){var e;return this.isApiResource?this.data.meta.to:null!=(e=this.data.to)?e:null},total(){var e;return this.isApiResource?this.data.meta.total:null!=(e=this.data.total)?e:null},pageRange(){if(-1===this.limit)return 0;if(0===this.limit)return this.lastPage;for(var e,t=this.currentPage,a=this.keepLength,l=this.lastPage,n=this.limit,o=t-n,r=t+n,s=2*(n+2),i=2*(n+2)-1,c=[],d=[],p=1;p<=l;p++)(1===p||p===l||p>=o&&p<=r||a&&p<s&&t<s-2||a&&p>l-i&&t>l-i+2)&&c.push(p);return c.forEach(function(t){e&&(t-e===2?d.push(e+1):t-e!==1&&d.push("...")),d.push(t),e=t}),d}},methods:{previousPage(){this.selectPage(this.currentPage-1)},nextPage(){this.selectPage(this.currentPage+1)},selectPage(e){"..."===e||e===this.currentPage||this.$emit("pagination-change-page",e)}},render(){return this.$slots.default({data:this.data,limit:this.limit,computed:{isApiResource:this.isApiResource,currentPage:this.currentPage,firstPageUrl:this.firstPageUrl,from:this.from,lastPage:this.lastPage,lastPageUrl:this.lastPageUrl,nextPageUrl:this.nextPageUrl,perPage:this.perPage,prevPageUrl:this.prevPageUrl,to:this.to,total:this.total,pageRange:this.pageRange},prevButtonEvents:{click:e=>{e.preventDefault(),this.previousPage()}},nextButtonEvents:{click:e=>{e.preventDefault(),this.nextPage()}},pageButtonEvents:e=>({click:t=>{t.preventDefault(),this.selectPage(e)}})})}},o=(e,t)=>{const a=e.__vccOpts||e;for(const[e,l]of t)a[e]=l;return a};Boolean,Boolean;Boolean,Boolean;const r={compatConfig:{MODE:3},inheritAttrs:!1,emits:["pagination-change-page"],components:{RenderlessPagination:n},props:{data:{type:Object,default:()=>{}},limit:{type:Number,default:0},keepLength:{type:Boolean,default:!1},itemClasses:{type:Array,default:()=>["bg-white","text-gray-500","border-gray-300","hover:bg-gray-50"]},activeClasses:{type:Array,default:()=>["bg-blue-50","border-blue-500","text-blue-600"]}},methods:{onPaginationChangePage(e){this.$emit("pagination-change-page",e)}}},s=["disabled"],i=(0,l.createElementVNode)("span",{class:"sr-only"},"Previous",-1),c=(0,l.createElementVNode)("svg",{class:"w-5 h-5","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[(0,l.createElementVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 19.5L8.25 12l7.5-7.5"})],-1),d=["aria-current","disabled"],p=["disabled"],u=(0,l.createElementVNode)("span",{class:"sr-only"},"Next",-1),m=(0,l.createElementVNode)("svg",{class:"w-5 h-5","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[(0,l.createElementVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"})],-1);const h=o(r,[["render",function(e,t,a,n,o,r){const h=(0,l.resolveComponent)("RenderlessPagination");return(0,l.openBlock)(),(0,l.createBlock)(h,{data:a.data,limit:a.limit,"keep-length":a.keepLength,onPaginationChangePage:r.onPaginationChangePage},{default:(0,l.withCtx)(t=>[t.computed.total>t.computed.perPage?((0,l.openBlock)(),(0,l.createElementBlock)("nav",(0,l.mergeProps)({key:0},e.$attrs,{class:"inline-flex -space-x-px rounded-md shadow-sm isolate ltr:flex-row rtl:flex-row-reverse","aria-label":"Pagination"}),[(0,l.createElementVNode)("button",(0,l.mergeProps)({class:["relative inline-flex items-center px-2 py-2 text-sm font-medium border rounded-l-md focus:z-20 disabled:opacity-50",a.itemClasses],disabled:!t.computed.prevPageUrl},(0,l.toHandlers)(t.prevButtonEvents,!0)),[(0,l.renderSlot)(e.$slots,"prev-nav",{},()=>[i,c])],16,s),((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(t.computed.pageRange,(e,n)=>((0,l.openBlock)(),(0,l.createElementBlock)("button",(0,l.mergeProps)({class:["relative inline-flex items-center px-4 py-2 text-sm font-medium border focus:z-20",[e==t.computed.currentPage?a.activeClasses:a.itemClasses,e==t.computed.currentPage?"z-30":""]],"aria-current":t.computed.currentPage?"page":null,key:n},(0,l.toHandlers)(t.pageButtonEvents(e),!0),{disabled:e===t.computed.currentPage}),(0,l.toDisplayString)(e),17,d))),128)),(0,l.createElementVNode)("button",(0,l.mergeProps)({class:["relative inline-flex items-center px-2 py-2 text-sm font-medium border rounded-r-md focus:z-20 disabled:opacity-50",a.itemClasses],disabled:!t.computed.nextPageUrl},(0,l.toHandlers)(t.nextButtonEvents,!0)),[(0,l.renderSlot)(e.$slots,"next-nav",{},()=>[u,m])],16,p)],16)):(0,l.createCommentVNode)("",!0)]),_:3},8,["data","limit","keep-length","onPaginationChangePage"])}]])},3605:(e,t,a)=>{a.r(t),a.d(t,{default:()=>Je});var l=a(9726),n={class:"col-12"},o={class:"db-card db-tab-div active"},r={class:"db-card-header"},s={class:"db-card-title"},i={class:"db-card-filter"},c={class:"dropdown-group"},d={class:"dropdown-list db-card-filter-dropdown-list"},p={class:"table-filter-div",id:"salesreport-filter"},u={class:"row"},m={class:"col-12 sm:col-6 md:col-4 xl:col-3"},h={for:"order_id",class:"db-field-title after:hidden"},g={class:"col-12 sm:col-6 md:col-4 xl:col-3"},b={for:"searchStatus",class:"db-field-title after:hidden"},v={class:"col-12 sm:col-6 md:col-4 xl:col-3"},f={for:"searchStartDate",class:"db-field-title after:hidden"},y={class:"col-12 sm:col-6 md:col-4 xl:col-3"},E={for:"searchStatus",class:"db-field-title after:hidden"},x={class:"col-12 sm:col-6 md:col-4 xl:col-3"},w={for:"searchStatus",class:"db-field-title after:hidden"},N={class:"col-12 sm:col-6 md:col-4 xl:col-3"},A={for:"source",class:"db-field-title after:hidden"},V={class:"col-12"},C={class:"flex flex-wrap gap-3 mt-4"},k={class:"db-btn py-2 text-white bg-primary"},P={class:"row px-5 mt-5 mb-5"},S={class:"col-12 sm:col-6 md:col-4 lg:col-6 xl:col-3"},B={class:"border flex items-center gap-4 p-4 rounded-lg"},_={class:"font-medium text-sm capitalize tracking-wide mb-1"},D={class:"font-bold text-lg text-[#6E7191]"},$={class:"col-12 sm:col-6 md:col-4 lg:col-6 xl:col-3"},O={class:"border flex items-center gap-4 p-4 rounded-lg"},R={class:"font-medium text-sm capitalize tracking-wide mb-1"},I={class:"font-bold text-lg text-[#6E7191]"},L={class:"col-12 sm:col-6 md:col-4 lg:col-6 xl:col-3"},T={class:"border flex items-center gap-4 p-4 rounded-lg"},U={class:"font-medium text-sm capitalize tracking-wide mb-1"},j={class:"font-bold text-lg text-[#6E7191]"},z={class:"col-12 sm:col-6 md:col-4 lg:col-6 xl:col-3"},F={class:"border flex items-center gap-4 p-4 rounded-lg"},H={class:"font-medium text-sm capitalize tracking-wide mb-1"},M={class:"font-bold text-lg text-[#6E7191]"},q={class:"db-table-responsive"},W={class:"db-table stripe",id:"print"},G={class:"db-table-head"},Y={class:"db-table-head-tr"},J={class:"db-table-head-th"},K={class:"db-table-head-th"},X={class:"db-table-head-th"},Q={class:"db-table-head-th"},Z={class:"db-table-head-th"},ee={class:"db-table-head-th"},te={class:"db-table-head-th"},ae={key:0,class:"db-table-body"},le={class:"db-table-body-td"},ne={class:"db-table-body-td"},oe={class:"db-table-body-td"},re={class:"db-table-body-td"},se={class:"db-table-body-td"},ie={class:"db-table-body-td"},ce={class:"db-table-body-td"},de={key:1,class:"db-table-body"},pe={class:"db-table-body-tr"},ue={class:"db-table-body-td text-center",colspan:"7"},me={class:"p-4"},he={class:"max-w-[300px] mx-auto mt-2"},ge=["src"],be={class:"d-block mt-3 text-lg"},ve={key:0,class:"flex items-center justify-between border-t border-gray-200 bg-white px-4 py-6"},fe={class:"hidden sm:flex sm:flex-1 sm:items-center sm:justify-between"};var ye=a(5475),Ee=a(9856),xe=a(1889),we=a(1017),Ne=a(1751),Ae=a(8655),Ve=a(970),Ce=a(908),ke=a(9319),Pe=a(4579),Se=a(6365),Be=(a(5316),a(3911)),_e=a(725),De=a(5178),$e=a(6749),Oe=(a(7169),a(9238)),Re=a(6884),Ie=a(4331),Le=a(1978),Te=a(3695),Ue=a(8536);function je(e){return je="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},je(e)}function ze(e){return function(e){if(Array.isArray(e))return Fe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Fe(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Fe(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fe(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,l=Array(t);a<t;a++)l[a]=e[a];return l}function He(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=je(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var l=a.call(e,t||"default");if("object"!=je(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==je(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const Me={name:"SalesReportListComponent",components:{TableLimitComponent:ke.A,PaginationSMBox:Ne.A,PaginationBox:we.A,PaginationTextComponent:xe.A,LoadingComponent:ye.A,ExportComponent:Se.A,FilterComponent:Pe.A,PrintComponent:Be.A,ExcelComponent:_e.A,Datepicker:$e.A,SmIconViewComponent:Oe.A,PdfComponent:De.A},data:function(){return{loading:{isActive:!1},enums:{paymentStatusEnum:Ve.A,orderStatusEnum:Ce.A,sourceEnum:Ie.A,orderTypeEnum:Le.A,paymentStatusEnumArray:He(He({},Ve.A.PAID,this.$t("label.paid")),Ve.A.UNPAID,this.$t("label.unpaid")),orderStatusEnumArray:He(He(He(He(He(He({},Ce.A.PENDING,this.$t("label.pending")),Ce.A.CONFIRMED,this.$t("label.confirmed")),Ce.A.ON_THE_WAY,this.$t("label.on_the_way")),Ce.A.DELIVERED,this.$t("label.delivered")),Ce.A.CANCELED,this.$t("label.canceled")),Ce.A.REJECTED,this.$t("label.rejected")),sourceObject:[{name:this.$t("label.web"),value:Ie.A.WEB},{name:this.$t("label.app"),value:Ie.A.APP},{name:this.$t("label.pos"),value:Ie.A.POS}]},printLoading:!0,printObj:{id:"print",popTitle:this.$t("menu.sales_report")},props:{search:{paginate:1,page:1,per_page:10,order_column:"id",payment_status:null,payment_method:null,order_serial_no:"",status:null,from_date:"",to_date:"",source:null}},modelValue:null,paymentGateways:[],ENV:Ue.A}},mounted:function(){var e=this;this.list(),this.$store.dispatch("paymentGateway/lists",{order_column:"id",order_type:"asc",status:Re.A.ACTIVE}).then(function(t){e.paymentGateways=t.data.data,e.paymentGateways=[{id:-Te.A.CASH,name:e.$t("label.cash")},{id:-Te.A.CARD,name:e.$t("label.card")},{id:-Te.A.MOBILE_BANKING,name:e.$t("label.mobile_banking")},{id:-Te.A.OTHER,name:e.$t("label.other")}].concat(ze(e.paymentGateways))})},computed:{salesReports:function(){return this.$store.getters["salesReport/lists"]},pagination:function(){return this.$store.getters["salesReport/pagination"]},paginationPage:function(){return this.$store.getters["salesReport/page"]},salesReportOverview:function(){return this.$store.getters["salesReport/salesReportOverview"]}},methods:{floatNumber:function(e){return Ae.A.floatNumber(e)},statusClass:function(e){return Ae.A.statusClass(e)},textShortener:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:30;return Ae.A.textShortener(e,t)},handleSlide:function(e){return Ae.A.handleSlide(e)},search:function(){this.list()},handleDate:function(e){e?(this.props.search.from_date=e[0],this.props.search.to_date=e[1]):(this.props.search.from_date=null,this.props.search.to_date=null)},clear:function(){this.props.search.paginate=1,this.props.search.page=1,this.props.search.order_serial_no="",this.props.search.payment_status=null,this.props.search.payment_method=null,this.props.search.status=null,this.props.search.from_date="",this.props.search.to_date="",this.props.search.source=null,this.modelValue=null,this.list()},list:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.loading.isActive=!0,this.props.search.page=t,this.$store.dispatch("salesReport/lists",this.props.search).then(function(t){e.loading.isActive=!1}).catch(function(t){e.loading.isActive=!1}),this.$store.dispatch("salesReport/salesReportOverview",this.props.search).then(function(t){e.loading.isActive=!1}).catch(function(t){e.loading.isActive=!1})},xls:function(){var e=this;this.loading.isActive=!0,this.$store.dispatch("salesReport/export",this.props.search).then(function(t){e.loading.isActive=!1;var a=new Blob([t.data],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}),l=document.createElement("a");l.href=URL.createObjectURL(a),l.download=e.$t("menu.sales_report"),l.click(),URL.revokeObjectURL(l.href)}).catch(function(t){e.loading.isActive=!1,Ee.A.error(t.response.data.message)})},downloadPdf:function(){var e=this;this.loading.isActive=!0,this.$store.dispatch("salesReport/exportPdf",this.props.search).then(function(t){e.loading.isActive=!1;var a=new Blob([t.data],{type:"application/pdf"}),l=document.createElement("a");l.href=URL.createObjectURL(a),l.download="Sales-report.pdf",l.click(),URL.revokeObjectURL(l.href)}).catch(function(t){e.loading.isActive=!1,Ee.A.error(t.response.data.message)})}}};var qe=a(5072),We=a.n(qe),Ge=a(1389),Ye={insert:"head",singleton:!1};We()(Ge.A,Ye);Ge.A.locals;const Je=(0,a(6262).A)(Me,[["render",function(e,t,a,ye,Ee,xe){var we=(0,l.resolveComponent)("LoadingComponent"),Ne=(0,l.resolveComponent)("TableLimitComponent"),Ae=(0,l.resolveComponent)("FilterComponent"),Ve=(0,l.resolveComponent)("ExportComponent"),Ce=(0,l.resolveComponent)("PrintComponent"),ke=(0,l.resolveComponent)("ExcelComponent"),Pe=(0,l.resolveComponent)("PdfComponent"),Se=(0,l.resolveComponent)("vue-select"),Be=(0,l.resolveComponent)("Datepicker"),_e=(0,l.resolveComponent)("PaginationSMBox"),De=(0,l.resolveComponent)("PaginationTextComponent"),$e=(0,l.resolveComponent)("PaginationBox");return(0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,null,[(0,l.createVNode)(we,{props:Ee.loading},null,8,["props"]),(0,l.createElementVNode)("div",n,[(0,l.createElementVNode)("div",o,[(0,l.createElementVNode)("div",r,[(0,l.createElementVNode)("h3",s,(0,l.toDisplayString)(e.$t("menu.sales_report")),1),(0,l.createElementVNode)("div",i,[(0,l.createVNode)(Ne,{method:xe.list,search:Ee.props.search,page:xe.paginationPage},null,8,["method","search","page"]),(0,l.createVNode)(Ae,{onClick:t[0]||(t[0]=(0,l.withModifiers)(function(e){return xe.handleSlide("salesreport-filter")},["prevent"]))}),(0,l.createElementVNode)("div",c,[(0,l.createVNode)(Ve),(0,l.createElementVNode)("div",d,[(0,l.createVNode)(Ce,{props:Ee.printObj},null,8,["props"]),(0,l.createVNode)(ke,{method:xe.xls},null,8,["method"]),(0,l.createVNode)(Pe,{method:xe.downloadPdf},null,8,["method"])])])])]),(0,l.createElementVNode)("div",p,[(0,l.createElementVNode)("form",{class:"p-4 sm:p-5 mb-5",onSubmit:t[8]||(t[8]=(0,l.withModifiers)(function(){return xe.search&&xe.search.apply(xe,arguments)},["prevent"]))},[(0,l.createElementVNode)("div",u,[(0,l.createElementVNode)("div",m,[(0,l.createElementVNode)("label",h,(0,l.toDisplayString)(e.$t("label.order_id")),1),(0,l.withDirectives)((0,l.createElementVNode)("input",{id:"order_id","onUpdate:modelValue":t[1]||(t[1]=function(e){return Ee.props.search.order_serial_no=e}),type:"text",class:"db-field-control"},null,512),[[l.vModelText,Ee.props.search.order_serial_no]])]),(0,l.createElementVNode)("div",g,[(0,l.createElementVNode)("label",b,(0,l.toDisplayString)(e.$t("label.status")),1),(0,l.createVNode)(Se,{class:"db-field-control f-b-custom-select",id:"searchStatus",modelValue:Ee.props.search.status,"onUpdate:modelValue":t[2]||(t[2]=function(e){return Ee.props.search.status=e}),options:[{id:Ee.enums.orderStatusEnum.PENDING,name:e.$t("label.pending")},{id:Ee.enums.orderStatusEnum.CONFIRMED,name:e.$t("label.confirmed")},{id:Ee.enums.orderStatusEnum.ON_THE_WAY,name:e.$t("label.on_the_way")},{id:Ee.enums.orderStatusEnum.DELIVERED,name:e.$t("label.delivered")},{id:Ee.enums.orderStatusEnum.CANCELED,name:e.$t("label.canceled")},{id:Ee.enums.orderStatusEnum.REJECTED,name:e.$t("label.rejected")}],"label-by":"name","value-by":"id",closeOnSelect:!0,searchable:!0,clearOnClose:!0,placeholder:"--","search-placeholder":"--"},null,8,["modelValue","options"])]),(0,l.createElementVNode)("div",v,[(0,l.createElementVNode)("label",f,(0,l.toDisplayString)(e.$t("label.date")),1),(0,l.createVNode)(Be,{hideInputIcon:"",autoApply:"",enableTimePicker:!1,utc:"false","onUpdate:modelValue":[xe.handleDate,t[3]||(t[3]=function(e){return Ee.modelValue=e})],modelValue:Ee.modelValue,range:!0},null,8,["onUpdate:modelValue","modelValue"])]),(0,l.createElementVNode)("div",y,[(0,l.createElementVNode)("label",E,(0,l.toDisplayString)(e.$t("label.paid_status")),1),(0,l.createVNode)(Se,{class:"db-field-control f-b-custom-select",id:"searchStatus",modelValue:Ee.props.search.payment_status,"onUpdate:modelValue":t[4]||(t[4]=function(e){return Ee.props.search.payment_status=e}),options:[{id:Ee.enums.paymentStatusEnum.PAID,name:e.$t("label.paid")},{id:Ee.enums.paymentStatusEnum.UNPAID,name:e.$t("label.unpaid")}],"label-by":"name","value-by":"id",closeOnSelect:!0,searchable:!0,clearOnClose:!0,placeholder:"--","search-placeholder":"--"},null,8,["modelValue","options"])]),(0,l.createElementVNode)("div",x,[(0,l.createElementVNode)("label",w,(0,l.toDisplayString)(e.$t("label.payment_type")),1),(0,l.createVNode)(Se,{class:"db-field-control f-b-custom-select",id:"searchStatus",modelValue:Ee.props.search.payment_method,"onUpdate:modelValue":t[5]||(t[5]=function(e){return Ee.props.search.payment_method=e}),options:Ee.paymentGateways,"label-by":"name","value-by":"id",closeOnSelect:!0,searchable:!0,clearOnClose:!0,placeholder:"--","search-placeholder":"--"},null,8,["modelValue","options"])]),(0,l.createElementVNode)("div",N,[(0,l.createElementVNode)("label",A,(0,l.toDisplayString)(e.$t("label.source")),1),(0,l.createVNode)(Se,{class:"db-field-control f-b-custom-select",id:"source",modelValue:Ee.props.search.source,"onUpdate:modelValue":t[6]||(t[6]=function(e){return Ee.props.search.source=e}),options:Ee.enums.sourceObject,"label-by":"name","value-by":"value",closeOnSelect:!0,searchable:!0,clearOnClose:!0,placeholder:"--","search-placeholder":"--"},null,8,["modelValue","options"])]),(0,l.createElementVNode)("div",V,[(0,l.createElementVNode)("div",C,[(0,l.createElementVNode)("button",k,[t[9]||(t[9]=(0,l.createElementVNode)("i",{class:"lab lab-line-search lab-font-size-16"},null,-1)),(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(e.$t("button.search")),1)]),(0,l.createElementVNode)("button",{class:"db-btn py-2 text-white bg-gray-600",onClick:t[7]||(t[7]=function(){return xe.clear&&xe.clear.apply(xe,arguments)})},[t[10]||(t[10]=(0,l.createElementVNode)("i",{class:"lab lab-line-cross lab-font-size-22"},null,-1)),(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(e.$t("button.clear")),1)])])])])],32)]),(0,l.createElementVNode)("div",P,[(0,l.createElementVNode)("div",S,[(0,l.createElementVNode)("div",B,[t[11]||(t[11]=(0,l.createElementVNode)("div",{class:"bg-[#F7F7F7] w-12 h-12 rounded-full flex items-center justify-center"},[(0,l.createElementVNode)("i",{class:"lab-fill-box text-[#6E7191] text-2xl lab-font-size-24"})],-1)),(0,l.createElementVNode)("div",null,[(0,l.createElementVNode)("h3",_,(0,l.toDisplayString)(e.$t("label.total_orders")),1),(0,l.createElementVNode)("h4",D,(0,l.toDisplayString)(xe.salesReportOverview.total_orders),1)])])]),(0,l.createElementVNode)("div",$,[(0,l.createElementVNode)("div",O,[t[12]||(t[12]=(0,l.createElementVNode)("div",{class:"bg-[#F7F7F7] w-12 h-12 rounded-full flex items-center justify-center"},[(0,l.createElementVNode)("i",{class:"lab-fill-dollar-circle text-[#6E7191] text-2xl lab-font-size-24"})],-1)),(0,l.createElementVNode)("div",null,[(0,l.createElementVNode)("h3",R,(0,l.toDisplayString)(e.$t("label.total_earnings")),1),(0,l.createElementVNode)("h4",I,(0,l.toDisplayString)(xe.salesReportOverview.total_earnings),1)])])]),(0,l.createElementVNode)("div",L,[(0,l.createElementVNode)("div",T,[t[13]||(t[13]=(0,l.createElementVNode)("div",{class:"bg-[#F7F7F7] w-12 h-12 rounded-full flex items-center justify-center"},[(0,l.createElementVNode)("i",{class:"lab-fill-ticket-discount text-[#6E7191] text-2xl lab-font-size-24"})],-1)),(0,l.createElementVNode)("div",null,[(0,l.createElementVNode)("h3",U,(0,l.toDisplayString)(e.$t("label.total_discounts")),1),(0,l.createElementVNode)("h4",j,(0,l.toDisplayString)(xe.salesReportOverview.total_discounts),1)])])]),(0,l.createElementVNode)("div",z,[(0,l.createElementVNode)("div",F,[t[14]||(t[14]=(0,l.createElementVNode)("div",{class:"bg-[#F7F7F7] w-12 h-12 rounded-full flex items-center justify-center"},[(0,l.createElementVNode)("i",{class:"lab-fill-moneys text-[#6E7191] text-2xl lab-font-size-24"})],-1)),(0,l.createElementVNode)("div",null,[(0,l.createElementVNode)("h3",H,(0,l.toDisplayString)(e.$t("label.total_shipping_charges")),1),(0,l.createElementVNode)("h4",M,(0,l.toDisplayString)(xe.salesReportOverview.total_shipping_charges),1)])])])]),(0,l.createElementVNode)("div",q,[(0,l.createElementVNode)("table",W,[(0,l.createElementVNode)("thead",G,[(0,l.createElementVNode)("tr",Y,[(0,l.createElementVNode)("th",J,(0,l.toDisplayString)(e.$t("label.order_id")),1),(0,l.createElementVNode)("th",K,(0,l.toDisplayString)(e.$t("label.date")),1),(0,l.createElementVNode)("th",X,(0,l.toDisplayString)(e.$t("label.total")),1),(0,l.createElementVNode)("th",Q,(0,l.toDisplayString)(e.$t("label.discount")),1),(0,l.createElementVNode)("th",Z,(0,l.toDisplayString)(e.$t("label.shipping_charge")),1),(0,l.createElementVNode)("th",ee,(0,l.toDisplayString)(e.$t("label.payment_type")),1),(0,l.createElementVNode)("th",te,(0,l.toDisplayString)(e.$t("label.payment_status")),1)])]),xe.salesReports.length>0?((0,l.openBlock)(),(0,l.createElementBlock)("tbody",ae,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(xe.salesReports,function(e){return(0,l.openBlock)(),(0,l.createElementBlock)("tr",{class:"db-table-body-tr",key:e},[(0,l.createElementVNode)("td",le,(0,l.toDisplayString)(e.order_serial_no),1),(0,l.createElementVNode)("td",ne,(0,l.toDisplayString)(e.order_datetime),1),(0,l.createElementVNode)("td",oe,(0,l.toDisplayString)(e.total_amount_price),1),(0,l.createElementVNode)("td",re,(0,l.toDisplayString)(e.discount_amount_price),1),(0,l.createElementVNode)("td",se,(0,l.toDisplayString)(e.shipping_amount_price),1),(0,l.createElementVNode)("td",ie,(0,l.toDisplayString)(e.order_type==Ee.enums.orderTypeEnum.POS?e.pos_payment_method_name:e.payment_method_name),1),(0,l.createElementVNode)("td",ce,[(0,l.createElementVNode)("span",{class:(0,l.normalizeClass)(xe.statusClass(e.payment_status))},(0,l.toDisplayString)(Ee.enums.paymentStatusEnumArray[e.payment_status]),3)])])}),128))])):((0,l.openBlock)(),(0,l.createElementBlock)("tbody",de,[(0,l.createElementVNode)("tr",pe,[(0,l.createElementVNode)("td",ue,[(0,l.createElementVNode)("div",me,[(0,l.createElementVNode)("div",he,[(0,l.createElementVNode)("img",{class:"w-full h-full",src:Ee.ENV.API_URL+"/images/default/not-found/not_found.png",alt:"Not Found"},null,8,ge)]),(0,l.createElementVNode)("span",be,(0,l.toDisplayString)(e.$t("message.no_data_found")),1)])])])]))])]),xe.salesReports.length>0?((0,l.openBlock)(),(0,l.createElementBlock)("div",ve,[(0,l.createVNode)(_e,{pagination:xe.pagination,method:xe.list},null,8,["pagination","method"]),(0,l.createElementVNode)("div",fe,[(0,l.createVNode)(De,{props:{page:xe.paginationPage}},null,8,["props"]),(0,l.createVNode)($e,{pagination:xe.pagination,method:xe.list},null,8,["pagination","method"])])])):(0,l.createCommentVNode)("",!0)])])],64)}],["__scopeId","data-v-096d3a3a"]])},3695:(e,t,a)=>{a.d(t,{A:()=>l});const l=Object.freeze({CASH:5,CARD:10,MOBILE_BANKING:15,OTHER:20})},3911:(e,t,a)=>{a.d(t,{A:()=>r});var l=a(9726),n={class:"db-card-filter-dropdown-menu"};const o={name:"PrintComponent",props:["props"],directives:{print:a(5316).A}};const r=(0,a(6262).A)(o,[["render",function(e,t,a,o,r,s){var i=(0,l.resolveDirective)("print");return(0,l.withDirectives)(((0,l.openBlock)(),(0,l.createElementBlock)("button",n,[t[0]||(t[0]=(0,l.createElementVNode)("i",{class:"lab-line-printer lab-font-size-17"},null,-1)),(0,l.createTextVNode)(" "+(0,l.toDisplayString)(e.$t("button.print")),1)])),[[i,a.props]])}]])},4331:(e,t,a)=>{a.d(t,{A:()=>l});const l=Object.freeze({WEB:5,APP:10,POS:15})},4579:(e,t,a)=>{a.d(t,{A:()=>r});var l=a(9726),n={class:"db-card-filter-btn table-filter-btn"};const o={name:"FilterComponent"};const r=(0,a(6262).A)(o,[["render",function(e,t,a,o,r,s){return(0,l.openBlock)(),(0,l.createElementBlock)("button",n,[t[0]||(t[0]=(0,l.createElementVNode)("i",{class:"lab lab-line-filter lab-font-size-14"},null,-1)),(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(e.$t("button.filter")),1)])}]])},5178:(e,t,a)=>{a.d(t,{A:()=>o});var l=a(9726);const n={name:"PdfComponent",props:{method:{type:Function}},methods:{pdfDownload:function(){this.method()}}};const o=(0,a(6262).A)(n,[["render",function(e,t,a,n,o,r){return(0,l.openBlock)(),(0,l.createElementBlock)("a",{href:"#",onClick:t[0]||(t[0]=(0,l.withModifiers)(function(){return r.pdfDownload&&r.pdfDownload.apply(r,arguments)},["prevent"])),class:"db-card-filter-dropdown-menu"},[t[1]||(t[1]=(0,l.createElementVNode)("i",{class:"lab lab-line-pdf lab-font-size-15"},null,-1)),(0,l.createTextVNode)(" "+(0,l.toDisplayString)(e.$t("button.pdf")),1)])}]])},5316:(e,t,a)=>{a.d(t,{A:()=>o});class l{constructor(e){this.standards={strict:"strict",loose:"loose",html5:"html5"},this.previewBody=null,this.close=null,this.previewBodyUtilPrintBtn=null,this.selectArray=[],this.counter=0,this.settings={standard:this.standards.html5},Object.assign(this.settings,e),this.init()}init(){this.counter++,this.settings.id=`printArea_${this.counter}`;let e="";this.settings.url&&!this.settings.asyncUrl&&(e=this.settings.url);let t=this;if(this.settings.asyncUrl)return void t.settings.asyncUrl(function(e){let a=t.getPrintWindow(e);t.settings.preview?t.previewIfrmaeLoad():t.print(a)},t.settings.vue);let a=this.getPrintWindow(e);this.settings.url||this.write(a.doc),this.settings.preview?this.previewIfrmaeLoad():this.print(a)}addEvent(e,t,a){e.addEventListener?e.addEventListener(t,a,!1):e.attachEvent?e.attachEvent("on"+t,a):e["on"+t]=a}previewIfrmaeLoad(){let e=document.getElementById("vue-pirnt-nb-previewBox");if(e){let t=this,a=e.querySelector("iframe");this.settings.previewBeforeOpenCallback(),this.addEvent(a,"load",function(){t.previewBoxShow(),t.removeCanvasImg(),t.settings.previewOpenCallback()}),this.addEvent(e.querySelector(".previewBodyUtilPrintBtn"),"click",function(){t.settings.beforeOpenCallback(),t.settings.openCallback(),a.contentWindow.print(),t.settings.closeCallback()})}}removeCanvasImg(){let e=this;try{if(e.elsdom){let t=e.elsdom.querySelectorAll(".canvasImg");for(let e=0;e<t.length;e++)t[e].remove()}}catch(e){console.log(e)}}print(e){var t=this;let a=document.getElementById(this.settings.id)||e.f,l=document.getElementById(this.settings.id).contentWindow||e.f.contentWindow;t.settings.beforeOpenCallback(),t.addEvent(a,"load",function(){l.focus(),t.settings.openCallback(),l.print(),a.remove(),t.settings.closeCallback(),t.removeCanvasImg()})}write(e){e.open(),e.write(`${this.docType()}<html>${this.getHead()}${this.getBody()}</html>`),e.close()}docType(){return this.settings.standard===this.standards.html5?"<!DOCTYPE html>":`<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01${this.settings.standard===this.standards.loose?" Transitional":""}//EN" "http://www.w3.org/TR/html4/${this.settings.standard===this.standards.loose?"loose":"strict"}.dtd">`}getHead(){let e="",t="",a="";this.settings.extraHead&&this.settings.extraHead.replace(/([^,]+)/g,t=>{e+=t}),[].forEach.call(document.querySelectorAll("link"),function(e){e.href.indexOf(".css")>=0&&(t+=`<link type="text/css" rel="stylesheet" href="${e.href}" >`)});let l=document.styleSheets;if(l&&l.length>0)for(let e=0;e<l.length;e++)try{if(l[e].cssRules||l[e].rules){let t=l[e].cssRules||l[e].rules;for(let e=0;e<t.length;e++)a+=t[e].cssText}}catch(t){console.log(l[e].href+t)}return this.settings.extraCss&&this.settings.extraCss.replace(/([^,\s]+)/g,e=>{t+=`<link type="text/css" rel="stylesheet" href="${e}">`}),`<head><title>${this.settings.popTitle}</title>${e}${t}<style type="text/css">${a}</style></head>`}getBody(){let e=this.settings.ids;return e=e.replace(new RegExp("#","g"),""),this.elsdom=this.beforeHanler(document.getElementById(e)),"<body>"+this.getFormData(this.elsdom).outerHTML+"</body>"}beforeHanler(e){let t=e.querySelectorAll("canvas");for(let e=0;e<t.length;e++)if(!t[e].style.display){let a=t[e].parentNode,l=t[e].toDataURL("image/png"),n=new Image;n.className="canvasImg",n.style.display="none",n.src=l,a.appendChild(n)}return e}getFormData(e){let t=e.cloneNode(!0),a=t.querySelectorAll("input,select,textarea"),l=t.querySelectorAll(".canvasImg,canvas"),n=-1;for(let e=0;e<l.length;e++){let t=l[e].parentNode,a=l[e];"canvas"===a.tagName.toLowerCase()?t.removeChild(a):a.style.display="block"}for(let t=0;t<a.length;t++){let l=a[t],o=l.getAttribute("type"),r=a[t];if(o||(o="SELECT"===l.tagName?"select":"TEXTAREA"===l.tagName?"textarea":""),"INPUT"===l.tagName)"radio"===o||"checkbox"===o?l.checked&&r.setAttribute("checked",l.checked):(r.value=l.value,r.setAttribute("value",l.value));else if("select"===o){n++;for(let t=0;t<e.querySelectorAll("select").length;t++){let a=e.querySelectorAll("select")[t];if(!a.getAttribute("newbs")&&a.setAttribute("newbs",t),a.getAttribute("newbs")==n){let t=e.querySelectorAll("select")[n].selectedIndex;l.options[t].setAttribute("selected",!0)}}}else r.innerHTML=l.value,r.setAttribute("html",l.value)}return t}getPrintWindow(e){var t=this.Iframe(e);return{f:t,win:t.contentWindow||t,doc:t.doc}}previewBoxShow(){let e=document.getElementById("vue-pirnt-nb-previewBox");e&&(document.querySelector("html").setAttribute("style","overflow: hidden"),e.style.display="block")}previewBoxHide(){let e=document.getElementById("vue-pirnt-nb-previewBox");e&&(document.querySelector("html").setAttribute("style","overflow: visible;"),e.querySelector("iframe")&&e.querySelector("iframe").remove(),e.style.display="none")}previewBox(){let e=document.getElementById("vue-pirnt-nb-previewBox");if(e)return e.querySelector("iframe")&&e.querySelector("iframe").remove(),{close:e.querySelector(".previewClose"),previewBody:e.querySelector(".previewBody")};let t=document.createElement("div");t.setAttribute("id","vue-pirnt-nb-previewBox"),t.setAttribute("style","position: fixed;top: 0px;left: 0px;width: 100%;height: 100%;background: white;display:none"),t.style.zIndex=this.settings.zIndex;let a=document.createElement("div");a.setAttribute("class","previewHeader"),a.setAttribute("style","padding: 5px 20px;"),a.innerHTML=this.settings.previewTitle,t.appendChild(a),this.close=document.createElement("div");let l=this.close;l.setAttribute("class","previewClose"),l.setAttribute("style","position: absolute;top: 5px;right: 20px;width: 25px;height: 20px;cursor: pointer;");let n=document.createElement("div"),o=document.createElement("div");n.setAttribute("class","closeBefore"),n.setAttribute("style","position: absolute;width: 3px;height: 100%;background: #040404;transform: rotate(45deg); top: 0px;left: 50%;"),o.setAttribute("class","closeAfter"),o.setAttribute("style","position: absolute;width: 3px;height: 100%;background: #040404;transform: rotate(-45deg); top: 0px;left: 50%;"),l.appendChild(n),l.appendChild(o),a.appendChild(l),this.previewBody=document.createElement("div");let r=this.previewBody;r.setAttribute("class","previewBody"),r.setAttribute("style","display: flex;flex-direction: column; height: 100%;"),t.appendChild(r);let s=document.createElement("div");s.setAttribute("class","previewBodyUtil"),s.setAttribute("style","height: 32px;background: #474747;position: relative;"),r.appendChild(s),this.previewBodyUtilPrintBtn=document.createElement("div");let i=this.previewBodyUtilPrintBtn;return i.setAttribute("class","previewBodyUtilPrintBtn"),i.innerHTML=this.settings.previewPrintBtnLabel,i.setAttribute("style","position: absolute;padding: 2px 10px;margin-top: 3px;left: 24px;font-size: 14px;color: white;cursor: pointer;background-color: rgba(0,0,0,.12);background-image: linear-gradient(hsla(0,0%,100%,.05),hsla(0,0%,100%,0));background-clip: padding-box;border: 1px solid rgba(0,0,0,.35);border-color: rgba(0,0,0,.32) rgba(0,0,0,.38) rgba(0,0,0,.42);box-shadow: inset 0 1px 0 hsla(0,0%,100%,.05), inset 0 0 1px hsla(0,0%,100%,.15), 0 1px 0 hsla(0,0%,100%,.05);"),s.appendChild(i),document.body.appendChild(t),{close:this.close,previewBody:this.previewBody}}iframeBox(e,t){let a=document.createElement("iframe");return a.style.border="0px",a.style.position="absolute",a.style.width="0px",a.style.height="0px",a.style.right="0px",a.style.top="0px",a.setAttribute("id",e),a.setAttribute("src",t),a}Iframe(e){let t=this.settings.id;e=e||(new Date).getTime();let a=this,l=this.iframeBox(t,e);try{if(this.settings.preview){l.setAttribute("style","border: 0px;flex: 1;");let e=this.previewBox(),t=e.previewBody,n=e.close;t.appendChild(l),this.addEvent(n,"click",function(){a.previewBoxHide()})}else document.body.appendChild(l);l.doc=null,l.doc=l.contentDocument?l.contentDocument:l.contentWindow?l.contentWindow.document:l.document}catch(e){throw new Error(e+". iframes may not be supported in this browser.")}if(null==l.doc)throw new Error("Cannot find document.");return l}}var n={directiveName:"print",mounted(e,t,a){let n=t.instance,o="";var r,s,i;s="click",i=()=>{if("string"==typeof t.value)o=t.value;else{if("object"!=typeof t.value||!t.value.id)return void window.print();{o=t.value.id;let e=o.replace(new RegExp("#","g"),"");document.getElementById(e)||(console.log("id in Error"),o="")}}c()},(r=e).addEventListener?r.addEventListener(s,i,!1):r.attachEvent?r.attachEvent("on"+s,i):r["on"+s]=i;const c=()=>{new l({ids:o,vue:n,url:t.value.url,standard:"",extraHead:t.value.extraHead,extraCss:t.value.extraCss,zIndex:t.value.zIndex||20002,previewTitle:t.value.previewTitle||"打印预览",previewPrintBtnLabel:t.value.previewPrintBtnLabel||"打印",popTitle:t.value.popTitle,preview:t.value.preview||!1,asyncUrl:t.value.asyncUrl,previewBeforeOpenCallback(){t.value.previewBeforeOpenCallback&&t.value.previewBeforeOpenCallback(n)},previewOpenCallback(){t.value.previewOpenCallback&&t.value.previewOpenCallback(n)},openCallback(){t.value.openCallback&&t.value.openCallback(n)},closeCallback(){t.value.closeCallback&&t.value.closeCallback(n)},beforeOpenCallback(){t.value.beforeOpenCallback&&t.value.beforeOpenCallback(n)}})}},install:function(e){e.directive("print",n)}};const o=n},6365:(e,t,a)=>{a.d(t,{A:()=>r});var l=a(9726),n={class:"db-card-filter-btn dropdown-btn"};const o={name:"ExportComponent"};const r=(0,a(6262).A)(o,[["render",function(e,t,a,o,r,s){return(0,l.openBlock)(),(0,l.createElementBlock)("button",n,[t[0]||(t[0]=(0,l.createElementVNode)("i",{class:"lab lab-line-file-export lab-font-size-17"},null,-1)),(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(e.$t("button.export")),1)])}]])},9238:(e,t,a)=>{a.d(t,{A:()=>r});var l=a(9726),n={class:"db-tooltip"};const o={name:"SmIconViewComponent",props:{link:String,id:Number}};const r=(0,a(6262).A)(o,[["render",function(e,t,a,o,r,s){var i=(0,l.resolveComponent)("router-link");return(0,l.openBlock)(),(0,l.createBlock)(i,{class:"db-table-action view",to:{name:this.$props.link,params:{id:this.$props.id}}},{default:(0,l.withCtx)(function(){return[t[0]||(t[0]=(0,l.createElementVNode)("i",{class:"lab lab-line-eye"},null,-1)),(0,l.createElementVNode)("span",n,(0,l.toDisplayString)(e.$t("button.view")),1)]}),_:1,__:[0]},8,["to"])}]])},9319:(e,t,a)=>{a.d(t,{A:()=>u});var l=a(9726),n={key:0,class:"db-field-down-arrow"},o={value:"10"},r={value:"25"},s={value:"50"},i={value:"100"},c={value:"500"},d={value:"1000"};const p={name:"TableLimitComponent",props:{page:{type:Object},search:{type:Object},method:{type:Function}},methods:{limitChange:function(){this.method()}}};const u=(0,a(6262).A)(p,[["render",function(e,t,a,p,u,m){return a.page.total>10?((0,l.openBlock)(),(0,l.createElementBlock)("div",n,[(0,l.withDirectives)((0,l.createElementVNode)("select",{onChange:t[0]||(t[0]=function(){return m.limitChange&&m.limitChange.apply(m,arguments)}),"onUpdate:modelValue":t[1]||(t[1]=function(e){return a.search.per_page=e}),class:"db-card-filter-select"},[(0,l.createElementVNode)("option",o,(0,l.toDisplayString)(e.$t("number.10")),1),(0,l.createElementVNode)("option",r,(0,l.toDisplayString)(e.$t("number.25")),1),(0,l.createElementVNode)("option",s,(0,l.toDisplayString)(e.$t("number.50")),1),(0,l.createElementVNode)("option",i,(0,l.toDisplayString)(e.$t("number.100")),1),(0,l.createElementVNode)("option",c,(0,l.toDisplayString)(e.$t("number.500")),1),(0,l.createElementVNode)("option",d,(0,l.toDisplayString)(e.$t("number.1000")),1)],544),[[l.vModelSelect,a.search.per_page]])])):(0,l.createCommentVNode)("",!0)}]])}}]);
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium320.web-hosting.com
Server IP: 66.29.153.54
PHP Version: 8.2.29
Server Software: LiteSpeed
System: Linux premium320.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 76.87 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: aoneqssk
User ID (UID): 1285
Group ID (GID): 1290
Script Owner UID: 1285
Current Dir Owner: 1285