[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: 2363.js
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[2363],{970:(e,t,a)=>{a.d(t,{A:()=>n});const n=Object.freeze({PAID:5,UNPAID:10})},1017:(e,t,a)=>{a.d(t,{A:()=>l});var n=a(9726);const r={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 l=(0,a(6262).A)(r,[["render",function(e,t,a,r,l,s){var o=(0,n.resolveComponent)("TailwindPagination");return(0,n.openBlock)(),(0,n.createElementBlock)("div",null,[(0,n.createVNode)(o,{data:a.pagination,onPaginationChangePage:s.page,"active-classes":l.activeClass,limit:1},null,8,["data","onPaginationChangePage","active-classes"])])}]])},1751:(e,t,a)=>{a.d(t,{A:()=>s});var n=a(9726),r={class:"flex flex-1 justify-between sm:hidden"};const l={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 s=(0,a(6262).A)(l,[["render",function(e,t,a,l,s,o){var i=(0,n.resolveComponent)("TailwindPagination");return(0,n.openBlock)(),(0,n.createElementBlock)("div",r,[(0,n.createVNode)(i,{data:a.pagination,onPaginationChangePage:o.page,"active-classes":s.activeClass,limit:-1},null,8,["data","onPaginationChangePage","active-classes"])])}]])},1889:(e,t,a)=>{a.d(t,{A:()=>s});var n=a(9726),r={class:"text-sm text-gray-700"};const l={name:"PaginationTextComponent",props:["props"]};const s=(0,a(6262).A)(l,[["render",function(e,t,a,l,s,o){var i,c;return(0,n.openBlock)(),(0,n.createElementBlock)("div",null,[(0,n.createElementVNode)("p",r,(0,n.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:()=>g});var n=a(9726);const r={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,n,r;return null!=(r=null!=(n=null!=(t=this.data.first_page_url)?t:null==(e=this.data.meta)?void 0:e.first_page_url)?n:null==(a=this.data.links)?void 0:a.first)?r: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,n,r;return null!=(r=null!=(n=null!=(t=this.data.last_page_url)?t:null==(e=this.data.meta)?void 0:e.last_page_url)?n:null==(a=this.data.links)?void 0:a.last)?r:null},nextPageUrl(){var e,t,a,n,r;return null!=(r=null!=(n=null!=(t=this.data.next_page_url)?t:null==(e=this.data.meta)?void 0:e.next_page_url)?n:null==(a=this.data.links)?void 0:a.next)?r: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,n,r;return null!=(r=null!=(n=null!=(t=this.data.prev_page_url)?t:null==(e=this.data.meta)?void 0:e.prev_page_url)?n:null==(a=this.data.links)?void 0:a.prev)?r: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,n=this.lastPage,r=this.limit,l=t-r,s=t+r,o=2*(r+2),i=2*(r+2)-1,c=[],d=[],p=1;p<=n;p++)(1===p||p===n||p>=l&&p<=s||a&&p<o&&t<o-2||a&&p>n-i&&t>n-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)}})})}},l=(e,t)=>{const a=e.__vccOpts||e;for(const[e,n]of t)a[e]=n;return a};Boolean,Boolean;Boolean,Boolean;const s={compatConfig:{MODE:3},inheritAttrs:!1,emits:["pagination-change-page"],components:{RenderlessPagination:r},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)}}},o=["disabled"],i=(0,n.createElementVNode)("span",{class:"sr-only"},"Previous",-1),c=(0,n.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,n.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,n.createElementVNode)("span",{class:"sr-only"},"Next",-1),m=(0,n.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,n.createElementVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"})],-1);const g=l(s,[["render",function(e,t,a,r,l,s){const g=(0,n.resolveComponent)("RenderlessPagination");return(0,n.openBlock)(),(0,n.createBlock)(g,{data:a.data,limit:a.limit,"keep-length":a.keepLength,onPaginationChangePage:s.onPaginationChangePage},{default:(0,n.withCtx)(t=>[t.computed.total>t.computed.perPage?((0,n.openBlock)(),(0,n.createElementBlock)("nav",(0,n.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,n.createElementVNode)("button",(0,n.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,n.toHandlers)(t.prevButtonEvents,!0)),[(0,n.renderSlot)(e.$slots,"prev-nav",{},()=>[i,c])],16,o),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(t.computed.pageRange,(e,r)=>((0,n.openBlock)(),(0,n.createElementBlock)("button",(0,n.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:r},(0,n.toHandlers)(t.pageButtonEvents(e),!0),{disabled:e===t.computed.currentPage}),(0,n.toDisplayString)(e),17,d))),128)),(0,n.createElementVNode)("button",(0,n.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,n.toHandlers)(t.nextButtonEvents,!0)),[(0,n.renderSlot)(e.$slots,"next-nav",{},()=>[u,m])],16,p)],16)):(0,n.createCommentVNode)("",!0)]),_:3},8,["data","limit","keep-length","onPaginationChangePage"])}]])},2363:(e,t,a)=>{a.r(t),a.d(t,{default:()=>Vt});var n=a(9726),r={class:"col-12"},l={class:"db-card p-4"},s={class:"flex flex-wrap gap-y-5 items-end justify-between"},o={class:"flex flex-wrap items-start gap-y-2 gap-x-6 mb-5"},i={class:"text-2xl font-medium"},c={class:"text-heading"},d={class:"flex items-center gap-2 mt-1.5"},p={class:"flex flex-col gap-2"},u={class:"flex items-center gap-2"},m={class:"text-xs"},g={class:"text-xs"},h={class:"text-heading"},y={key:0,class:"text-xs"},v={class:"text-heading"},b={key:1,class:"text-xs"},x={class:"text-heading"},f={key:2,class:"text-xs"},E={class:"text-heading"},N={class:"text-xs"},w={class:"text-heading"},V={class:"flex flex-wrap gap-3"},S={class:"relative"},k=["value"],B={class:"relative"},_=["value"],A={type:"button",class:"flex items-center justify-center gap-2 px-4 h-[38px] rounded shadow-db-card bg-primary"},C={class:"text-sm capitalize text-white"},P={class:"col-12 sm:col-6"},D={class:"db-card"},$={class:"db-card-header"},O={class:"db-card-title"},L={class:"db-card-body"},T={class:"pl-3"},I={class:"flex items-center gap-3 relative"},U={class:"absolute top-5 ltr:-left-3 rtl:-right-3 text-sm w-[26px] h-[26px] leading-[26px] text-center rounded-full text-white bg-heading"},z=["src"],R={class:"flex-auto overflow-hidden"},j={class:"text-sm overflow-hidden"},F={class:"flex flex-wrap items-center justify-between gap-4"},H={class:"flex items-center gap-8"},M={class:"text-sm font-semibold"},q={class:"col-12 sm:col-6"},W={class:"row"},G={class:"col-12"},K={class:"db-card p-1"},Y={class:"flex flex-col gap-2 p-3 border-b border-dashed border-[#EFF0F6]"},X={class:"flex items-center justify-between text-heading"},J={class:"text-sm leading-6 capitalize"},Q={class:"text-sm leading-6 capitalize"},Z={class:"flex items-center justify-between text-heading"},ee={class:"text-sm leading-6 capitalize"},te={class:"text-sm leading-6 capitalize"},ae={class:"flex items-center justify-between text-heading"},ne={class:"text-sm leading-6 capitalize"},re={class:"text-sm leading-6 capitalize"},le={class:"flex items-center justify-between p-3"},se={class:"text-sm leading-6 font-bold capitalize"},oe={class:"text-sm leading-6 font-bold capitalize"},ie={class:"col-12"},ce={class:"db-card"},de={class:"db-card-header"},pe={class:"db-card-title"},ue={class:"db-card-body"},me={class:"flex items-center gap-3 mb-4"},ge=["src"],he={class:"font-semibold text-sm capitalize text-[#374151]"},ye={class:"flex flex-col gap-3 py-4 border-t border-[#EFF0F6]"},ve={class:"flex items-center gap-2.5"},be={class:"text-xs"},xe={class:"flex items-center gap-2.5"},fe={class:"text-xs",dir:"ltr"};var Ee=a(5475),Ne=a(9856),we=a(1889),Ve=a(1017),Se=a(1751),ke=a(8655),Be=a(908),_e=a(9319),Ae=a(970),Ce=a(5316),Pe={id:"receiptModal",class:"modal"},De={class:"modal-dialog max-w-[302px] rounded-none",id:"print"},$e={class:"modal-body"},Oe={class:"text-center pb-3.5 border-b border-dashed border-gray-400"},Le={class:"font-bold mb-1"},Te={class:"text-sm font-normal"},Ie={class:"text-sm font-normal"},Ue={class:"w-full my-1.5"},ze={class:"text-xs text-left py-0.5 text-heading"},Re={class:"text-xs text-left py-0.5 text-heading"},je={class:"text-xs text-right py-0.5 text-heading"},Fe={class:"w-full"},He={class:"border-t border-b border-dashed border-gray-400"},Me={scope:"col",class:"py-1 font-normal text-xs capitalize text-left text-heading w-8"},qe={scope:"col",class:"py-1 font-normal text-xs capitalize flex items-center justify-between text-heading"},We={class:"border-b border-dashed border-gray-400"},Ge={class:"text-left font-normal align-top py-1"},Ke={class:"text-xs leading-5 text-heading"},Ye={class:"text-left font-normal align-top py-1"},Xe={class:"flex items-center justify-between"},Je={class:"text-xs leading-5 text-heading"},Qe={class:"text-xs leading-5 text-heading"},Ze={key:0,class:"text-xs leading-5 text-heading max-w-[200px]"},et={class:"py-2 pl-7"},tt={class:"w-full"},at={class:"text-xs text-left py-0.5 uppercase text-heading"},nt={class:"text-xs text-right py-0.5 text-heading"},rt={class:"text-xs text-left py-0.5 uppercase text-heading"},lt={class:"text-xs text-right py-0.5 text-heading"},st={class:"text-xs text-left py-0.5 uppercase text-heading"},ot={class:"text-xs text-right py-0.5 text-heading"},it={class:"text-xs text-left py-0.5 font-bold uppercase text-heading"},ct={class:"text-xs text-right py-0.5 font-bold text-heading"},dt={class:"text-xs py-2 border-t border-b border-dashed border-gray-400 text-heading"},pt={class:"text-center pt-2 pb-4"},ut={class:"text-[11px] leading-[14px] capitalize text-heading"},mt={class:"text-[11px] leading-[14px] capitalize text-heading"},gt={class:"flex flex-col items-end"},ht={class:"text-[8px] font-normal text-left w-[46px] leading-[10px]"},yt={class:"text-xs font-normal leading-4"};const vt={name:"PosOrderReceiptComponent",props:{order:Object},computed:{company:function(){return this.$store.getters["company/lists"]},orderProducts:function(){return this.$store.getters["posOrder/orderProducts"]}},mounted:function(){this.$store.dispatch("company/lists").then().catch()}};var bt=a(6262);const xt=(0,bt.A)(vt,[["render",function(e,t,a,r,l,s){return(0,n.openBlock)(),(0,n.createElementBlock)("div",Pe,[(0,n.createElementVNode)("div",De,[(0,n.createElementVNode)("div",$e,[(0,n.createElementVNode)("div",Oe,[(0,n.createElementVNode)("h3",Le,(0,n.toDisplayString)(s.company.company_name),1),(0,n.createElementVNode)("h4",Te,(0,n.toDisplayString)(s.company.company_address),1),(0,n.createElementVNode)("h5",Ie,(0,n.toDisplayString)(e.$t("label.tel"))+": "+(0,n.toDisplayString)(s.company.company_calling_code)+" "+(0,n.toDisplayString)(s.company.company_phone),1)]),(0,n.createElementVNode)("table",Ue,[(0,n.createElementVNode)("tbody",null,[(0,n.createElementVNode)("tr",null,[(0,n.createElementVNode)("td",ze,(0,n.toDisplayString)(e.$t("label.order_id"))+" #"+(0,n.toDisplayString)(a.order.order_serial_no),1)]),(0,n.createElementVNode)("tr",null,[(0,n.createElementVNode)("td",Re,(0,n.toDisplayString)(a.order.order_date),1),(0,n.createElementVNode)("td",je,(0,n.toDisplayString)(a.order.order_time),1)])])]),(0,n.createElementVNode)("table",Fe,[(0,n.createElementVNode)("thead",He,[(0,n.createElementVNode)("tr",null,[(0,n.createElementVNode)("th",Me,(0,n.toDisplayString)(e.$t("label.qty")),1),(0,n.createElementVNode)("th",qe,[(0,n.createElementVNode)("span",null,(0,n.toDisplayString)(e.$t("label.product_description")),1),(0,n.createElementVNode)("span",null,(0,n.toDisplayString)(e.$t("label.price")),1)])])]),(0,n.createElementVNode)("tbody",We,[s.orderProducts.length>0?((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,{key:0},(0,n.renderList)(s.orderProducts,function(e){return(0,n.openBlock)(),(0,n.createElementBlock)("tr",{key:e},[(0,n.createElementVNode)("td",Ge,[(0,n.createElementVNode)("p",Ke,(0,n.toDisplayString)(e.quantity),1)]),(0,n.createElementVNode)("td",Ye,[(0,n.createElementVNode)("div",Xe,[(0,n.createElementVNode)("p",Je,(0,n.toDisplayString)(e.product_name),1),(0,n.createElementVNode)("p",Qe,(0,n.toDisplayString)(e.subtotal_currency_price),1)]),e.variation_names?((0,n.openBlock)(),(0,n.createElementBlock)("p",Ze,(0,n.toDisplayString)(e.variation_names),1)):(0,n.createCommentVNode)("",!0),e.product_tax.length>0?((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,{key:1},(0,n.renderList)(e.product_tax,function(e){return(0,n.openBlock)(),(0,n.createElementBlock)("p",{class:"text-xs leading-5 text-heading",key:e},(0,n.toDisplayString)(e.tax_name)+" ("+(0,n.toDisplayString)(e.tax_rate)+"%) ",1)}),128)):(0,n.createCommentVNode)("",!0)])])}),128)):(0,n.createCommentVNode)("",!0)])]),(0,n.createElementVNode)("div",et,[(0,n.createElementVNode)("table",tt,[(0,n.createElementVNode)("tbody",null,[(0,n.createElementVNode)("tr",null,[(0,n.createElementVNode)("td",at,(0,n.toDisplayString)(e.$t("label.subtotal"))+": ",1),(0,n.createElementVNode)("td",nt,(0,n.toDisplayString)(a.order.subtotal_currency_price),1)]),(0,n.createElementVNode)("tr",null,[(0,n.createElementVNode)("td",rt,(0,n.toDisplayString)(e.$t("label.tax_fee"))+": ",1),(0,n.createElementVNode)("td",lt,(0,n.toDisplayString)(a.order.tax_currency_price),1)]),(0,n.createElementVNode)("tr",null,[(0,n.createElementVNode)("td",st,(0,n.toDisplayString)(e.$t("label.discount"))+": ",1),(0,n.createElementVNode)("td",ot,(0,n.toDisplayString)(a.order.discount_currency_price),1)]),(0,n.createElementVNode)("tr",null,[(0,n.createElementVNode)("td",it,(0,n.toDisplayString)(e.$t("label.total"))+": ",1),(0,n.createElementVNode)("td",ct,(0,n.toDisplayString)(a.order.total_currency_price),1)])])])]),(0,n.createElementVNode)("p",dt,(0,n.toDisplayString)(e.$t("label.payment_type"))+": "+(0,n.toDisplayString)(a.order.pos_payment_method_name),1),(0,n.createElementVNode)("div",pt,[(0,n.createElementVNode)("p",ut,(0,n.toDisplayString)(e.$t("message.thank_you")),1),(0,n.createElementVNode)("p",mt,(0,n.toDisplayString)(e.$t("message.please_come_again")),1)]),(0,n.createElementVNode)("div",gt,[(0,n.createElementVNode)("h5",ht,(0,n.toDisplayString)(e.$t("label.powered_by")),1),(0,n.createElementVNode)("h6",yt,(0,n.toDisplayString)(s.company.company_name),1)])])])])}]]);var ft=a(3695);function Et(e){return Et="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},Et(e)}function Nt(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=Et(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=Et(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Et(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const wt={name:"PosOrderShowComponent",components:{TableLimitComponent:_e.A,PaginationSMBox:Se.A,PaginationBox:Ve.A,PaginationTextComponent:we.A,LoadingComponent:Ee.A,PosOrderReceiptComponent:xt},directives:{print:Ce.A},data:function(){return{loading:{isActive:!1},printLoading:!0,printObj:{id:"print",popTitle:this.$t("menu.pos_order_receipt")},enums:{orderStatusEnum:Be.A,paymentStatusEnum:Ae.A,posPaymentMethodEnum:ft.A,orderStatusEnumArray:Nt(Nt({},Be.A.CONFIRMED,this.$t("label.confirmed")),Be.A.DELIVERED,this.$t("label.delivered")),paymentStatusEnumArray:Nt(Nt({},Ae.A.PAID,this.$t("label.paid")),Ae.A.UNPAID,this.$t("label.unpaid")),paymentStatusObject:[{name:this.$t("label.paid"),value:Ae.A.PAID},{name:this.$t("label.unpaid"),value:Ae.A.UNPAID}],orderStatusObject:[{name:this.$t("label.confirmed"),value:Be.A.CONFIRMED},{name:this.$t("label.delivered"),value:Be.A.DELIVERED}]},payment_status:null,order_status:null}},mounted:function(){var e=this;this.loading.isActive=!0,this.$store.dispatch("posOrder/show",this.$route.params.id).then(function(t){e.payment_status=t.data.data.payment_status,e.order_status=t.data.data.status,e.loading.isActive=!1}).catch(function(t){e.loading.isActive=!1})},computed:{order:function(){return this.$store.getters["posOrder/show"]},orderProducts:function(){return this.$store.getters["posOrder/orderProducts"]},orderUser:function(){return this.$store.getters["posOrder/orderUser"]}},methods:{statusClass:function(e){return ke.A.statusClass(e)},orderStatusClass:function(e){return ke.A.orderStatusClass(e)},textShortener:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:30;return ke.A.textShortener(e,t)},orderStatus:function(e){var t=this;try{this.loading.isActive=!0,this.$store.dispatch("posOrder/changeStatus",{id:this.$route.params.id,status:e.target.value}).then(function(e){t.loading.isActive=!1,Ne.A.successFlip(1,t.$t("label.status"))}).catch(function(e){t.loading.isActive=!1,Ne.A.error(e.response.data.message)})}catch(e){this.loading.isActive=!1,Ne.A.error(e.response.data.message)}},changePaymentStatus:function(e){var t=this;try{this.loading.isActive=!0,this.$store.dispatch("posOrder/changePaymentStatus",{id:this.$route.params.id,payment_status:e.target.value}).then(function(e){t.loading.isActive=!1,Ne.A.successFlip(1,t.$t("label.payment_status"))}).catch(function(e){t.loading.isActive=!1,Ne.A.error(e.response.data.message)})}catch(e){this.loading.isActive=!1,Ne.A.error(e.response.data.message)}}}},Vt=(0,bt.A)(wt,[["render",function(e,t,a,Ee,Ne,we){var Ve=(0,n.resolveComponent)("LoadingComponent"),Se=(0,n.resolveComponent)("PosOrderReceiptComponent"),ke=(0,n.resolveDirective)("print");return(0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,[(0,n.createVNode)(Ve,{props:Ne.loading},null,8,["props"]),(0,n.createElementVNode)("div",r,[(0,n.createElementVNode)("div",l,[(0,n.createElementVNode)("div",s,[(0,n.createElementVNode)("div",null,[(0,n.createElementVNode)("div",o,[(0,n.createElementVNode)("p",i,[(0,n.createTextVNode)((0,n.toDisplayString)(e.$t("label.order_id"))+": ",1),(0,n.createElementVNode)("span",c," #"+(0,n.toDisplayString)(we.order.order_serial_no),1)]),(0,n.createElementVNode)("div",d,[(0,n.createElementVNode)("span",{class:(0,n.normalizeClass)("text-sm capitalize h-5 leading-5 px-2 rounded-3xl text-[#FB4E4E] bg-[#FFDADA]"+we.statusClass(we.order.payment_status))},(0,n.toDisplayString)(Ne.enums.paymentStatusEnumArray[we.order.payment_status]),3),(0,n.createElementVNode)("span",{class:(0,n.normalizeClass)("text-xs capitalize h-5 leading-5 px-2 rounded-3xl "+we.orderStatusClass(we.order.status))},(0,n.toDisplayString)(Ne.enums.orderStatusEnumArray[we.order.status]),3)])]),(0,n.createElementVNode)("ul",p,[(0,n.createElementVNode)("li",u,[t[4]||(t[4]=(0,n.createElementVNode)("i",{class:"lab lab-line-calendar lab-font-size-16"},null,-1)),(0,n.createElementVNode)("span",m,(0,n.toDisplayString)(we.order.order_datetime),1)]),(0,n.createElementVNode)("li",g,[(0,n.createTextVNode)((0,n.toDisplayString)(e.$t("label.payment_type"))+": ",1),(0,n.createElementVNode)("span",h,(0,n.toDisplayString)(we.order.pos_payment_method_name),1)]),we.order.pos_payment_method==Ne.enums.posPaymentMethodEnum.CARD?((0,n.openBlock)(),(0,n.createElementBlock)("li",y,[(0,n.createTextVNode)((0,n.toDisplayString)(e.$t("label.card_digit"))+": ",1),(0,n.createElementVNode)("span",v,(0,n.toDisplayString)(we.order.pos_payment_note),1)])):(0,n.createCommentVNode)("",!0),we.order.pos_payment_method==Ne.enums.posPaymentMethodEnum.MOBILE_BANKING?((0,n.openBlock)(),(0,n.createElementBlock)("li",b,[(0,n.createTextVNode)((0,n.toDisplayString)(e.$t("label.transaction_id"))+": ",1),(0,n.createElementVNode)("span",x,(0,n.toDisplayString)(we.order.pos_payment_note),1)])):(0,n.createCommentVNode)("",!0),we.order.pos_payment_method==Ne.enums.posPaymentMethodEnum.OTHER?((0,n.openBlock)(),(0,n.createElementBlock)("li",f,[(0,n.createTextVNode)((0,n.toDisplayString)(e.$t("label.note"))+": ",1),(0,n.createElementVNode)("span",E,(0,n.toDisplayString)(we.order.pos_payment_note),1)])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("li",N,[(0,n.createTextVNode)((0,n.toDisplayString)(e.$t("label.order_type"))+": ",1),(0,n.createElementVNode)("span",w,(0,n.toDisplayString)(e.$t("label.pos")),1)])])]),(0,n.createElementVNode)("div",V,[(0,n.createElementVNode)("div",S,[(0,n.withDirectives)((0,n.createElementVNode)("select",{"onUpdate:modelValue":t[0]||(t[0]=function(e){return Ne.payment_status=e}),onChange:t[1]||(t[1]=function(e){return we.changePaymentStatus(e)}),class:"text-sm capitalize appearance-none pl-4 pr-10 h-[38px] rounded border border-primary bg-white text-primary"},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(Ne.enums.paymentStatusObject,function(e){return(0,n.openBlock)(),(0,n.createElementBlock)("option",{value:e.value},(0,n.toDisplayString)(e.name),9,k)}),256))],544),[[n.vModelSelect,Ne.payment_status]]),t[5]||(t[5]=(0,n.createElementVNode)("i",{class:"lab lab-line-chevron-down lab-font-size-16 absolute top-1/2 right-3.5 -translate-y-1/2 text-primary"},null,-1))]),(0,n.createElementVNode)("div",B,[(0,n.withDirectives)((0,n.createElementVNode)("select",{"onUpdate:modelValue":t[2]||(t[2]=function(e){return Ne.order_status=e}),onChange:t[3]||(t[3]=function(e){return we.orderStatus(e)}),class:"text-sm capitalize appearance-none pl-4 pr-10 h-[38px] rounded border border-primary bg-white text-primary"},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(Ne.enums.orderStatusObject,function(e){return(0,n.openBlock)(),(0,n.createElementBlock)("option",{value:e.value},(0,n.toDisplayString)(e.name),9,_)}),256))],544),[[n.vModelSelect,Ne.order_status]]),t[6]||(t[6]=(0,n.createElementVNode)("i",{class:"lab lab-line-chevron-down lab-font-size-16 absolute top-1/2 right-3.5 -translate-y-1/2 text-primary"},null,-1))]),(0,n.withDirectives)(((0,n.openBlock)(),(0,n.createElementBlock)("button",A,[t[7]||(t[7]=(0,n.createElementVNode)("i",{class:"lab lab-line-printer lab-font-size-16 text-white"},null,-1)),(0,n.createElementVNode)("span",C,(0,n.toDisplayString)(e.$t("button.print_invoice")),1)])),[[ke,Ne.printObj]])])])])]),(0,n.createElementVNode)("div",P,[(0,n.createElementVNode)("div",D,[(0,n.createElementVNode)("div",$,[(0,n.createElementVNode)("h3",O,(0,n.toDisplayString)(e.$t("label.order_details")),1)]),(0,n.createElementVNode)("div",L,[(0,n.createElementVNode)("div",T,[we.orderProducts.length>0?((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,{key:0},(0,n.renderList)(we.orderProducts,function(e){return(0,n.openBlock)(),(0,n.createElementBlock)("div",{class:"mb-3 pb-3 border-b last:mb-0 last:pb-0 last:border-b-0 border-gray-2",key:e},[(0,n.createElementVNode)("div",I,[(0,n.createElementVNode)("h3",U,(0,n.toDisplayString)(e.quantity),1),(0,n.createElementVNode)("img",{class:"w-16 h-16 rounded-lg flex-shrink-0",src:e.product_image,alt:"thumbnail"},null,8,z),(0,n.createElementVNode)("div",R,[(0,n.createElementVNode)("h4",{class:(0,n.normalizeClass)([e.variation_names?"":"mb-4","text-sm capitalize whitespace-nowrap overflow-hidden text-ellipsis"])},(0,n.toDisplayString)(e.product_name),3),(0,n.createElementVNode)("p",j,(0,n.toDisplayString)(e.variation_names),1),(0,n.createElementVNode)("div",F,[(0,n.createElementVNode)("div",H,[(0,n.createElementVNode)("span",M,(0,n.toDisplayString)(e.subtotal_currency_price),1)])])])])])}),128)):(0,n.createCommentVNode)("",!0)])])])]),(0,n.createElementVNode)("div",q,[(0,n.createElementVNode)("div",W,[(0,n.createElementVNode)("div",G,[(0,n.createElementVNode)("div",K,[(0,n.createElementVNode)("ul",Y,[(0,n.createElementVNode)("li",X,[(0,n.createElementVNode)("span",J,(0,n.toDisplayString)(e.$t("label.subtotal")),1),(0,n.createElementVNode)("span",Q,(0,n.toDisplayString)(we.order.subtotal_currency_price),1)]),(0,n.createElementVNode)("li",Z,[(0,n.createElementVNode)("span",ee,(0,n.toDisplayString)(e.$t("label.tax_fee")),1),(0,n.createElementVNode)("span",te,(0,n.toDisplayString)(we.order.tax_currency_price),1)]),(0,n.createElementVNode)("li",ae,[(0,n.createElementVNode)("span",ne,(0,n.toDisplayString)(e.$t("label.discount")),1),(0,n.createElementVNode)("span",re,(0,n.toDisplayString)(we.order.discount_currency_price),1)])]),(0,n.createElementVNode)("div",le,[(0,n.createElementVNode)("h4",se,(0,n.toDisplayString)(e.$t("label.total")),1),(0,n.createElementVNode)("h5",oe,(0,n.toDisplayString)(we.order.total_currency_price),1)])])]),(0,n.createElementVNode)("div",ie,[(0,n.createElementVNode)("div",ce,[(0,n.createElementVNode)("div",de,[(0,n.createElementVNode)("h3",pe,(0,n.toDisplayString)(e.$t("label.information")),1)]),(0,n.createElementVNode)("div",ue,[(0,n.createElementVNode)("div",me,[(0,n.createElementVNode)("img",{class:"w-8 rounded-full",src:we.orderUser.image,alt:"avatar"},null,8,ge),(0,n.createElementVNode)("h4",he,(0,n.toDisplayString)(we.textShortener(we.orderUser.name,20)),1)]),(0,n.createElementVNode)("ul",ye,[(0,n.createElementVNode)("li",ve,[t[8]||(t[8]=(0,n.createElementVNode)("i",{class:"lab lab-line-mail lab-font-size-14"},null,-1)),(0,n.createElementVNode)("span",be,(0,n.toDisplayString)(we.orderUser.email),1)]),(0,n.createElementVNode)("li",xe,[t[9]||(t[9]=(0,n.createElementVNode)("i",{class:"lab lab-line-call-calling lab-font-size-14"},null,-1)),(0,n.createElementVNode)("span",fe,(0,n.toDisplayString)(we.orderUser.country_code+""+we.orderUser.phone),1)])])])])])])]),(0,n.createVNode)(Se,{order:we.order},null,8,["order"])],64)}]])},3695:(e,t,a)=>{a.d(t,{A:()=>n});const n=Object.freeze({CASH:5,CARD:10,MOBILE_BANKING:15,OTHER:20})},5316:(e,t,a)=>{a.d(t,{A:()=>l});class n{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,n=document.getElementById(this.settings.id).contentWindow||e.f.contentWindow;t.settings.beforeOpenCallback(),t.addEvent(a,"load",function(){n.focus(),t.settings.openCallback(),n.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 n=document.styleSheets;if(n&&n.length>0)for(let e=0;e<n.length;e++)try{if(n[e].cssRules||n[e].rules){let t=n[e].cssRules||n[e].rules;for(let e=0;e<t.length;e++)a+=t[e].cssText}}catch(t){console.log(n[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,n=t[e].toDataURL("image/png"),r=new Image;r.className="canvasImg",r.style.display="none",r.src=n,a.appendChild(r)}return e}getFormData(e){let t=e.cloneNode(!0),a=t.querySelectorAll("input,select,textarea"),n=t.querySelectorAll(".canvasImg,canvas"),r=-1;for(let e=0;e<n.length;e++){let t=n[e].parentNode,a=n[e];"canvas"===a.tagName.toLowerCase()?t.removeChild(a):a.style.display="block"}for(let t=0;t<a.length;t++){let n=a[t],l=n.getAttribute("type"),s=a[t];if(l||(l="SELECT"===n.tagName?"select":"TEXTAREA"===n.tagName?"textarea":""),"INPUT"===n.tagName)"radio"===l||"checkbox"===l?n.checked&&s.setAttribute("checked",n.checked):(s.value=n.value,s.setAttribute("value",n.value));else if("select"===l){r++;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")==r){let t=e.querySelectorAll("select")[r].selectedIndex;n.options[t].setAttribute("selected",!0)}}}else s.innerHTML=n.value,s.setAttribute("html",n.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 n=this.close;n.setAttribute("class","previewClose"),n.setAttribute("style","position: absolute;top: 5px;right: 20px;width: 25px;height: 20px;cursor: pointer;");let r=document.createElement("div"),l=document.createElement("div");r.setAttribute("class","closeBefore"),r.setAttribute("style","position: absolute;width: 3px;height: 100%;background: #040404;transform: rotate(45deg); top: 0px;left: 50%;"),l.setAttribute("class","closeAfter"),l.setAttribute("style","position: absolute;width: 3px;height: 100%;background: #040404;transform: rotate(-45deg); top: 0px;left: 50%;"),n.appendChild(r),n.appendChild(l),a.appendChild(n),this.previewBody=document.createElement("div");let s=this.previewBody;s.setAttribute("class","previewBody"),s.setAttribute("style","display: flex;flex-direction: column; height: 100%;"),t.appendChild(s);let o=document.createElement("div");o.setAttribute("class","previewBodyUtil"),o.setAttribute("style","height: 32px;background: #474747;position: relative;"),s.appendChild(o),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);"),o.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,n=this.iframeBox(t,e);try{if(this.settings.preview){n.setAttribute("style","border: 0px;flex: 1;");let e=this.previewBox(),t=e.previewBody,r=e.close;t.appendChild(n),this.addEvent(r,"click",function(){a.previewBoxHide()})}else document.body.appendChild(n);n.doc=null,n.doc=n.contentDocument?n.contentDocument:n.contentWindow?n.contentWindow.document:n.document}catch(e){throw new Error(e+". iframes may not be supported in this browser.")}if(null==n.doc)throw new Error("Cannot find document.");return n}}var r={directiveName:"print",mounted(e,t,a){let r=t.instance,l="";var s,o,i;o="click",i=()=>{if("string"==typeof t.value)l=t.value;else{if("object"!=typeof t.value||!t.value.id)return void window.print();{l=t.value.id;let e=l.replace(new RegExp("#","g"),"");document.getElementById(e)||(console.log("id in Error"),l="")}}c()},(s=e).addEventListener?s.addEventListener(o,i,!1):s.attachEvent?s.attachEvent("on"+o,i):s["on"+o]=i;const c=()=>{new n({ids:l,vue:r,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(r)},previewOpenCallback(){t.value.previewOpenCallback&&t.value.previewOpenCallback(r)},openCallback(){t.value.openCallback&&t.value.openCallback(r)},closeCallback(){t.value.closeCallback&&t.value.closeCallback(r)},beforeOpenCallback(){t.value.beforeOpenCallback&&t.value.beforeOpenCallback(r)}})}},install:function(e){e.directive("print",r)}};const l=r},9319:(e,t,a)=>{a.d(t,{A:()=>u});var n=a(9726),r={key:0,class:"db-field-down-arrow"},l={value:"10"},s={value:"25"},o={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,n.openBlock)(),(0,n.createElementBlock)("div",r,[(0,n.withDirectives)((0,n.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,n.createElementVNode)("option",l,(0,n.toDisplayString)(e.$t("number.10")),1),(0,n.createElementVNode)("option",s,(0,n.toDisplayString)(e.$t("number.25")),1),(0,n.createElementVNode)("option",o,(0,n.toDisplayString)(e.$t("number.50")),1),(0,n.createElementVNode)("option",i,(0,n.toDisplayString)(e.$t("number.100")),1),(0,n.createElementVNode)("option",c,(0,n.toDisplayString)(e.$t("number.500")),1),(0,n.createElementVNode)("option",d,(0,n.toDisplayString)(e.$t("number.1000")),1)],544),[[n.vModelSelect,a.search.per_page]])])):(0,n.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