Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/vreg/dist/_nuxt/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/vreg/dist/_nuxt/f2a60bd.js
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{519:function(t,o,e){"use strict";e.r(o);e(35),e(40);var n={name:"PromoCode",data:function(){return{promoCode:"",validating:!1,msg:""}},mounted:function(){this.discountObject&&(this.promoCode=this.discountObject.code)},methods:{validatePromoCode:function(){var t=this;this.validating=!0,this.$axios.post("orders/validate-and-store-promo-code/".concat(this.$store.state.orderId,"?code=").concat(this.promoCode)).then((function(o){var e=o.data.data,n=e.valid?"text-success":"text-danger";t.$store.commit("SET_DISCOUNT_OBJECT",e.object),t.msg='<span class="'.concat(n,'"><b>').concat(e.message,"</b></span>")})).catch((function(t){})).finally((function(){t.validating=!1}))}}},r=e(53),component=Object(r.a)(n,(function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",[e("div",{staticClass:"promo-code-wrapper",staticStyle:{"margin-bottom":"10px"}},[e("div",{staticClass:"form-group"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.promoCode,expression:"promoCode"}],staticClass:"form-control promo-input",attrs:{type:"text",placeholder:"Promo code"},domProps:{value:t.promoCode},on:{input:function(o){o.target.composing||(t.promoCode=o.target.value)}}})]),t._v(" "),e("button",{staticClass:"btn btn-form-green",attrs:{type:"submit",disabled:!t.promoCode||t.validating},on:{click:function(o){return o.preventDefault(),t.validatePromoCode.apply(null,arguments)}}},[t.validating?e("b-spinner",{staticClass:"mr-1",attrs:{small:""}}):t._e(),t._v("\n      Apply\n    ")],1)]),t._v(" "),e("div",[t.msg?e("p",{staticClass:"text-danger",domProps:{innerHTML:t._s(t.msg)}}):t._e()])])}),[],!1,null,"1f7fe7c8",null);o.default=component.exports}}]);

Spamworldpro Mini