{"version":3,"sources":["webpack:///./src/components/SettlementPanel.vue?176d","webpack:///src/components/SettlementPanel.vue","webpack:///./src/components/SettlementPanel.vue?94d9","webpack:///./src/components/SettlementPanel.vue","webpack:///./src/components/SettlementPanel.vue?3af1"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_m","settlementRequested","_e","_v","_s","errorMsg","directives","name","rawName","value","expression","attrs","on","$event","$$selectedVal","Array","prototype","filter","call","target","options","o","selected","map","val","_value","selectedReason","multiple","onReasonSelected","_l","reason","domProps","ReasonKey","ReasonDescription","composing","otherComment","requestSettlement","agreementNumber","staticStyle","Number","settlementDetails","balance","toFixed","allowableRebate","settlementAmount","dateFormat","validUntil","staticRenderFns","data","reasons","otherSelected","computed","$store","getters","user","case","agreementNo","methods","getSettlementReasons","$http","result","event","post","toDate","parts","dateStr","split","Date","created","component"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,qBAAqB,CAACN,EAAIO,GAAG,GAAKP,EAAIQ,oBAAs2CR,EAAIS,KAAr1CL,EAAG,MAAM,CAACE,YAAY,2DAA2D,CAAEN,EAAY,SAAEI,EAAG,IAAI,CAACJ,EAAIU,GAAGV,EAAIW,GAAGX,EAAIY,aAAaZ,EAAIS,KAAKL,EAAG,SAAS,CAACS,WAAW,CAAC,CAACC,KAAK,QAAQC,QAAQ,UAAUC,MAAOhB,EAAkB,eAAEiB,WAAW,mBAAmBX,YAAY,yBAAyBY,MAAM,CAAC,GAAK,cAAcC,GAAG,CAAC,OAAS,CAAC,SAASC,GAAQ,IAAIC,EAAgBC,MAAMC,UAAUC,OAAOC,KAAKL,EAAOM,OAAOC,SAAQ,SAASC,GAAG,OAAOA,EAAEC,YAAWC,KAAI,SAASF,GAAG,IAAIG,EAAM,WAAYH,EAAIA,EAAEI,OAASJ,EAAEZ,MAAM,OA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,EAAM1C,OAAOV,MAExBf,KAAKwD,cADb,SAMMxD,KAAKgC,eAAiBkC,GAExBxB,kBApBJ,WAoBA,WACM1C,KAAKiE,MAAMG,KAAK,qDAChBpE,KAAKiE,MAAMG,KAAK,yCAAtB,0GACMpE,KAAKiE,MACX,IACA,oEAEA,kBAEQ,GADA,EAAR,4BACA,cACU,EAAV,oBACA,CACU,EAAV,yBACU,IAAV,uDACU,EAAV,6BACA,YACA,KACA,gBACA,IACA,qBAIId,WA3CJ,SA2CA,GACM,IAAN,2BACM,OACN,2BACA,KACA,gCACA,IACA,iBAGIkB,OArDJ,SAqDA,GACM,IAAIC,EAAQC,EAAQC,MAAM,KAC1B,OAAO,IAAIC,KAAKH,EAAM,GAAIA,EAAM,GAAK,EAAGA,EAAM,MAGlDI,QAAS,WACP1E,KAAKgE,0BCpOgV,I,wBCQrVW,EAAY,eACd,EACA7E,EACAuD,GACA,EACA,KACA,WACA,MAIa,aAAAsB,E,2CCnBf,W","file":"js/chunk-a06d2162.43263c8b.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"settlement w-full\"},[_vm._m(0),(!_vm.settlementRequested)?_c('div',{staticClass:\"w-full h-full flex justify-center items-center flex-col\"},[(_vm.errorMsg)?_c('p',[_vm._v(_vm._s(_vm.errorMsg))]):_vm._e(),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedReason),expression:\"selectedReason\"}],staticClass:\"p-4 w-4/5 md:w-1/2 box\",attrs:{\"id\":\"reasonList\"},on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedReason=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},function($event){return _vm.onReasonSelected($event)}]}},_vm._l((_vm.reasons),function(reason){return _c('option',{domProps:{\"value\":reason.ReasonKey}},[_vm._v(\" \"+_vm._s(reason.ReasonDescription)+\" \")])}),0),_c('br'),(_vm.otherSelected)?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.otherComment),expression:\"otherComment\"}],staticClass:\"p-4 w-4/5 md:w-1/2 box\",attrs:{\"type\":\"text\",\"placeholder\":\"Other\"},domProps:{\"value\":(_vm.otherComment)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.otherComment=$event.target.value}}}):_vm._e(),_c('br'),_c('input',{staticClass:\"p-4 w-4/5 md:w-1/2 bg-color cursor-pointer\",attrs:{\"type\":\"button\",\"value\":\"Request Settlement\"},on:{\"click\":_vm.requestSettlement}})]):_vm._e(),(_vm.settlementRequested)?_c('div',{staticClass:\"flex justify-between flex-col h-full mt-2 text-left\"},[_c('div',{staticClass:\"font-bold\"},[_vm._v(\" Please quote your Agreement Number \"+_vm._s(_vm.agreementNumber)+\" in all correspondence \")]),_c('div',{staticClass:\"w-full\"},[_vm._v(\" Thank you for your request for a settlement figure, shown below: \")]),_c('br'),_c('div',{staticClass:\"w-full pr-10 sm:pr-0 sm:w-2/3\"},[_c('div',{staticClass:\"w-full flex\"},[_vm._m(1),_c('div',{staticClass:\"column-2 monetary\"},[_c('p',{staticStyle:{\"width\":\"70%\"}},[_vm._v(\"£\")]),_c('p',{staticStyle:{\"width\":\"30%\"}},[_vm._v(\" \"+_vm._s(Number(_vm.settlementDetails.balance).toFixed(2))+\" \")])])]),_vm._m(2),_c('div',{staticClass:\"w-full flex\"},[_vm._m(3),_c('div',{staticClass:\"column-2 monetary\"},[_c('p',{staticStyle:{\"width\":\"70%\"}},[_vm._v(\"£\")]),_c('p',{staticStyle:{\"width\":\"30%\"}},[_vm._v(\" \"+_vm._s(Number(_vm.settlementDetails.allowableRebate).toFixed(2))+\" \")])])]),_vm._m(4),_c('div',{staticClass:\"w-full flex\"},[_vm._m(5),_c('div',{staticClass:\"column-2 monetary\"},[_c('p',{staticStyle:{\"width\":\"70%\"}},[_vm._v(\"£\")]),_c('p',{staticStyle:{\"width\":\"30%\"}},[_vm._v(\" \"+_vm._s(Number(_vm.settlementDetails.settlementAmount).toFixed(2))+\" \")])])])]),_c('br'),_c('div',{staticClass:\"w-full\"},[_vm._v(\" This settlement figure is valid until \"+_vm._s(_vm.dateFormat(_vm.settlementDetails.validUntil))+\". This calculation is based on the balance outstanding as shown in our records as of today. \")]),_c('br'),_c('div',{staticClass:\"font-bold\"},[_vm._v(\" If a payment due to be paid to your account before the valid until date is not paid then the settlement figure will increase by that payment plus any fees that may be due; this is important, please do not cancel your direct debit until your account is closed, any overpayment by you will be refunded. \")]),_c('br'),_c('div',[_vm._v(\" If you are considering settling your Agreement you should continue to maintain your monthly payments until your account is closed. You may reduce the full settlement amount by any further monthly payments you make before \"+_vm._s(_vm.dateFormat(_vm.settlementDetails.validUntil))+\" subject to these payments and any prior payments subsequently clearing. Otherwise any overpayments will be refunded to you. You may pay by bank transfers by sending to: \"),_c('span',{staticClass:\"font-bold\"},[_vm._v(\"Sort code 20-19-90, account number 73682870\")]),_vm._v(\" this account is called ‘SPECIALIST MOTOR FIN’ please quote your Agreement Number: \"),_c('span',{staticClass:\"font-bold\"},[_vm._v(_vm._s(_vm.agreementNumber))]),_vm._v(\" as the reference. \")]),_c('br'),_vm._m(6),_c('br'),_c('div',[_vm._v(\" Please note that if payment of the settlement figure is to be made on your behalf by a motor dealer, or other third party, it is still your responsibility to ensure that we receive the payment, please quote your Agreement Number as the reference and pay by bank transfer to avoid delays. \")]),_c('br'),_vm._m(7)]):_vm._e()])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',{staticStyle:{\"text-align\":\"left\",\"margin-left\":\"10px\"}},[_c('b',[_vm._v(\"Vehicle Settlement\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pl-6 w-1/2 flex text-left\"},[_c('p',[_vm._v(\"Balance Outstanding\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"w-full flex\"},[_c('div',{staticClass:\"pl-6 w-1/2 flex text-left\"},[_c('p',[_vm._v(\"Rebate of credit insurance premium (N/A)\")])]),_c('div',{staticClass:\"column-2 monetary\"},[_c('p',{staticStyle:{\"width\":\"70%\"}},[_vm._v(\"£\")]),_c('p',{staticStyle:{\"width\":\"30%\"}},[_vm._v(\"0.00\")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pl-6 w-1/2 flex text-left\"},[_c('p',[_vm._v(\"Rebate of charges\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"w-full flex\"},[_c('div',{staticClass:\"pl-6 w-1/2 flex text-left\"},[_c('p',[_vm._v(\"Compensatory amount (N/A)\")])]),_c('div',{staticClass:\"column-2 monetary\"},[_c('p',{staticStyle:{\"width\":\"70%\"}},[_vm._v(\"£\")]),_c('p',{staticStyle:{\"width\":\"30%\"}},[_vm._v(\"0.00\")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pl-6 w-1/2 flex text-left\"},[_c('p',[_vm._v(\"Amount acceptable in full settlement\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',{staticClass:\"font-bold\"},[_vm._v(\"You cannot sell or part-exchange the car without paying the finance off\")]),_vm._v(\" so it is important that, if you intend to sell or part-exchange the car, the settlement figure is paid to us and acknowledged by us before you do this. \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._v(\" If you have any questions, please call us on \"),_c('span',{staticClass:\"font-bold\"},[_vm._v(\"01244 200746\")]),_vm._v(\" and we will be happy to help. \")])}]\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SettlementPanel.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SettlementPanel.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SettlementPanel.vue?vue&type=template&id=44496d91&scoped=true&\"\nimport script from \"./SettlementPanel.vue?vue&type=script&lang=js&\"\nexport * from \"./SettlementPanel.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SettlementPanel.vue?vue&type=style&index=0&id=44496d91&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"44496d91\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SettlementPanel.vue?vue&type=style&index=0&id=44496d91&scoped=true&lang=css&\""],"sourceRoot":""}