{"version":3,"sources":["webpack:///./src/views/Billing.vue?52e5","webpack:///./src/components/wizard/billing/WizardStepBilling.vue?60d2","webpack:///./src/components/wizard/billing/WizardStepBilling.vue","webpack:///./src/components/wizard/billing/WizardStepBilling.vue?f24d","webpack:///./src/components/wizard/billing/WizardStepBilling.vue?ba42","webpack:///./src/components/wizard/billing/WizardStepBillingReport.vue?204f","webpack:///./src/components/wizard/billing/WizardStepBillingReport.vue","webpack:///./src/components/wizard/billing/WizardStepBillingReport.vue?0a28","webpack:///./src/components/wizard/billing/WizardStepBillingReport.vue?6067","webpack:///./src/views/Billing.vue","webpack:///./src/views/Billing.vue?7818","webpack:///./src/views/Billing.vue?ab9a","webpack:///./src/components/wizard/BaseWizard.vue?7d6d","webpack:///./src/components/wizard/BaseWizard.vue","webpack:///./src/components/wizard/BaseWizard.vue?77f9","webpack:///./src/components/wizard/BaseWizard.vue?cd16","webpack:///./src/components/HelpAndSupport.vue?af7d","webpack:///./src/components/HelpAndSupport.vue","webpack:///./src/components/HelpAndSupport.vue?688e","webpack:///./src/components/HelpAndSupport.vue?81da","webpack:///./src/components/HelpAndSupport.vue?f422","webpack:///./src/components/wizard/billing/WizardStepBillingReport.vue?3608"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","staticStyle","attrs","scopedSlots","_u","key","fn","_v","proxy","componentKey","getSelectedProduct","isSass","isSams","isGazpromAdmin","next_step_ids","on","onSelectedInvoicingOption","findJourney","componentKeyForAccount","_e","componentKeyAllAccounts","transitionName","directives","name","rawName","value","isExactActive","expression","ref","staticRenderFns","id","visible","next_step_id","setVariant","$event","preventDefault","onSelectedOptionChanged","selectedOption","WizardStepBilling","$emit","Vue","__decorate","Prop","type","String","default","Array","Component","components","WizardBaseStep","component","WizardBaseStepTitle","downloadingFile","estimatedMaxDownloadSeconds","downloadProgressCounter","handleSubmitBillingReportRequest","apply","arguments","year","month","day","fromDateChanged","model","callback","$$v","invoiceDateFrom","dateFromErrorMessage","length","_s","toDateChanged","invoiceDateTo","dateToErrorMessage","availableBillingReportFields","currentlySelectedAvailableBillingReportFields","addSelectedBillingFields","addAllBillingFields","removeSelectedBillingFields","removeAllBillingFields","chosenBillingReportFields","currentlySelectedChosenBillingReportFields","chosenBillingReportFieldsErrorMessage","moveSelectedFieldUp","moveSelectedFieldDown","IsReportsForAllAccounts","bordered","striped","getBillingReports","billingReportTableColumns","data","item","Id","copyDataSelectionClick","DataFields","InvoiceStartDate","InvoiceEndDate","deleteGeneratedReport","Auth","namespace","GasAccounts","Billing","WizardStepBillingReport","loading","intervalHandle","GtagHelper","billingReportRequestParams","accountNumber","billingReportAvailableOptions","billingReportSelectedOptions","invoiceEndDate","invoiceStartDate","previousReportId","selectedBillingReportOptionValues","userId","label","formatter","formatDateTime","formatDate","text","ReportsForAllAccounts","LoadBillingReportData","setMprnSelectionDisabled","setAgreementSelectionDisabled","setAccountSelectionDisabled","unwatch","getDownloadFileData","fileName","window","navigator","msSaveBlob","fileURL","URL","createObjectURL","fileLink","document","createElement","href","setAttribute","body","appendChild","click","Event","getUserId","forEach","selectedValue","selectBillingField","selectedItem","availableField","push","index","indexOf","splice","concat","chosenField","arr","old_index","new_index","k","undefined","moveSelectedField","moveUp","array_move","billingReportFields","slice","validationPassed","fromDate","moment","toDate","currentDate","isAfter","add","customValidation","showDownloadIndictator","getSelectedAccount","generateBillingReportFieldsString","submitBillingReportForAllAccountsRequest","then","fileProcess","error","console","submitBillingReportRequest","fetchBillingReports","catch","reason","setInterval","format","fieldsList","fields","split","selectedField","removeGeneratedBillingReport","Boolean","Getter","Action","Mutation","Products","BillingWizard","to","from","toDepth","fromDepth","newValue","oldValue","log","option","initJourneyNode","appendJourneyToJourneyNode","root","getRootJourney","Value","Next","$refs","rv","resetJourneyNode","watchGasAccountSelection","$store","watch","state","getters","forceRerender","watchPowerAccountSelection","watchProductSelection","e","Watch","immediate","deep","BasePage","BaseWizard","HelpAndSupport","_t","productText","query","invoicingView","meteringView","consumptionView","siteAddressUrl","billingAddressUrl","routeName","$route","setManageAccountLinks","portalUrl","getPortalAuthTokenUrl","getSelectedSiteRefNumber","refreshHelpAndSupport","watchAccountSelection","watchGasAgreementSelection"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,YAAY,CAAEJ,EAAiB,cAAEI,EAAG,MAAM,CAACA,EAAG,SAAS,CAACE,YAAY,0BAA0BC,YAAY,CAAC,aAAa,QAAQC,MAAM,CAAC,aAAa,SAAS,aAAa,UAAUC,YAAYT,EAAIU,GAAG,CAAC,CAACC,IAAI,SAASC,GAAG,WAAW,MAAO,CAACR,EAAG,KAAK,CAACE,YAAY,uBAAuB,CAACN,EAAIa,GAAG,eAAeC,OAAM,IAAO,MAAK,EAAM,aAAa,CAACV,EAAG,cAAc,CAACA,EAAG,cAAc,CAACO,IAAIX,EAAIe,cAAc,CAA0B,OAAxBf,EAAIgB,mBAA2B,CAAGhB,EAAIiB,QAAUjB,EAAIkB,QAAUlB,EAAImB,eAAiB,CAACf,EAAG,6BAA6B,CAACI,MAAM,CAAC,GAAK,sBAAsB,QAAWR,EAAIiB,QAAUjB,EAAIkB,QAAUlB,EAAImB,eAAgB,sBAAwB,QAAQ,oBAAsB,kCAAkC,CAACf,EAAG,sBAAsB,CAACI,MAAM,CAAC,GAAK,cAAc,aAAeR,EAAIoB,eAAeC,GAAG,CAAC,wBAA0BrB,EAAIsB,6BAA8BtB,EAAIuB,YAAY,GAAI,CAACnB,EAAG,6BAA6B,CAACO,IAAIX,EAAIwB,uBAAuBhB,MAAM,CAAC,GAAK,SAAS,sBAAwB,QAAQ,oBAAsB,kCAAkCR,EAAIyB,KAAMzB,EAAIuB,YAAY,GAAI,CAACnB,EAAG,6BAA6B,CAACO,IAAIX,EAAI0B,wBAAwBlB,MAAM,CAAC,GAAK,SAAS,sBAAwB,OAAO,oBAAsB,uCAAuCR,EAAIyB,OAAg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I,EAA5B,0DA/D2B,8EAmE/B,yGAEIpP,KAAKuP,wBAELvP,KAAKiO,sBAAwBjO,KAAK2N,OAAOC,OAAM,SAACC,EAAOC,GAAR,OAAoBA,EAAQ,kCAAgC,SAACjB,EAAUC,GACjG,OAAbD,GAAqBA,IAAaC,GAItC,EAAKyC,2BAKTvP,KAAKwP,sBAAwBxP,KAAK2N,OAAOC,OAAM,SAACC,EAAOC,GAAR,OAAoBA,EAAQ,qCAAmC,SAACjB,EAAUC,GACpG,OAAbD,GAAqBA,IAAaC,GAItC,EAAKyC,2BAITvP,KAAKyP,2BAA6BzP,KAAK2N,OAAOC,OAAM,SAACC,EAAOC,GAAR,OAAoBA,EAAQ,2CAAyC,SAACjB,EAAUC,GAC/G,OAAbD,GAAqBA,IAAaC,GAItC,EAAKyC,2BA5Bb,gDAnE+B,8DAAS1M,QAGxCC,gBADCyJ,EAASH,QACV,yCAGAtJ,gBADCyD,EAAY6F,QACb,+CAGAtJ,gBADCyD,EAAY6F,QACb,yCAGAtJ,gBADCuD,EAAK+F,QACN,4CAZiBoC,EAAc,gBADlCpL,QACoBoL,WCpGoX,I,wBCQrYjL,EAAY,eACd,EACAzD,EACAoC,GACA,EACA,KACA,KACA,MAIa,OAAAqB,E,2CCnBf,W,kCCAA","file":"js/chunk-0a18ccc9.e2a89970.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('base-page',[(_vm.isExactActive)?_c('div',[_c('b-card',{staticClass:\"mb-3 shadow card-border\",staticStyle:{\"text-align\":\"left\"},attrs:{\"header-tag\":\"header\",\"footer-tag\":\"footer\"},scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_c('h6',{staticClass:\"mb-0 text-deep-blue\"},[_vm._v(\"Billing\")])]},proxy:true}],null,false,1921561443)},[_c('b-card-text',[_c('base-wizard',{key:_vm.componentKey},[(_vm.getSelectedProduct=='Gas')?[((_vm.isSass || _vm.isSams || _vm.isGazpromAdmin))?[_c('wizard-step-billing-report',{attrs:{\"id\":\"sass-billing-report\",\"visible\":(_vm.isSass || _vm.isSams || _vm.isGazpromAdmin),\"ReportsForAllAccounts\":\"false\",\"WizardBaseStepTitle\":\"Billing reports for account\"}})]:[_c('wizard-step-billing',{attrs:{\"id\":\"billing-gas\",\"next_step_id\":_vm.next_step_ids},on:{\"selectedInvoicingOption\":_vm.onSelectedInvoicingOption}}),(_vm.findJourney(2))?[_c('wizard-step-billing-report',{key:_vm.componentKeyForAccount,attrs:{\"id\":\"step-2\",\"ReportsForAllAccounts\":\"false\",\"WizardBaseStepTitle\":\"Billing reports for account\"}})]:_vm._e(),(_vm.findJourney(1))?[_c('wizard-step-billing-report',{key:_vm.componentKeyAllAccounts,attrs:{\"id\":\"step-1\",\"ReportsForAllAccounts\":\"true\",\"WizardBaseStepTitle\":\"Billing reports for all accounts\"}})]:_vm._e()]]:(_vm.getSelectedProduct=='Power')?[_c('b-col',{staticClass:\"mb-2\",attrs:{\"cols\":\"12\"}},[_c('b-card',{attrs:{\"body-class\":\"shadow\",\"border-variant\":\"gazprom-blue\"}},[_c('p',[_vm._v(\"Billing reports are unavailable for power accounts\")])])],1)]:_vm._e()],2),_c('help-and-support')],1)],1)],1):_vm._e(),_c('transition',{attrs:{\"name\":_vm.transitionName,\"mode\":\"out-in\"}},[_c('router-view',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.isExactActive),expression:\"!isExactActive\"}],ref:\"rv\"})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('wizard-base-step',{attrs:{\"id\":_vm.id,\"title\":\"Billing\",\"accordionGroupName\":\"billing-wizard\",\"visible\":_vm.visible}},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[[_c('b-button-group',[_c('b-button',{directives:[{name:\"b-toggle\",rawName:\"v-b-toggle\"}],staticClass:\"shadow\",attrs:{\"href\":'#'+_vm.next_step_id[0],\"variant\":_vm.setVariant(1),\"size\":\"md\"},on:{\"click\":function($event){$event.preventDefault();return _vm.onSelectedOptionChanged(1)}}},[_vm._v(\"For all accounts\"),(_vm.selectedOption===1)?_c('b-icon',{staticClass:\"ml-2\",attrs:{\"icon\":\"check2-circle\"}}):_vm._e()],1),_c('b-button',{directives:[{name:\"b-toggle\",rawName:\"v-b-toggle\"}],staticClass:\"shadow\",attrs:{\"href\":'#'+_vm.next_step_id[1],\"variant\":_vm.setVariant(2),\"size\":\"md\"},on:{\"click\":function($event){$event.preventDefault();return _vm.onSelectedOptionChanged(2)}}},[_vm._v(\"For account\"),(_vm.selectedOption===2)?_c('b-icon',{staticClass:\"ml-2\",attrs:{\"icon\":\"check2-circle\"}}):_vm._e()],1)],1)]],2)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('div',{staticClass:\"mt-2\"})])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Watch, Vue } from 'vue-property-decorator';\nimport WizardBaseStep from \"@/components/wizard/WizardBaseStep.vue\";\nimport { namespace } from 'vuex-class';\n\n@Component({\n components: {\n WizardBaseStep\n }\n})\nexport default class WizardStepBilling extends Vue {\n @Prop({ type: String, default: '' }) readonly id!: string;\n @Prop({ type: Array, default: '' }) readonly next_step_id!: string[];\n\n private selectedOption = 0;\n private visible = true; \n \n public setVariant(value) {\n if (this.selectedOption == value)\n return 'sefe-blue';\n else return 'outline-gazprom-blue';\n }\n\n onSelectedOptionChanged(value) {\n this.selectedOption = value;\n this.$emit(\"selectedInvoicingOption\", this.selectedOption);\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WizardStepBilling.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WizardStepBilling.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./WizardStepBilling.vue?vue&type=template&id=1c2ffe64&\"\nimport script from \"./WizardStepBilling.vue?vue&type=script&lang=ts&\"\nexport * from \"./WizardStepBilling.vue?vue&type=script&lang=ts&\"\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 null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('wizard-base-step',{attrs:{\"id\":_vm.id,\"title\":_vm.WizardBaseStepTitle,\"accordionGroupName\":\"billing-wizard\",\"visible\":_vm.visible}},[_c('b-overlay',{attrs:{\"show\":_vm.downloadingFile,\"rounded\":\"sm\",\"opacity\":\"0.53\",\"blur\":\"1rem\"},scopedSlots:_vm._u([{key:\"overlay\",fn:function(){return [_c('div',{staticClass:\"text-center p-4 bg-deep-blue text-light rounded bigOverlay\"},[_c('b-icon',{attrs:{\"icon\":\"download\",\"font-scale\":\"3\"}}),_c('div',{staticClass:\"mb-3\",attrs:{\"id\":\"invoicing-account-download-overlay\"}},[_vm._v(\"Please wait while your file is generated.\")]),_c('b-progress',{staticClass:\"mx-n4 rounded-0\",attrs:{\"min\":\"1\",\"max\":_vm.estimatedMaxDownloadSeconds,\"value\":_vm.downloadProgressCounter,\"variant\":\"success\",\"height\":\"3px\"}})],1)]},proxy:true}])},[_c('b-row',[_c('b-col',{staticClass:\"mb-2\",attrs:{\"cols\":\"12\",\"md\":\"12\",\"lg\":\"8\"}},[_c('b-card',{attrs:{\"body-class\":\"shadow\"}},[_c('b-form',{attrs:{\"id\":\"submit-billing-report-form\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.handleSubmitBillingReportRequest.apply(null, arguments)}}},[_c('b-form-row',[_c('b-col',[(_vm.IsReportsForAllAccounts)?[_c('p',{staticClass:\"text-left\"},[_vm._v(\"You can download all your Billing reports by choosing a date range within a year.\")])]:[_c('p',{staticClass:\"text-left\"},[_vm._v(\"You can configure your report by selecting the data you wish to see from the list below.\")])]],2)],1),_c('b-form-row',[_c('b-col',{attrs:{\"cols\":\"12\",\"lg\":\"4\"}},[_c('b-form-group',{attrs:{\"label-align\":\"left\",\"label-cols\":\"12\",\"label-class\":\"\",\"label-cols-lg\":\"12\",\"content-cols-sm\":\"\",\"content-cols-lg\":\"8\",\"id\":\"invoice-date-from-group\",\"label\":\"Invoice date from\",\"label-for\":\"invoice-date-from\"}},[_c('b-form-datepicker',{attrs:{\"placeholder\":\"dd/mm/yyyy\",\"form\":\"submit-billing-report-form\",\"id\":\"invoice-date-from\",\"name\":\"invoice-date-from\",\"menu-class\":\"shadow bg-deep-blue custom-calender rounded\",\"nav-button-variant\":\"gazprom-spark-blue\",\"selected-variant\":\"sefe-blue\",\"today-button-variant\":\"sefe-blue\",\"date-format-options\":{ year: 'numeric', month: 'numeric', day: 'numeric' },\"locale\":\"en-GB\"},on:{\"input\":function($event){return _vm.fromDateChanged()}},model:{value:(_vm.invoiceDateFrom),callback:function ($$v) {_vm.invoiceDateFrom=$$v},expression:\"invoiceDateFrom\"}}),_c('b-alert',{attrs:{\"variant\":\"danger\",\"show\":_vm.dateFromErrorMessage.length > 0}},[_vm._v(_vm._s(_vm.dateFromErrorMessage))])],1)],1),_c('b-col',{attrs:{\"cols\":\"12\",\"lg\":\"2\"}}),_c('b-col',{attrs:{\"cols\":\"12\",\"lg\":\"4\"}},[_c('b-form-group',{attrs:{\"label-align\":\"left\",\"label-cols\":\"12\",\"label-class\":\"\",\"label-cols-lg\":\"12\",\"content-cols-sm\":\"\",\"content-cols-lg\":\"8\",\"id\":\"invoice-date-to-group\",\"label\":\"Invoice date to\",\"label-for\":\"invoice-date-to\"}},[_c('b-form-datepicker',{attrs:{\"placeholder\":\"dd/mm/yyyy\",\"form\":\"submit-billing-report-form\",\"id\":\"invoice-date-to\",\"name\":\"invoice-date-to\",\"menu-class\":\"shadow bg-deep-blue custom-calender rounded\",\"nav-button-variant\":\"gazprom-spark-blue\",\"selected-variant\":\"sefe-blue\",\"today-button-variant\":\"sefe-blue\",\"date-format-options\":{ year: 'numeric', month: 'numeric', day: 'numeric' },\"locale\":\"en-GB\"},on:{\"input\":function($event){return _vm.toDateChanged()}},model:{value:(_vm.invoiceDateTo),callback:function ($$v) {_vm.invoiceDateTo=$$v},expression:\"invoiceDateTo\"}}),_c('b-alert',{attrs:{\"variant\":\"danger\",\"show\":_vm.dateToErrorMessage.length > 0}},[_vm._v(_vm._s(_vm.dateToErrorMessage))])],1)],1)],1),_c('b-form-row',[_c('b-col',{staticClass:\"text-left\",attrs:{\"cols\":\"12\",\"lg\":\"4\"}},[_c('span',{},[_vm._v(\"Available report data\")]),_c('b-icon',{staticClass:\"iconToRight\",attrs:{\"icon\":\"info-circle-fill\",\"variant\":\"gazprom-blue\",\"id\":\"available-report-data-tooltip\"}}),_c('b-tooltip',{attrs:{\"target\":\"available-report-data-tooltip\",\"title\":\"Available report data Tooltip\",\"triggers\":\"hover\",\"placement\":\"right\",\"variant\":\"sefe-blue\"}},[_vm._v(\" Please select the data you want to see in your report from the list below. You can select more than one data field by holding the CTRL key and clicking on the data fields you want. Once you have selected your data you must move it to the right box by using the single arrow (>) in between the two boxes. If you wish to select all available data fields simply press the double arrow (>>) in between the two boxes. \")])],1),_c('b-col',{attrs:{\"cols\":\"12\",\"lg\":\"2\"}}),_c('b-col',{staticClass:\"text-left\",attrs:{\"cols\":\"12\",\"lg\":\"4\"}},[_c('span',{},[_vm._v(\"Selected report data\")]),_c('b-icon',{staticClass:\"iconToRight\",attrs:{\"icon\":\"info-circle-fill\",\"variant\":\"gazprom-blue\",\"id\":\"selected-report-data-tooltip\"}}),_c('b-tooltip',{attrs:{\"target\":\"selected-report-data-tooltip\",\"title\":\"Selected report data Tooltip\",\"triggers\":\"hover\",\"placement\":\"right\",\"variant\":\"sefe-blue\"}},[_vm._v(\" Your report will be created from the data you select from the left and move to the right box. To remove any data fields you no longer need simply click on the field and use the single arrow (<) to remove single data fields or the double arrows (<<) to remove all the data fields. You can edit the order of the data selected by using the arrows to the right. \")])],1)],1),_c('b-form-row',[_c('b-col',{attrs:{\"cols\":\"12\",\"lg\":\"4\"}},[_c('b-form-select',{attrs:{\"options\":_vm.availableBillingReportFields,\"select-size\":10,\"multiple\":\"\"},model:{value:(_vm.currentlySelectedAvailableBillingReportFields),callback:function ($$v) {_vm.currentlySelectedAvailableBillingReportFields=$$v},expression:\"currentlySelectedAvailableBillingReportFields\"}})],1),_c('b-col',{attrs:{\"cols\":\"12\",\"lg\":\"2\"}},[_c('b-row',{staticClass:\"button-center\"},[_c('b-button',{staticClass:\"stackedButton\",attrs:{\"text-center\":\"\",\"variant\":\"gazprom-blue\"},on:{\"click\":_vm.addSelectedBillingFields}},[_vm._v(\">\")])],1),_c('b-row',{staticClass:\"button-center\"},[_c('b-button',{staticClass:\"stackedButton\",attrs:{\"text-center\":\"\",\"variant\":\"gazprom-blue\"},on:{\"click\":_vm.addAllBillingFields}},[_vm._v(\">>\")])],1),_c('b-row',{staticClass:\"button-center\"},[_c('b-button',{staticClass:\"stackedButton\",attrs:{\"text-center\":\"\",\"variant\":\"gazprom-blue\"},on:{\"click\":_vm.removeSelectedBillingFields}},[_vm._v(\"<\")])],1),_c('b-row',{staticClass:\"button-center\"},[_c('b-button',{staticClass:\"stackedButton\",attrs:{\"text-center\":\"\",\"variant\":\"gazprom-blue\"},on:{\"click\":_vm.removeAllBillingFields}},[_vm._v(\"<<\")])],1)],1),_c('b-col',{attrs:{\"cols\":\"12\",\"lg\":\"4\"}},[_c('b-form-select',{attrs:{\"options\":_vm.chosenBillingReportFields,\"select-size\":10,\"multiple\":\"\"},model:{value:(_vm.currentlySelectedChosenBillingReportFields),callback:function ($$v) {_vm.currentlySelectedChosenBillingReportFields=$$v},expression:\"currentlySelectedChosenBillingReportFields\"}}),_c('b-alert',{attrs:{\"variant\":\"danger\",\"show\":_vm.chosenBillingReportFieldsErrorMessage.length > 0}},[_vm._v(_vm._s(_vm.chosenBillingReportFieldsErrorMessage))])],1),_c('b-col',{attrs:{\"cols\":\"12\",\"lg\":\"2\"}},[_c('b-row',{staticClass:\"button-center\"},[_c('b-button',{staticClass:\"stackedButton\",attrs:{\"text-center\":\"\",\"variant\":\"gazprom-blue\"},on:{\"click\":_vm.moveSelectedFieldUp}},[_c('b-icon',{attrs:{\"icon\":\"arrow-up\"}})],1)],1),_c('b-row',{staticClass:\"button-center\"},[_c('b-button',{staticClass:\"stackedButton\",attrs:{\"text-center\":\"\",\"variant\":\"gazprom-blue\"},on:{\"click\":_vm.moveSelectedFieldDown}},[_c('b-icon',{attrs:{\"icon\":\"arrow-down\"}})],1)],1)],1)],1),_c('b-form-row',[_c('br'),_c('p',{staticClass:\"text-left\"},[_vm._v(\"Please select the data you want to see in your report from the list above and use the arrows to move the data to the right. Your report will be created from the data you select and move to the right box. You can edit the order of the data selected by using the arrows to the right. Please note the report covers all sites within an account.\")]),_c('b-col',{staticClass:\"text-right\",attrs:{\"cols\":\"12\"}},[_c('b-button',{attrs:{\"type\":\"submit\",\"variant\":\"gazprom-blue\"}},[_vm._v(\"Download \"),_c('b-icon',{staticClass:\"ml-2\",attrs:{\"icon\":\"cloud-arrow-down\"}})],1)],1)],1)],1)],1)],1)],1),(!_vm.IsReportsForAllAccounts)?_c('b-row',[_c('b-col',{staticClass:\"mb-2\",attrs:{\"cols\":\"12\",\"md\":\"12\",\"lg\":\"10\"}},[_c('b-card',{attrs:{\"body-class\":\"shadow card-border\"}},[_c('h4',{staticClass:\"text-left\"},[_vm._v(\"Previous reports log\")]),_c('p',{staticClass:\"text-left\"},[_vm._v(\" If you frequently use the same data fields on your reports, you can save time by copying the data selection used on previous reports. To do this simply find the report you wish to copy from the list below and click on ‘Copy data selection’. This will copy the data fields from that report and put them on the ‘Selected report data’ box above. To get your new report simply click on ‘Download report’. If you do not wish to keep a record of the data selection from previous reports, simply click ‘Delete’. \")]),(_vm.loading)?[_c('b-skeleton-table',{attrs:{\"rows\":10,\"columns\":5,\"stacked\":\"md\",\"table-props\":{ bordered: true, striped: true }}})]:[_c('div',{staticClass:\"text-center\"},[_c('b-table',{staticClass:\" mb-2\",attrs:{\"id\":\"generated-billing-reports-table\",\"tbody-tr-class\":\"text-center\",\"stacked\":\"md\",\"responsive\":\"\",\"striped\":\"\",\"hover\":\"\",\"items\":_vm.getBillingReports,\"fields\":_vm.billingReportTableColumns},scopedSlots:_vm._u([{key:\"cell(SelectedBillingReportOptionValues)\",fn:function(data){return [_c('div',{staticClass:\"d-flex flex-column justify-content-center\"},[_c('b-button',{staticClass:\"btn-outline-none\",attrs:{\"id\":data.item.Id,\"variant\":\"link\"},on:{\"click\":function($event){return _vm.copyDataSelectionClick(data.item.DataFields, data.item.InvoiceStartDate, data.item.InvoiceEndDate)}}},[_vm._v(\" Copy Data Selection \"),_c('b-icon',{staticClass:\"text-gazprom-deep-blue ml-2\",attrs:{\"icon\":\"clipboard-check\"}})],1)],1)]}},{key:\"cell(Delete)\",fn:function(data){return [_c('div',{staticClass:\"d-flex flex-column justify-content-center\"},[_c('b-button',{staticClass:\"btn-outline-none\",attrs:{\"id\":data.item.Id,\"variant\":\"link\"},on:{\"click\":function($event){return _vm.deleteGeneratedReport(data.item.Id)}}},[_vm._v(\" Delete \"),_c('b-icon',{staticClass:\"text-danger ml-2\",attrs:{\"icon\":\"x-circle\"}})],1)],1)]}}],null,false,1814594022)})],1)]],2)],1)],1):_vm._e()],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport WizardBaseStep from \"@/components/wizard/WizardBaseStep.vue\"\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport { namespace } from 'vuex-class';\nimport { IBillingReportRequestParams } from \"@/interfaces/billingReportRequestParams\";\nimport { IBillingReportRequestResponse } from \"@/interfaces/billingReportRequestResponse\";\nimport { IListItem } from \"@/interfaces/listItem\";\nimport moment from 'moment';\nimport ToastService from '@/services/toastService';\nimport { GtagHelper } from '../../../utilities/GtagHelper';\n\nconst Auth = namespace(\"Auth\");\nconst GasAccounts = namespace(\"GasAccounts\"); \nconst Billing = namespace(\"Billing\");\n\n@Component({\n components: {\n WizardBaseStep \n }\n})\nexport default class WizardStepBillingReport extends Vue {\n\n @Prop({ type: String, default: '' }) readonly id!: string;\n @Prop({ type: String, default: '' }) readonly WizardBaseStepTitle!: string;\n @Prop({ type: Boolean, default: false }) readonly visible!: boolean;\n @Prop({ type: String, default: false }) readonly ReportsForAllAccounts!: string;\n private IsReportsForAllAccounts = false;\n \n public unwatch: any;\n private loading = false;\n private downloadingFile = false;\n private intervalHandle: (number | null) = null;\n private estimatedMaxDownloadSeconds = 40;\n private downloadProgressCounter = 0;\n \n private invoiceDateFrom = '';\n\n private invoiceDateTo = '';\n\n private dateToErrorMessage = '';\n private dateFromErrorMessage = '';\n private chosenBillingReportFieldsErrorMessage = '';\n\n private GtagHelper = new GtagHelper();\n\n private billingReportRequestParams: IBillingReportRequestParams =\n {\n accountNumber: null,\n billingReportAvailableOptions: null,\n billingReportSelectedOptions: null,\n invoiceEndDate: null,\n invoiceStartDate: null,\n previousReportId: null,\n selectedBillingReportOptionValues: null,\n userId: null\n }\n\n public billingReportTableColumns = [\n {\n key: 'CreatedDate',\n label: 'Date report generated',\n formatter: this.formatDateTime\n },\n {\n key: 'InvoiceStartDate',\n label: 'Invoice date from',\n formatter: this.formatDate\n },\n {\n key: 'InvoiceEndDate',\n label: 'Invoice date to',\n formatter: this.formatDate\n },\n {\n key: 'SelectedBillingReportOptionValues',\n label: ''\n },\n {\n key: 'Delete',\n label: ''\n }];\n\n private currentlySelectedChosenBillingReportFields: string[]= [];\n\n private chosenBillingReportFields: IListItem[] = [];\n\n private currentlySelectedAvailableBillingReportFields: string[] = [];\n\n public availableBillingReportFields:IListItem[] = [\n {\n value: 'AccountNum',\n text: 'Account Number'\n },\n {\n value: 'InvoiceNum',\n text:'Invoice Number'\n },\n {\n value: 'ConsolidatedInvoiceNum',\n text: 'Consolidated Invoice Number'\n },\n {\n value: 'InvoiceType',\n text: 'Invoice Type'\n },\n {\n value: 'SiteRefNum',\n text: 'Site Ref Number'\n },\n {\n value: 'InvoiceDate',\n text: 'Invoice Date'\n },\n {\n value: 'MeterPoint',\n text: 'Meter Point'\n },\n {\n value: 'CorrFactor',\n text: 'Correction Factor'\n },\n {\n value: 'Cv',\n text: 'Calorific Value'\n },\n {\n value: 'Energy',\n text: 'Energy'\n },\n {\n value: 'UnitPrice',\n text: 'Unit Price'\n },\n {\n value: 'GasCost',\n text: 'Gas Cost'\n },\n {\n value: 'StandingCharge',\n text: 'Standing Charge'\n },\n {\n value: 'ScVat',\n text: 'SC VAT'\n },\n {\n value: 'CommVatContent',\n text: 'Commercial VAT Content'\n },\n {\n value: 'DomVatContent',\n text: 'Domestic VAT Content'\n },\n {\n value: 'Ccl',\n text: 'CCL'\n },\n {\n value: 'CclComVat',\n text: 'CCL Com VAT'\n },\n {\n value: 'Total',\n text: 'Total'\n },\n {\n value: 'SiteRefName',\n text: 'Site Ref Name'\n },\n {\n value: 'EndDate',\n text: 'End Date'\n },\n {\n value: 'Credited',\n text: 'Credited'\n },\n {\n value: 'CreditDate',\n text: 'Credit Date'\n },\n {\n value: 'MeterNum',\n text: 'Meter Number'\n },\n {\n value: 'Consumption',\n text: 'Consumption'\n },\n {\n value: 'CommPercentage',\n text: 'Comm Percentage'\n },\n {\n value: 'AddressLine1',\n text: 'Address Line1'\n },\n {\n value: 'AddressLine2',\n text: 'Address Line2'\n },\n {\n value: 'AddressLine3',\n text: 'Address Line3'\n },\n {\n value: 'AddressLine4',\n text: 'Address Line4'\n },\n {\n value: 'PostCode',\n text: 'Postcode'\n },\n {\n value: 'CurrentReading',\n text: 'Current Reading'\n },\n {\n value: 'CurrentType',\n text: 'Current Type'\n },\n {\n value: 'PreviousReading',\n text: 'Previous Reading'\n },\n {\n value: 'PreviousType',\n text: 'Previous Type'\n },\n {\n value: 'StartDate',\n text: 'Start Date'\n } \n ];\n \n @Auth.Getter\n private getUserId!: string;\n\n @GasAccounts.Getter\n private getSelectedAccount!: string;\n \n @Billing.Getter\n private getDownloadFileData!: { data: Blob | null, fileName: string | null };\n\n @Billing.Getter\n private getBillingReports!: IBillingReportRequestResponse[];\n\n\n @Billing.Action\n private fetchBillingReports!: (params: { userId: string, accountNumber: string }) => Promise;\n\n @Billing.Action\n private submitBillingReportRequest!: (params: IBillingReportRequestParams) => Promise;\n\n @Billing.Action\n private submitBillingReportForAllAccountsRequest!: (params: IBillingReportRequestParams) => Promise;\n\n @Billing.Action\n private removeGeneratedBillingReport!: (params: { userId: string, accountNumber: string, id: string }) => Promise;\n\n @GasAccounts.Mutation\n private setMprnSelectionDisabled!: (disabled: boolean) => void;\n\n @GasAccounts.Mutation\n private setAgreementSelectionDisabled!: (disabled: boolean) => void;\n\n @GasAccounts.Mutation\n private setAccountSelectionDisabled!: (disabled: boolean) => void;\n\n beforeMount() {\n this.IsReportsForAllAccounts = this.ReportsForAllAccounts == \"true\";\n }\n\n mounted() {\n if (!this.IsReportsForAllAccounts) {\n this.LoadBillingReportData();\n }\n\n if (this.IsReportsForAllAccounts) {\n this.setMprnSelectionDisabled(true);\n this.setAgreementSelectionDisabled(true);\n this.setAccountSelectionDisabled(true);\n } else {\n this.setMprnSelectionDisabled(true);\n this.setAgreementSelectionDisabled(true);\n }\n }\n\n beforeDestroy() {\n this.setMprnSelectionDisabled(false);\n this.setAgreementSelectionDisabled(false);\n this.setAccountSelectionDisabled(false);\n this.unwatch();\n }\n\n private fileProcess() {\n\n if (this.getDownloadFileData == null) {\n return null;\n }\n\n var fileName = this.getDownloadFileData.fileName;\n\n if (window.navigator && window.navigator.msSaveBlob) {\n window.navigator.msSaveBlob((this.getDownloadFileData.data) as Blob, fileName as string);\n } else {\n var fileURL = window.URL.createObjectURL((this.getDownloadFileData.data) as Blob);\n var fileLink = document.createElement('a');\n fileLink.href = fileURL;\n fileLink.setAttribute('download', fileName as string);\n document.body.appendChild(fileLink);\n fileLink.click();\n }\n\n this.GtagHelper.Event(\"LumiDownloadBillingReport\", this.getUserId);\n }\n\n addSelectedBillingFields() { \n\n this.currentlySelectedAvailableBillingReportFields.forEach(selectedValue => {\n \n this.selectBillingField(selectedValue);\n })\n \n this.currentlySelectedAvailableBillingReportFields = [];\n\n if (this.chosenBillingReportFields.length > 0) {\n this.chosenBillingReportFieldsErrorMessage = '';\n }\n }\n\n\n selectBillingField(selectedValue: string) {\n\n var selectedItem: (IListItem | null) = null;\n\n this.availableBillingReportFields.forEach(availableField => {\n\n if (availableField.value === selectedValue) {\n selectedItem = availableField;\n }\n\n });\n\n if (selectedItem !== null) {\n\n this.chosenBillingReportFields.push(selectedItem);\n\n var index = this.availableBillingReportFields.indexOf(selectedItem);\n if (index !== -1) {\n this.availableBillingReportFields.splice(index, 1);\n }\n }\n }\n\n addAllBillingFields() {\n this.chosenBillingReportFields = this.chosenBillingReportFields.concat(this.availableBillingReportFields);\n \n this.availableBillingReportFields = [];\n this.currentlySelectedAvailableBillingReportFields = [];\n\n if (this.chosenBillingReportFields.length > 0) {\n this.chosenBillingReportFieldsErrorMessage = '';\n }\n\n }\n\n removeAllBillingFields() {\n this.availableBillingReportFields = this.availableBillingReportFields.concat(this.chosenBillingReportFields);\n\n this.chosenBillingReportFields = [];\n this.currentlySelectedAvailableBillingReportFields = [];\n\n }\n\n removeSelectedBillingFields() {\n\n this.currentlySelectedChosenBillingReportFields.forEach(selectedValue => {\n\n var selectedItem: (IListItem | null) = null;\n\n this.chosenBillingReportFields.forEach(chosenField => {\n\n if (chosenField.value === selectedValue) {\n selectedItem = chosenField;\n }\n\n });\n\n if (selectedItem !== null) {\n\n this.availableBillingReportFields.push(selectedItem);\n\n var index = this.chosenBillingReportFields.indexOf(selectedItem);\n if (index !== -1) {\n this.chosenBillingReportFields.splice(index, 1);\n }\n }\n })\n\n this.currentlySelectedChosenBillingReportFields = [];\n }\n\n // taken from stack overflow\n array_move(arr, old_index, new_index) {\n if (new_index >= arr.length) {\n var k = new_index - arr.length + 1;\n while (k--) {\n arr.push(undefined);\n }\n }\n arr.splice(new_index, 0, arr.splice(old_index, 1)[0]);\n return arr;\n }\n\n moveSelectedFieldUp() {\n this.moveSelectedField(true);\n }\n\n moveSelectedFieldDown() {\n this.moveSelectedField(false); \n }\n\n moveSelectedField(moveUp: boolean) {\n this.currentlySelectedChosenBillingReportFields.forEach(selectedValue => {\n\n var selectedItem: (IListItem | null) = null;\n\n this.chosenBillingReportFields.forEach(chosenField => {\n\n if (chosenField.value === selectedValue) {\n selectedItem = chosenField;\n }\n\n });\n\n if (selectedItem !== null) { \n\n var index = this.chosenBillingReportFields.indexOf(selectedItem);\n\n if (moveUp) {\n\n if (index != 0) {\n this.array_move(this.chosenBillingReportFields, index, index - 1);\n }\n }\n else { // moveDown\n if (index < this.chosenBillingReportFields.length -1 ) {\n this.array_move(this.chosenBillingReportFields, index, index + 1);\n }\n }\n }\n }) \n }\n\n fromDateChanged() {\n this.dateFromErrorMessage = '';\n }\n\n toDateChanged() {\n this.dateToErrorMessage = '';\n }\n\n private generateBillingReportFieldsString() : string {\n var billingReportFields = \"\";\n\n this.chosenBillingReportFields.forEach(chosenField => {\n\n billingReportFields += chosenField.value + \",\";\n });\n\n if (billingReportFields.length > 0) {\n billingReportFields = billingReportFields.slice(0, -1);\n }\n\n return billingReportFields;\n }\n\n private customValidation() : boolean {\n\n var validationPassed = true;\n\n this.dateToErrorMessage = '';\n this.dateFromErrorMessage = '';\n this.chosenBillingReportFieldsErrorMessage = '';\n \n if (this.invoiceDateTo == '') {\n this.dateToErrorMessage = \"Date is required\";\n validationPassed = false;\n }\n\n if (this.invoiceDateFrom == '') {\n this.dateFromErrorMessage = \"Date is required\";\n validationPassed = false;\n }\n\n var fromDate = moment(this.invoiceDateFrom);\n var toDate = moment(this.invoiceDateTo);\n var currentDate = moment();\n \n if (fromDate.isAfter(toDate)) {\n this.dateToErrorMessage = \"Invoice date to is earlier than Invoice date from\";\n validationPassed = false;\n }\n\n if (toDate.isAfter(currentDate)) {\n this.dateToErrorMessage = \"This date is in the future, please select an earlier date\";\n validationPassed = false;\n }\n\n \n if (this.IsReportsForAllAccounts && (fromDate.add(1, 'years') < toDate)) {\n this.dateToErrorMessage = \"Date range cannot be greater than 12 months\";\n validationPassed = false;\n } \n\n if (this.chosenBillingReportFields.length == 0) {\n this.chosenBillingReportFieldsErrorMessage = 'Report data is required';\n validationPassed = false;\n }\n\n\n return validationPassed;\n\n }\n\n public handleSubmitBillingReportRequest(): void {\n\n if (!this.customValidation()) {\n return;\n }\n\n this.showDownloadIndictator();\n\n try {\n\n var previousReportId: (string | null) = \"\";\n\n if (this.getBillingReports != null && this.getBillingReports.length > 0) {\n previousReportId = this.getBillingReports[0].id;\n }\n\n this.billingReportRequestParams.accountNumber = this.getSelectedAccount;\n this.billingReportRequestParams.userId = this.getUserId;\n this.billingReportRequestParams.selectedBillingReportOptionValues = this.generateBillingReportFieldsString();\n this.billingReportRequestParams.invoiceStartDate = moment(this.invoiceDateFrom).toDate();\n this.billingReportRequestParams.invoiceEndDate = moment(this.invoiceDateTo).toDate();\n this.billingReportRequestParams.previousReportId = previousReportId;\n\n if (this.IsReportsForAllAccounts) {\n this.submitBillingReportForAllAccountsRequest(this.billingReportRequestParams).then(() => {\n this.downloadingFile = false;\n\n this.fileProcess();\n }, (error) => {\n this.downloadingFile = false;\n console.error(error);\n })\n } else {\n this.submitBillingReportRequest(this.billingReportRequestParams).then(() => {\n //var result = this.getBillingReportRequestResponse;\n this.downloadingFile = false;\n\n this.fileProcess();\n this.LoadBillingReportData();\n\n }, (error) => {\n this.downloadingFile = false;\n console.error(error);\n })\n }\n } catch (error) {\n this.downloadingFile = false;\n console.error(error);\n }\n\n }\n \n \n public async LoadBillingReportData() {\n\n this.loading = true; \n\n await this.fetchBillingReports({ accountNumber: this.getSelectedAccount,userId: this.getUserId }).then(() => {\n\n this.loading = false;\n \n }).catch(reason => {\n this.loading = false;\n console.error(reason);\n });\n }\n\n private showDownloadIndictator() {\n this.downloadingFile = true;\n this.intervalHandle = setInterval(() => {\n if (this.downloadingFile && this.downloadProgressCounter < this.estimatedMaxDownloadSeconds) {\n this.downloadProgressCounter++;\n }\n }, 1000);\n }\n \n private formatDate(value: Date): string {\n \n return moment(value).format('DD/MM/YYYY');\n }\n\n private formatDateTime(value: Date): string {\n\n return moment(value).format('DD/MM/YYYY HH:mm');\n }\n\n private copyDataSelectionClick(fieldsList:string,invoiceStartDate: string,invoiceEndDate:string) {\n\n\n\n this.removeAllBillingFields();\n this.currentlySelectedAvailableBillingReportFields = [];\n\n var fields = fieldsList.split(\",\");\n\n fields.forEach(selectedField =>\n {\n this.selectBillingField(selectedField);\n });\n\n if (this.chosenBillingReportFields.length > 0) {\n this.chosenBillingReportFieldsErrorMessage = '';\n }\n\n this.invoiceDateFrom = invoiceStartDate;\n this.invoiceDateTo = invoiceEndDate;\n }\n\n private deleteGeneratedReport(id) {\n \n this.removeGeneratedBillingReport({ userId: this.getUserId, accountNumber: this.getSelectedAccount, id: id }).then(() => { \n this.LoadBillingReportData();\n });\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WizardStepBillingReport.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WizardStepBillingReport.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./WizardStepBillingReport.vue?vue&type=template&id=a316b3de&\"\nimport script from \"./WizardStepBillingReport.vue?vue&type=script&lang=ts&\"\nexport * from \"./WizardStepBillingReport.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./WizardStepBillingReport.vue?vue&type=style&index=0&lang=scss&\"\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 null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Watch, Vue } from \"vue-property-decorator\";\nimport BasePage from \"@/components/pages/BasePage.vue\";\nimport BaseWizard from \"@/components/wizard/BaseWizard.vue\";\nimport WizardStepBilling from \"@/components/wizard/billing/WizardStepBilling.vue\";\nimport WizardStepBillingReport from \"@/components/wizard/billing/WizardStepBillingReport.vue\";\nimport HelpAndSupport from \"@/components/HelpAndSupport.vue\";\n\nimport { JourneyNode } from '@/utilities/JourneyNode';\nimport { namespace } from 'vuex-class';\n\n\nconst Products = namespace(\"Products\");\nconst BillingWizard = namespace(\"BillingWizard\");\nconst GasAccounts = namespace(\"GasAccounts\");\nconst Auth = namespace(\"Auth\");\n\n\n@Component({\n components: {\n BasePage,\n BaseWizard,\n WizardStepBilling,\n WizardStepBillingReport,\n HelpAndSupport\n },\n})\nexport default class Billing extends Vue {\n private isExactActive = false;\n private watchProductSelection: any;\n private watchGasAccountSelection: any;\n private watchPowerAccountSelection: any;\n private componentKey = 0;\n private componentKeyForAccount = \"Account\";\n private componentKeyAllAccounts = \"AllAccounts\";\n private transitionName = 'fade';\n\n private next_step_ids = ['step-1', 'step-2'];\n\n @Watch('$route.path', { immediate: true, deep: true })\n onUrlChange(to: string, from: string) {\n if (to == null || to == undefined) {\n this.transitionName = 'fade';\n return;\n }\n const toDepth = to.split('/').length\n const fromDepth = from?.split('/').length\n this.transitionName = toDepth < fromDepth ? 'slide-right' : 'slide-left';\n }\n\n @Watch('$route.query', { immediate: true })\n onQueryChange(newValue: any, oldValue: any) {\n console.log(\"query new Value\", newValue);\n }\n\n @BillingWizard.Getter\n private getRootJourney!: JourneyNode | null;\n\n @BillingWizard.Action\n private resetJourneyNode!: () => Promise;\n\n @BillingWizard.Action\n private initJourneyNode!: (option: number) => Promise;\n\n @BillingWizard.Action\n private appendJourneyToJourneyNode!: (option: number) => Promise;\n\n @Products.Getter\n private getSelectedProduct!: string;\n\n @GasAccounts.Getter\n private isSass!: boolean;\n\n @GasAccounts.Getter\n private isSams!: boolean;\n\n @Auth.Getter\n private isGazpromAdmin!: boolean;\n\n public async onSelectedInvoicingOption(option: number) {\n await this.initJourneyNode(option);\n }\n\n public async onSelectedLatestInvoicesOption(option: number) {\n await this.appendJourneyToJourneyNode(option);\n }\n\n public findJourney(option: number): boolean {\n let root = this.getRootJourney;\n if (root !== null) {\n while (root !== null) {\n if ((root as JourneyNode).Value == option) {\n return true;\n }\n root = (root as JourneyNode).Next;\n }\n }\n return false;\n }\n\n updated() {\n this.isExactActive = typeof this.$refs.rv === 'undefined';\n }\n\n mounted() {\n this.isExactActive = typeof this.$refs.rv === 'undefined';\n this.resetJourneyNode();\n try {\n\n this.watchGasAccountSelection = this.$store.watch((state, getters) => getters[\"GasAccounts/getSelectedAccount\"], (newValue, oldValue) => {\n if (newValue === null || newValue === oldValue) {\n return;\n }\n this.resetJourneyNode();\n this.forceRerender();\n });\n\n this.watchPowerAccountSelection = this.$store.watch((state, getters) => getters[\"PowerAccounts/getSelectedGroupAccount\"], (newValue, oldValue) => {\n if (newValue === null || newValue === oldValue) {\n return;\n }\n this.resetJourneyNode();\n this.forceRerender();\n });\n\n this.watchProductSelection = this.$store.watch((state, getters) => getters[\"Products/getSelectedProduct\"], (newValue, oldValue) => {\n if (newValue === null || newValue === oldValue) {\n return;\n }\n this.resetJourneyNode();\n this.forceRerender();\n });\n\n } catch (e) {\n\n console.error(e);\n }\n\n }\n\n forceRerender() {\n this.componentKey += 1\n }\n\n beforeDestroy() {\n this.watchProductSelection();\n this.watchGasAccountSelection();\n this.watchPowerAccountSelection();\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Billing.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Billing.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Billing.vue?vue&type=template&id=6ed25992&\"\nimport script from \"./Billing.vue?vue&type=script&lang=ts&\"\nexport * from \"./Billing.vue?vue&type=script&lang=ts&\"\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 null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"accordion\",attrs:{\"role\":\"tablist\"}},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\nimport { namespace } from 'vuex-class';\n\n@Component\nexport default class BaseWizard extends Vue {\n\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BaseWizard.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BaseWizard.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./BaseWizard.vue?vue&type=template&id=bd77665e&\"\nimport script from \"./BaseWizard.vue?vue&type=script&lang=ts&\"\nexport * from \"./BaseWizard.vue?vue&type=script&lang=ts&\"\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 null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-row',[_c('b-col',{staticClass:\"mt-2\",attrs:{\"cols\":\"12\",\"sm\":\"8\",\"md\":\"8\",\"lg\":\"6\"}},[(_vm.invoicingView)?[_c('div',{staticClass:\"d-flex flex-column justify-content-center m-2\"},[_c('h6',{staticClass:\"text-left text-underlined gazprom-blue\"},[_c('b-icon',{staticClass:\"mr-1 text-gazprom-blue\",attrs:{\"icon\":\"info-circle\"}}),_c('b-link',{attrs:{\"href\":\"https://www.sefe-energy.co.uk/help-and-support/bills-payments/how-to-understand-your-bills/\",\"target\":\"_blank\"}},[_vm._v(\"How to understand your invoice\")])],1)]),_c('div',{staticClass:\"d-flex flex-column justify-content-center m-2\"},[_c('h6',{staticClass:\"text-left text-underlined\"},[_vm._v(\"Protect yourself from phishing\")]),_c('p',{staticClass:\"text-left\"},[_vm._v(\" It’s important to always stay alert when it comes to phishing attempts. Please note our company details have not changed, including our bank or contact details and there are no account changes planned. If you receive a request to change bank details, then please verify the legitimacy of the email through an additional reliable contact. This could be through your account manager or the customer service team. \")])]),(_vm.getSelectedProduct === 'Power')?[_c('div',{staticClass:\"d-flex flex-column justify-content-center m-2\"},[_c('span',{staticClass:\"text-left\"},[_c('b-link',{attrs:{\"href\":\"https://www.sefe-energy.co.uk/media/7430/sefe-how-to-understand-your-monthly-electricity-invoice-nhh.pdf\",\"target\":\"_blank\"}},[_vm._v(\"Click here to view a non-half-hourly (NHH) invoice guide (standard contracts)\")])],1),_c('p',{staticClass:\"text-left\"},[_c('b-link',{attrs:{\"href\":\"https://www.sefe-energy.co.uk/media/7406/monthly-hh-invoice.pdf\",\"target\":\"_blank\"}},[_vm._v(\"Click here to view a half-hourly (HH) invoice guide (larger consumption contracts)\")])],1)])]:_vm._e(),_c('div',{staticClass:\"d-flex flex-column justify-content-center m-2\"},[_c('h6',{staticClass:\"text-left text-underlined\"},[_vm._v(\"My invoice is missing\")]),_c('p',{staticClass:\"text-left\"},[_vm._v(\"Your invoice may be in the process of being generated, however if you are experiencing issues please contact our customer services team on 0161 837 3395\")])]),_c('div',{staticClass:\"d-flex flex-column justify-content-center m-2\"},[_c('h6',{staticClass:\"text-left text-underlined\"},[_vm._v(\"What should I do if my invoice is incorrect?\")]),_c('p',{staticClass:\"text-left\"},[_vm._v(\"The easiest way to ensure you’re paying the right amount for business energy is to submit regular meter readings to us. \"),_c('a',{attrs:{\"href\":\"/metering\"}},[_vm._v(\"Submit a \"+_vm._s(_vm.productText)+\" meter reading here.\")])])]),(_vm.getSelectedProduct === 'Gas')?[_c('div',{staticClass:\"d-flex flex-column justify-content-center m-2\"},[_c('p',{staticClass:\"text-left\"},[_vm._v(\" Ensure your \"),_c('router-link',{attrs:{\"to\":{name: 'ManageAccount', query: { id: 'siteaddress'}},\"target\":\"_blank\"}},[_vm._v(\"site address\")]),_vm._v(\" and \"),_c('router-link',{attrs:{\"to\":{name: 'ManageAccount', query: { id: 'billingdetails'}},\"target\":\"_blank\"}},[_vm._v(\"billing details\")]),_vm._v(\" are correct.\")],1)])]:_vm._e(),_c('div',{staticClass:\"d-flex flex-column justify-content-center m-2\"},[_c('p',{staticClass:\"text-left\"},[_vm._v(\"Still not resolved the issue? \"),_c('a',{attrs:{\"href\":\"https://www.sefe-energy.co.uk/help-and-support/bills-payments/how-to-check-if-your-bill-is-correct/#what-if-energy-bills-incorrect\",\"target\":\"_blank\"}},[_vm._v(\"Check out our Help and Support page\")])])])]:_vm._e(),(_vm.meteringView)?[_c('div',{staticClass:\"d-flex flex-column justify-content-center m-2\"},[_c('h6',{staticClass:\"text-left text-underlined gazprom-blue\"},[_c('b-icon',{staticClass:\"mr-1 text-gazprom-blue\",attrs:{\"icon\":\"info-circle\"}}),_c('b-link',{attrs:{\"href\":\"https://www.sefe-energy.co.uk/help-and-support/metering/meter-readings/\",\"target\":\"_blank\"}},[_vm._v(\"Need help with metering?\")])],1),_c('p',{staticClass:\"text-left\"},[_vm._v(\"Visit our help and support site online\")])]),_c('div',{staticClass:\"d-flex flex-column justify-content-center m-2\"},[_c('h6',{staticClass:\"text-left text-underlined\"},[_vm._v(\" Why can’t I see my submitted readings? \")]),_c('p',{staticClass:\"text-left\"},[_vm._v(\"The meter readings displayed in this table reflect the billed readings and not the submitted readings. Estimated readings will be used if you submit your meter readings outside of the 25th- 5th time window.\")])])]:_vm._e(),(_vm.consumptionView)?[_c('div',{staticClass:\"d-flex flex-column justify-content-center m-2\"},[_c('h6',{staticClass:\"text-left text-underlined\"},[_vm._v(\" Why is some of my data missing? \")]),_c('p',{staticClass:\"text-left\"},[_vm._v(\"Occasionally, smart meter technology issues can disrupt data collection, leading to gaps in your energy usage graphs. In certain cases, you will be notified if we need you to submit a meter reading manually to ensure that your bill is accurate for the energy you use.\")])]),(_vm.getSelectedProduct === 'Gas')?[_c('div',{staticClass:\"d-flex flex-column justify-content-center m-2\"},[_c('h6',{staticClass:\"text-left text-underlined\"},[_vm._v(\" What does consumption mean? \")]),_c('p',{staticClass:\"text-left\"},[_vm._v(\"\\\"Consumption\\\" is the number of units used and is calculated by subtracting the new meter reading from the previous reading. It represents the total gas consumed over a specified period, which is later converted to kWh to calculate your gas bills and monitor your gas usage patterns.\")])])]:_vm._e(),_c('div',{staticClass:\"d-flex flex-column justify-content-center m-2\"},[_c('h6',{staticClass:\"text-left text-underlined\"},[_vm._v(\" Why can I only see data for 0:00 or a single day of the month? \")]),_c('p',{staticClass:\"text-left\"},[_vm._v(\" If you are seeing data limited to 0:00 or a single day of the month there may be some issues with your smart meter or AMR readings. Please contact us at \"),_c('a',{attrs:{\"href\":\"mailto:amr@sefe-energy.com\"}},[_vm._v(\"amr@sefe-energy.com\")]),_vm._v(\" and we will look in to this for you. \")])])]:_vm._e()],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\nimport { namespace } from 'vuex-class';\n\nconst Products = namespace(\"Products\");\nconst GasAccounts = namespace(\"GasAccounts\");\nconst Auth = namespace(\"Auth\");\n\n@Component\nexport default class HelpAndSupport extends Vue {\n\n @Products.Getter\n private getSelectedProduct!: string;\n\n @GasAccounts.Getter\n private getSelectedSiteRefNumber!: string;\n\n @GasAccounts.Getter\n private getSelectedAccount!: string;\n\n @Auth.Getter\n private getPortalAuthTokenUrl!: string;\n\n private watchProductSelection: any;\n private watchAccountSelection: any;\n private watchGasAgreementSelection: any;\n\n private productText = \"gas\";\n\n private invoicingView = false;\n private meteringView = false;\n private consumptionView = false;\n\n private siteAddressUrl = \"\";\n private billingAddressUrl = \"\";\n\n private refreshHelpAndSupport(): void {\n\n const routeName = this.$route.name;\n\n if (routeName === 'Metering') {\n this.meteringView = true;\n this.invoicingView = false;\n this.consumptionView = false;\n } else if (routeName === 'Invoicing') {\n this.invoicingView = true;\n this.meteringView = false;\n this.consumptionView = false;\n } else if (routeName === 'Consumption') {\n this.consumptionView = true;\n this.invoicingView = false;\n this.meteringView = false;\n \n }\n\n if (this.getSelectedProduct == \"Power\") {\n this.productText = \"power\";\n }\n else {\n this.productText = \"gas\";\n\n this.setManageAccountLinks();\n }\n }\n\n private setManageAccountLinks() {\n\n let portalUrl = this.getPortalAuthTokenUrl;\n\n portalUrl = `${portalUrl}&accountNum=${this.getSelectedAccount}&siteRefNum=${this.getSelectedSiteRefNumber}`;\n\n this.siteAddressUrl = `${portalUrl}&chosenController=Site&chosenAction=Address`;\n this.billingAddressUrl = `${portalUrl}&chosenController=Billing&chosenAction=ChangeAddress`;\n\n }\n\n async mounted() {\n\n this.refreshHelpAndSupport();\n\n this.watchProductSelection = this.$store.watch((state, getters) => getters[\"Products/getSelectedProduct\"], (newValue, oldValue) => {\n if (newValue === null || newValue === oldValue) {\n return;\n }\n\n this.refreshHelpAndSupport();\n\n });\n\n\n this.watchAccountSelection = this.$store.watch((state, getters) => getters[\"GasAccounts/getSelectedAccount\"], (newValue, oldValue) => {\n if (newValue === null || newValue === oldValue) {\n return;\n }\n\n this.refreshHelpAndSupport();\n });\n\n\n this.watchGasAgreementSelection = this.$store.watch((state, getters) => getters[\"GasAccounts/getSelectedSiteRefNumber\"], (newValue, oldValue) => {\n if (newValue === null || newValue === oldValue) {\n return;\n }\n\n this.refreshHelpAndSupport();\n });\n\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HelpAndSupport.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HelpAndSupport.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./HelpAndSupport.vue?vue&type=template&id=9fdc6f12&\"\nimport script from \"./HelpAndSupport.vue?vue&type=script&lang=ts&\"\nexport * from \"./HelpAndSupport.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./HelpAndSupport.vue?vue&type=style&index=0&lang=scss&\"\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 null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HelpAndSupport.vue?vue&type=style&index=0&lang=scss&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WizardStepBillingReport.vue?vue&type=style&index=0&lang=scss&\""],"sourceRoot":""}