[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: 547.js
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[547],{547:(e,t,l)=>{l.r(t),l.d(t,{default:()=>M});var i=l(9726),s={class:"col-12"},n={class:"db-card"},a={class:"db-card-header"},o={class:"db-card-title"},c={class:"db-card-body"},r={class:"row"},m={class:"col-12 sm:col-5"},d=["src"],p={class:"col-12 sm:col-7 md:pl-8"},u={class:"db-list single"},b={class:"db-list-item"},y={class:"db-list-item-title"},E={class:"db-list-item-text"},N={class:"db-list-item"},g={class:"db-list-item-title"},V={class:"db-list-item-text"},f={class:"db-list-item"},S={class:"db-list-item-title"},v={class:"db-list-item-text"},_={class:"db-list-item"},D={class:"db-list-item-title"},h={class:"db-list-item-text"},x={class:"db-list-item"},$={class:"db-list-item-title"},A={class:"db-list-item-text"},k={class:"db-list-item"},C={class:"db-list-item-title"},w={class:"db-list-item-text"},T={class:"db-list-item"},B={class:"db-list-item-title"},P={class:"db-list-item-text"},j={class:"db-list-item"},F={class:"db-list-item-title"},L={class:"db-list-item-text"},G={class:"db-list-item"},I={class:"db-list-item-title"},O={key:0,class:"db-list-item-text"},R={key:1,class:"db-list-item-text"};var X=l(5475),q=(l(9856),l(8655)),z=l(8267);function H(e){return H="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},H(e)}function J(e,t,l){return(t=function(e){var t=function(e,t){if("object"!=H(e)||!e)return e;var l=e[Symbol.toPrimitive];if(void 0!==l){var i=l.call(e,t||"default");if("object"!=H(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==H(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const K={name:"CouponShowComponent",components:{LoadingComponent:X.A},data:function(){return{loading:{isActive:!1},enums:{taxTypeEnum:z.A,taxTypeEnumArray:J(J({},z.A.FIXED,this.$t("label.fixed")),z.A.PERCENTAGE,this.$t("label.percentage"))}}},computed:{coupon:function(){return this.$store.getters["coupon/show"]}},mounted:function(){var e=this;this.loading.isActive=!0,this.$store.dispatch("coupon/show",this.$route.params.id).then(function(t){e.loading.isActive=!1}).catch(function(t){e.loading.isActive=!1})},methods:{taxTypeClass:function(e){return q.A.taxTypeClass(e)}}};const M=(0,l(6262).A)(K,[["render",function(e,t,l,X,q,z){var H=(0,i.resolveComponent)("LoadingComponent");return(0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,null,[(0,i.createVNode)(H,{props:q.loading},null,8,["props"]),(0,i.createElementVNode)("div",s,[(0,i.createElementVNode)("div",n,[(0,i.createElementVNode)("div",a,[(0,i.createElementVNode)("h3",o,(0,i.toDisplayString)(e.$t("label.coupon")),1)]),(0,i.createElementVNode)("div",c,[(0,i.createElementVNode)("div",r,[(0,i.createElementVNode)("div",m,[(0,i.createElementVNode)("img",{class:"db-image",alt:"coupon",src:z.coupon.image},null,8,d)]),(0,i.createElementVNode)("div",p,[(0,i.createElementVNode)("ul",u,[(0,i.createElementVNode)("li",b,[(0,i.createElementVNode)("span",y,(0,i.toDisplayString)(e.$t("label.name")),1),(0,i.createElementVNode)("span",E,(0,i.toDisplayString)(z.coupon.name),1)]),(0,i.createElementVNode)("li",N,[(0,i.createElementVNode)("span",g,(0,i.toDisplayString)(e.$t("label.code")),1),(0,i.createElementVNode)("span",V,(0,i.toDisplayString)(z.coupon.code),1)]),(0,i.createElementVNode)("li",f,[(0,i.createElementVNode)("span",S,(0,i.toDisplayString)(e.$t("label.discount")),1),(0,i.createElementVNode)("span",v,(0,i.toDisplayString)(z.coupon.flat_discount),1)]),(0,i.createElementVNode)("li",_,[(0,i.createElementVNode)("span",D,(0,i.toDisplayString)(e.$t("label.discount_type")),1),(0,i.createElementVNode)("span",h,(0,i.toDisplayString)(q.enums.taxTypeEnumArray[z.coupon.discount_type]),1)]),(0,i.createElementVNode)("li",x,[(0,i.createElementVNode)("span",$,(0,i.toDisplayString)(e.$t("label.start_date")),1),(0,i.createElementVNode)("span",A,(0,i.toDisplayString)(z.coupon.convert_start_date),1)]),(0,i.createElementVNode)("li",k,[(0,i.createElementVNode)("span",C,(0,i.toDisplayString)(e.$t("label.end_date")),1),(0,i.createElementVNode)("span",w,(0,i.toDisplayString)(z.coupon.convert_end_date),1)]),(0,i.createElementVNode)("li",T,[(0,i.createElementVNode)("span",B,(0,i.toDisplayString)(e.$t("label.minimum_order")),1),(0,i.createElementVNode)("span",P,(0,i.toDisplayString)(z.coupon.minimum_order_flat_amount),1)]),(0,i.createElementVNode)("li",j,[(0,i.createElementVNode)("span",F,(0,i.toDisplayString)(e.$t("label.maximum_discount")),1),(0,i.createElementVNode)("span",L,(0,i.toDisplayString)(z.coupon.maximum_flat_discount),1)]),(0,i.createElementVNode)("li",G,[(0,i.createElementVNode)("span",I,(0,i.toDisplayString)(e.$t("label.limit_per_user")),1),0==z.coupon.limit_per_user?((0,i.openBlock)(),(0,i.createElementBlock)("span",O,(0,i.toDisplayString)(e.$t("label.unlimited")),1)):((0,i.openBlock)(),(0,i.createElementBlock)("span",R,(0,i.toDisplayString)(z.coupon.limit_per_user),1))])])])])])])])],64)}]])}}]);
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