![]() 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/ |
(window.webpackJsonp=window.webpackJsonp||[]).push([[5,6,8],{519:function(t,e,r){"use strict";r.r(e);r(35),r(40);var o={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(e){var r=e.data.data,o=r.valid?"text-success":"text-danger";t.$store.commit("SET_DISCOUNT_OBJECT",r.object),t.msg='<span class="'.concat(o,'"><b>').concat(r.message,"</b></span>")})).catch((function(t){})).finally((function(){t.validating=!1}))}}},n=r(53),component=Object(n.a)(o,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{staticClass:"promo-code-wrapper",staticStyle:{"margin-bottom":"10px"}},[r("div",{staticClass:"form-group"},[r("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(e){e.target.composing||(t.promoCode=e.target.value)}}})]),t._v(" "),r("button",{staticClass:"btn btn-form-green",attrs:{type:"submit",disabled:!t.promoCode||t.validating},on:{click:function(e){return e.preventDefault(),t.validatePromoCode.apply(null,arguments)}}},[t.validating?r("b-spinner",{staticClass:"mr-1",attrs:{small:""}}):t._e(),t._v("\n Apply\n ")],1)]),t._v(" "),r("div",[t.msg?r("p",{staticClass:"text-danger",domProps:{innerHTML:t._s(t.msg)}}):t._e()])])}),[],!1,null,"1f7fe7c8",null);e.default=component.exports},520:function(t,e,r){"use strict";r.r(e);var o={name:"OrderSummaryCalculations",components:{PromoCode:r(519).default},props:{mobile:{required:!1}}},n=r(53),component=Object(n.a)(o,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"order-summary-box",class:t.mobile?"":"d-none d-md-block"},[t._l(t.offlineFormPlates,(function(e,o){return r("div",{staticClass:"order-summary-header"},[r("div",{staticClass:"left"},[r(t.splittedPlateNumberComponent,{tag:"component",attrs:{small:!0,plate:e}}),t._v(" "),r("h5",[t._v(t._s(e.license_plate)+" "),r("span",{staticClass:"car-model"},[t._v(" "+t._s(e.license_make))]),t._v(" "),r("br"),t._v(" "),r("span",{staticClass:"renewal-time"},[t._v(t._s(e.description))])])],1),t._v(" "),r("div",{staticClass:"right"},[r("h5",[t._v(t._s(e.formatted_price)+" ")])])])})),t._v(" "),r("promo-code"),t._v(" "),r("div",{staticClass:"order-summary-price-wrapper"},[t._l(t.getLineItems,(function(e,o){return r("p",{key:"line_item_"+o},[r("span",{staticClass:"price-title"},[t._v(t._s(e.title))]),t._v(" "),r("span",{staticClass:"price",class:{"text-danger":e.pure_amount<0}},[t._v(t._s(e.amount))])])})),t._v(" "),r("p",{staticClass:"total"},[t._m(0),t._v(" "),r("span",{staticClass:"price",staticStyle:{width:"unset"}},[t._v("USD "),r("b",[t._v(t._s(t.orderTotal))])])])],2)],2)}),[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("span",{staticClass:"price-title"},[r("b",[t._v("Estimated Total")])])}],!1,null,"3f443847",null);e.default=component.exports},531:function(t,e,r){"use strict";r.r(e);var o={name:"OrderSummarySidebar",components:{OrderSummaryCalculations:r(520).default}},n=r(53),component=Object(n.a)(o,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"sidebar-wrapper order-sidebar-wrapper"},[r("div",{staticClass:"sidebar-content order-sidebar"},[r("order-summary-calculations"),t._v(" "),t._m(0),t._v(" "),t._m(1)],1)])}),[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("p",{staticClass:"bill-desc"},[t._v("\n The amount billed to your card is subject to change based on your vehicle's weight and registration status. The\n amount billed may be corrected when the transaction is processed with the state. "),r("br"),t._v(" "),r("a",{attrs:{href:"#"}},[t._v("See how FL registration taxes are calculated.")])])},function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"refund-notice-box"},[r("h6",[t._v("Refund Notice: ")]),t._v(" "),r("p",[t._v("We Cannot Refund State and local government taxes and fees. Once services has been rendered and registration\n processed with the state this cost is a pass-through, which we have paid to the State on your behalf. "),r("a",{attrs:{href:"#"}},[t._v("Click Here")]),t._v(" to learn our "),r("a",{attrs:{href:"#"}},[t._v("Refund Policy.")])])])}],!1,null,"963a29b2",null);e.default=component.exports}}]);