{"version":3,"sources":["webpack:///./src/views/approverResponse/ApproverRequestDetails.vue?fc1a","webpack:///./src/views/approverResponse/ApproverRequestDetails.vue?8749","webpack:///./src/views/approverResponse/ApproverRequestDetails.vue","webpack:///./src/views/approverResponse/ApproverRequestDetails.vue?996e","webpack:///./src/views/approverResponse/ApproverRequestDetails.vue?c9a3","webpack:///./src/views/quotes/QuoteDetails.vue?86b5","webpack:///./src/views/approverResponse/ApproverRequestDetails.vue?f2a2","webpack:///../../../src/components/VGrid/grid.ts","webpack:///../../../src/components/VGrid/VContainer.ts","webpack:///../../../src/components/VCheckbox/VCheckbox.ts","webpack:///./src/components/StartEndDate.vue?b43d","webpack:///./src/views/quotes/QuoteDetails.vue?e70d","webpack:///./src/views/quotes/QuoteDetails.vue","webpack:///./src/views/quotes/QuoteDetails.vue?5395","webpack:///./src/views/quotes/QuoteDetails.vue?8535","webpack:///./src/components/StartEndDate.vue?07d7","webpack:///./src/components/StartEndDate.vue","webpack:///./src/components/StartEndDate.vue?59f1","webpack:///./src/components/StartEndDate.vue?8542"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","staticStyle","_v","_s","$t","directives","name","rawName","value","expression","on","$event","$$selectedVal","Array","prototype","filter","call","target","options","o","selected","map","val","_value","selectedLang","multiple","changeLang","_l","lang","key","code","domProps","staticClass","approverRequestLoading","approverRequest","title","createdDate","_e","expirationDate","DownloadFile","attachedFilePath","category","description","model","callback","$$v","reason","saving","approveDialog","rejectDialog","requestApproval","staticRenderFns","auth","namespace","ApproverRequestDetails","Vue","constructor","approverResponse","token","locales","created","localStorage","getItem","$router","back","getApprovalRequest","setItem","location","reload","ApprovalRequestsApiService","getApprovalRequestForApprover","then","res","DateService","formatTableDateString","undefined","catch","err","Toast","error","push","finally","filePath","console","log","getDocument","filesPaths","forEach","url","window","open","IsApproved","approvalRequestStatusId","approvalRequestStatuses","id","toString","status","ApprovalRequestState","Rejected","Approved","saveResponse","saveApproverResponse","success","__decorate","Getter","AUTHED","Component","components","ConfirmDialog","LoadingSpinner","component","VBtn","VCol","VContainer","VDialog","VRow","VTextarea","VGrid","extend","functional","props","String","tag","type","default","h","data","children","trim","classes","Object","keys","startsWith","length","join","Grid","fluid","Boolean","mergeData","class","concat","Selectable","indeterminate","indeterminateIcon","offIcon","onIcon","inputIndeterminate","computed","VInput","computedIcon","isActive","validationState","isDisabled","hasError","shouldValidate","hasSuccess","hasColor","computedColor","watch","$nextTick","$emit","methods","genCheckbox","VIcon","setTextColor","dense","dark","light","genInput","attrs$","genRipple","rippleState","genDefaultSlot","genLabel","buyerRequestLoading","buyerRequest","buyerRequestName","startDate","endDate","itemHeaders","disablePagination","disableItemsPerPage","itemQuotes","scopedSlots","_u","fn","ref","item","onUnitPriceChange","$set","slot","isMobile","totalCost","getTaxTypeText","calculateTotals","vat","totalVat","currencyCode","totalCostVat","q","order","text","questionAnswers","buyerName","terms","termsLink","usePolicyLinks","policiesAgreed","handleFileChange","quotationLetter","openFileSelection","addMoreFiles","files","comments","submitting","submitQuotation","declineQuotationDialog","declineQuotation","QuoteDetails","BuyerRequestState","taxType","TaxType","VAT","declining","getBuyerRequest","TaxTypeService","getText","$vuetify","breakpoint","QuotationsApiService","quotationId","answers","termsAccepted","vatPercentage","authed","removeItem","replace","parseFloat","x","cost","reduce","a","b","toFixed","quantity","unitPrice","buyerRequestId","$route","params","getQuotationsForSupplier","questions","sort","y","answer","items","setItemHeaders","newFiles","from","file","includes","fileInput","$refs","click","sortable","align","width","StartEndDate","PolicyDisplay","VCheckbox","VDataTable","VFileInput","VTextField","formattedStartDate","formattedEndDate","onStartDateChange","newVal","formatDateString","onEndDateChange","Prop","Watch"],"mappings":"iHAAA,yBAAugB,EAAG,G,gECA1gB,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,cAAc,CAACE,MAAM,CAAC,MAAQ,KAAK,CAACF,EAAG,MAAM,CAACA,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ader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApproverRequestDetails.vue?vue&type=style&index=1&id=14fb3066&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApproverRequestDetails.vue?vue&type=style&index=1&id=14fb3066&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{attrs:{\"fluid\":\"\"}},[_c('div',[_c('div',{staticStyle:{\"float\":\"right\"}},[_c('label',{staticStyle:{\"padding-right\":\"0.5rem\"},attrs:{\"for\":\"language-select\"}},[_vm._v(_vm._s(_vm.$t('Languages')))]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedLang),expression:\"selectedLang\"}],staticStyle:{\"border-radius\":\"25px 25px\",\"text-align\":\"center\"},attrs:{\"id\":\"language-select\"},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.selectedLang=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},_vm.changeLang]}},_vm._l((_vm.locales),function(lang){return _c('option',{key:lang.code,domProps:{\"value\":lang.code}},[_vm._v(_vm._s(lang.name))])}),0)]),_c('div',[_c('v-row',[_c('v-col',{staticStyle:{\"margin-left\":\"2rem\",\"text-align\":\"center\"}},[_c('h1',[_vm._v(_vm._s(_vm.$t('ApproverRequestDetails.RequestForApproval')))])])],1)],1),_c('div',{staticClass:\"header-divider\"}),(!_vm.approverRequestLoading && _vm.approverRequest)?[_c('div',[_c('v-row',[_c('div',{staticClass:\"col-md\"},[_c('v-row',[_c('v-col',{staticClass:\"d-flex align-center flex-wrap\",staticStyle:{\"margin-left\":\"1.5rem\",\"margin-right\":\"1.5rem\"}},[_c('h2',[_vm._v(_vm._s(_vm.approverRequest.title))]),(!_vm.approverRequestLoading && _vm.approverRequest)?_c('div',{staticClass:\"d-flex align-center\"},[_c('div',{staticClass:\"header-details pl-16\"},[_c('div',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s(_vm.$t('ApprovalRequestsPage.CreatedDate')))]),_c('div',{},[_vm._v(_vm._s(_vm.approverRequest.createdDate))])])]):_vm._e(),(!_vm.approverRequestLoading && _vm.approverRequest)?_c('div',{staticClass:\"d-flex align-center\"},[_c('div',{staticClass:\"header-details pl-16\"},[_c('div',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s(_vm.$t('ApprovalRequestsPage.ExpirationDate')))]),_c('div',{},[_vm._v(_vm._s(_vm.approverRequest.expirationDate))])])]):_vm._e()])],1),(_vm.approverRequest.attachedFilePath)?_c('div',[_c('v-row',[_c('v-col',{staticStyle:{\"margin-left\":\"1.5rem\",\"margin-right\":\"1.5rem\",\"margin-top\":\"1.5rem\"}},[_c('h4',[_vm._v(_vm._s(_vm.$t('ApproverRequestDetails.AttachedFile')))])])],1),_c('v-row',[_c('v-col',{staticStyle:{\"margin-left\":\"1.5rem\",\"margin-right\":\"1.5rem\"}},[_c('span',{staticClass:\"mdi mdi-36px mdi-file-document-outline\"}),_c('a',{staticStyle:{\"font-size\":\"large\"},on:{\"click\":function($event){return _vm.DownloadFile(_vm.approverRequest.attachedFilePath)}}},[_vm._v(\" \"+_vm._s(_vm.$t('ApproverRequestDetails.ClickHere'))+\" \")]),_vm._v(\" \"+_vm._s(_vm.$t('ApproverRequestDetails.ToDownload'))+\" \")])],1)],1):_vm._e(),_c('v-row',[_c('v-col',{staticStyle:{\"margin-left\":\"1.5rem\",\"margin-right\":\"1.5rem\",\"margin-top\":\"1.5rem\"},attrs:{\"xs\":\"12\",\"md\":\"4\",\"lg\":\"3\"}},[_c('h4',[_vm._v(_vm._s(_vm.$t('ApproverRequestDetails.Category')))]),_c('h4',{staticStyle:{\"color\":\"#4879c4\"}},[_c('span',{staticClass:\"mdi mdi-cog\",staticStyle:{\"margin-right\":\"0.7rem\"}}),_vm._v(_vm._s(_vm.approverRequest.category.name))])]),_c('v-col',{staticStyle:{\"margin-left\":\"1.5rem\",\"margin-right\":\"1.5rem\",\"margin-top\":\"1.5rem\"},attrs:{\"xs\":\"12\",\"md\":\"9\",\"lg\":\"8\"}},[_c('h4',[_vm._v(_vm._s(_vm.$t('ApproverRequestDetails.Description')))]),_c('p',{domProps:{\"innerHTML\":_vm._s(_vm.approverRequest.description)}})])],1),_c('v-row',[_c('v-col',{staticStyle:{\"margin-left\":\"1.5rem\",\"margin-right\":\"1.5rem\"}},[_c('h4',[_vm._v(_vm._s(_vm.$t('ApproverRequestDetails.ReasonOrComments')))]),_c('v-textarea',{staticStyle:{\"margin-top\":\"1rem\"},attrs:{\"id\":\"reason\",\"type\":\"text\",\"outlined\":\"\",\"rounded\":\"\",\"placeholder\":_vm.$t('ApproverRequestDetails.EnterReason')},model:{value:(_vm.reason),callback:function ($$v) {_vm.reason=$$v},expression:\"reason\"}})],1)],1),_c('v-btn',{attrs:{\"type\":\"button\",\"color\":\"primary\",\"loading\":_vm.saving,\"depressed\":\"\",\"rounded\":\"\",\"large\":\"\",\"id\":\"approveBtn\"},on:{\"click\":function($event){_vm.approveDialog = true}}},[_vm._v(_vm._s(_vm.$t('ApproverRequestDetails.Approve')))]),_c('v-btn',{attrs:{\"type\":\"button\",\"color\":\"error\",\"loading\":_vm.saving,\"depressed\":\"\",\"rounded\":\"\",\"large\":\"\",\"id\":\"rejectBtn\"},on:{\"click\":function($event){_vm.rejectDialog = true}}},[_vm._v(_vm._s(_vm.$t('ApproverRequestDetails.Reject')))])],1)])],1)]:_vm._e()],2),_c('v-dialog',{attrs:{\"width\":\"600\"},model:{value:(_vm.approveDialog),callback:function ($$v) {_vm.approveDialog=$$v},expression:\"approveDialog\"}},[_c('ConfirmDialog',{attrs:{\"actionText\":_vm.$t('ApproverRequestDetails.approve'),\"color\":'primary',\"header\":_vm.$t('ApproverRequestDetails.approveRequest'),\"onActionComplete\":function () {\n\t\t\t\t\t\t/* */\n\t\t\t\t\t},\"cancelText\":_vm.$t('ApproverRequestDetails.cancel'),\"action\":function () { return _vm.requestApproval(true); },\"message\":_vm.$t('ApproverRequestDetails.approveConfirm'),\"cancelAction\":function () { return (_vm.approveDialog = false); }}})],1),_c('v-dialog',{attrs:{\"width\":\"600\"},model:{value:(_vm.rejectDialog),callback:function ($$v) {_vm.rejectDialog=$$v},expression:\"rejectDialog\"}},[_c('ConfirmDialog',{attrs:{\"actionText\":_vm.$t('ApproverRequestDetails.reject'),\"color\":'error',\"header\":_vm.$t('ApproverRequestDetails.rejectRequest'),\"onActionComplete\":function () {\n\t\t\t\t\t\t/* */\n\t\t\t\t\t},\"cancelText\":_vm.$t('ApproverRequestDetails.cancel'),\"action\":function () { return _vm.requestApproval(false); },\"message\":_vm.$t('ApproverRequestDetails.confirmReject'),\"cancelAction\":function () { return (_vm.rejectDialog = false); }}})],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\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport { namespace } from 'vuex-class';\r\nimport Toast from '@/services/toast.service';\r\nimport ApprovalRequestsApiService from '@/api/approvalRequests.api';\r\nimport { ApprovalRequestResponse } from '@/models/approvalRequest';\r\nimport { ApproverResponseRequest } from '@/models/approvalRequest';\r\nimport { ApprovalRequestState } from '@/models/enums/approvalRequestState';\r\n\r\nimport ConfirmDialog from '@/components/ConfirmDialog.vue';\r\nimport LoadingSpinner from '@/components/LoadingSpinner.vue';\r\nimport DateService from '@/services/date.service';\r\n// eslint-disable-next-line\r\nimport jwt_decode from 'jwt-decode';\r\nimport { AUTHED } from '@/store/auth/getters';\r\n\r\n\r\nconst auth = namespace('auth');\r\n\r\n@Component({\r\n\tcomponents: { ConfirmDialog, LoadingSpinner}\r\n})\r\nexport default class ApproverRequestDetails extends Vue {\r\n\t@auth.Getter(AUTHED) public authed!: boolean;\r\n\r\n public approverRequest: ApprovalRequestResponse | null = null;\r\n public approverResponse: ApproverResponseRequest | null = null;\r\n public approverRequestLoading = false;\r\n public saving = false;\r\n public approveDialog = false;\r\n\tpublic rejectDialog = false;\r\n public token = '';\r\n public selectedLang='';\r\n public reason='';\r\n\tpublic locales= [\r\n { code: 'en', name: 'English' },\r\n { code: 'fr', name: 'Français' },\r\n { code: 'ar', name: 'العربية' },\r\n ];\r\n\r\n\r\n\r\n\tpublic created(){\r\n\t\tthis.selectedLang=localStorage.getItem('locale') || 'en';\r\n this.token = localStorage.getItem('approver-invite-token') as string;\r\n\t\tif (!this.token) this.$router.back();\r\n\t\tthis.getApprovalRequest();\r\n\t}\r\n\r\n public changeLang() {\r\n localStorage.setItem('locale', this.selectedLang);\r\n\t location.reload();\r\n }\r\n public getApprovalRequest() {\r\n\r\n\t\tif (this.token) {\r\n\t\t\tthis.approverRequestLoading = true;\r\n\t\t\tApprovalRequestsApiService.getApprovalRequestForApprover(this.token)\r\n\t\t\t\t.then(res => {\r\n\t\t\t\t\tthis.approverRequest = { ...res,\r\n\t\t\t\t\tcreatedDate: DateService.formatTableDateString(res.createdDate),\r\n\t\t\t\t\texpirationDate: res.expirationDate==null || res.expirationDate == undefined? '--' :DateService.formatTableDateString(res.expirationDate) };\r\n\t\t\t\t})\r\n\t\t\t\t.catch(err => {\r\n\t\t\t\t\tToast.error(err);\r\n\t\t\t\t\tthis.$router.push('/');\r\n\t\t\t\t})\r\n\t\t\t\t.finally(() => (this.approverRequestLoading = false));\r\n\t\t}\r\n\t}\r\n public DownloadFile(filePath) {\r\n\t\tconsole.log(filePath);\r\n ApprovalRequestsApiService.getDocument(filePath)\r\n\t\t\t.then(res => {\r\n\t\t\t\tres.filesPaths.forEach(url => {\r\n\t\t\t\t\twindow.open(url);\r\n\t\t\t\t});\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t})\r\n\t}\r\n public requestApproval(IsApproved) {\r\n\t\tif(!this.approverRequest)\r\n return;\r\n\r\n this.approverResponse = {\r\n reason : this.reason,\r\n approvalRequestStatusId : this.approverRequest.approvalRequestStatuses[0].id.toString(),\r\n status : ApprovalRequestState.Rejected\r\n }\r\n if(IsApproved)\r\n this.approverResponse.status = ApprovalRequestState.Approved;\r\n\r\n this.saveResponse();\r\n\t}\r\n public saveResponse(){\r\n if(!this.approverResponse)\r\n return;\r\n\r\n this.saving = true;\r\n\t\tApprovalRequestsApiService.saveApproverResponse(this.approverResponse)\r\n\t\t\t.then(res => {\r\n if(this.approverResponse){\r\n if(this.approverResponse.status==ApprovalRequestState.Approved){\r\n Toast.success(this.$t('ApproverRequestDetails.RequestApproved').toString());\r\n }else if(this.approverResponse.status==ApprovalRequestState.Rejected){\r\n Toast.error(this.$t('ApproverRequestDetails.RequestRejected').toString());\r\n }else{\r\n Toast.success(this.$t('ApproverRequestDetails.ResponseSubmitted').toString());\r\n }\r\n }\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t})\r\n\t\t\t.finally(() => {\r\n this.saving = false;\r\n this.approveDialog = false;\r\n this.rejectDialog = false;\r\n this.$router.push('/');\r\n });\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApproverRequestDetails.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApproverRequestDetails.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ApproverRequestDetails.vue?vue&type=template&id=14fb3066&scoped=true&\"\nimport script from \"./ApproverRequestDetails.vue?vue&type=script&lang=ts&\"\nexport * from \"./ApproverRequestDetails.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ApproverRequestDetails.vue?vue&type=style&index=0&id=14fb3066&lang=scss&scoped=true&\"\nimport style1 from \"./ApproverRequestDetails.vue?vue&type=style&index=1&id=14fb3066&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 \"14fb3066\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\ninstallComponents(component, {VBtn,VCol,VContainer,VDialog,VRow,VTextarea})\n","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuoteDetails.vue?vue&type=style&index=0&id=5a3f7c82&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuoteDetails.vue?vue&type=style&index=0&id=5a3f7c82&lang=scss&scoped=true&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApproverRequestDetails.vue?vue&type=style&index=0&id=14fb3066&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApproverRequestDetails.vue?vue&type=style&index=0&id=14fb3066&lang=scss&scoped=true&\"","// Types\nimport Vue, { VNode } from 'vue'\n\nexport default function VGrid (name: string) {\n /* @vue/component */\n return Vue.extend({\n name: `v-${name}`,\n\n functional: true,\n\n props: {\n id: String,\n tag: {\n type: String,\n default: 'div',\n },\n },\n\n render (h, { props, data, children }): VNode {\n data.staticClass = (`${name} ${data.staticClass || ''}`).trim()\n\n const { attrs } = data\n if (attrs) {\n // reset attrs to extract utility clases like pa-3\n data.attrs = {}\n const classes = Object.keys(attrs).filter(key => {\n // TODO: Remove once resolved\n // https://github.com/vuejs/vue/issues/7841\n if (key === 'slot') return false\n\n const value = attrs[key]\n\n // add back data attributes like data-test=\"foo\" but do not\n // add them as classes\n if (key.startsWith('data-')) {\n data.attrs![key] = value\n return false\n }\n\n return value || typeof value === 'string'\n })\n\n if (classes.length) data.staticClass += ` ${classes.join(' ')}`\n }\n\n if (props.id) {\n data.domProps = data.domProps || {}\n data.domProps.id = props.id\n }\n\n return h(props.tag, data, children)\n },\n })\n}\n","import './_grid.sass'\nimport './VGrid.sass'\n\nimport Grid from './grid'\n\nimport mergeData from '../../util/mergeData'\n\n/* @vue/component */\nexport default Grid('container').extend({\n name: 'v-container',\n functional: true,\n props: {\n id: String,\n tag: {\n type: String,\n default: 'div',\n },\n fluid: {\n type: Boolean,\n default: false,\n },\n },\n render (h, { props, data, children }) {\n let classes\n const { attrs } = data\n if (attrs) {\n // reset attrs to extract utility clases like pa-3\n data.attrs = {}\n classes = Object.keys(attrs).filter(key => {\n // TODO: Remove once resolved\n // https://github.com/vuejs/vue/issues/7841\n if (key === 'slot') return false\n\n const value = attrs[key]\n\n // add back data attributes like data-test=\"foo\" but do not\n // add them as classes\n if (key.startsWith('data-')) {\n data.attrs![key] = value\n return false\n }\n\n return value || typeof value === 'string'\n })\n }\n\n if (props.id) {\n data.domProps = data.domProps || {}\n data.domProps.id = props.id\n }\n\n return h(\n props.tag,\n mergeData(data, {\n staticClass: 'container',\n class: Array<any>({\n 'container--fluid': props.fluid,\n }).concat(classes || []),\n }),\n children\n )\n },\n})\n","// Styles\nimport './VCheckbox.sass'\nimport '../../styles/components/_selection-controls.sass'\n\n// Components\nimport VIcon from '../VIcon'\nimport VInput from '../VInput'\n\n// Mixins\nimport Selectable from '../../mixins/selectable'\n\n/* @vue/component */\nexport default Selectable.extend({\n name: 'v-checkbox',\n\n props: {\n indeterminate: Boolean,\n indeterminateIcon: {\n type: String,\n default: '$checkboxIndeterminate',\n },\n offIcon: {\n type: String,\n default: '$checkboxOff',\n },\n onIcon: {\n type: String,\n default: '$checkboxOn',\n },\n },\n\n data () {\n return {\n inputIndeterminate: this.indeterminate,\n }\n },\n\n computed: {\n classes (): object {\n return {\n ...VInput.options.computed.classes.call(this),\n 'v-input--selection-controls': true,\n 'v-input--checkbox': true,\n 'v-input--indeterminate': this.inputIndeterminate,\n }\n },\n computedIcon (): string {\n if (this.inputIndeterminate) {\n return this.indeterminateIcon\n } else if (this.isActive) {\n return this.onIcon\n } else {\n return this.offIcon\n }\n },\n // Do not return undefined if disabled,\n // according to spec, should still show\n // a color when disabled and active\n validationState (): string | undefined {\n if (this.isDisabled && !this.inputIndeterminate) return undefined\n if (this.hasError && this.shouldValidate) return 'error'\n if (this.hasSuccess) return 'success'\n if (this.hasColor !== null) return this.computedColor\n return undefined\n },\n },\n\n watch: {\n indeterminate (val) {\n // https://github.com/vuetifyjs/vuetify/issues/8270\n this.$nextTick(() => (this.inputIndeterminate = val))\n },\n inputIndeterminate (val) {\n this.$emit('update:indeterminate', val)\n },\n isActive () {\n if (!this.indeterminate) return\n this.inputIndeterminate = false\n },\n },\n\n methods: {\n genCheckbox () {\n return this.$createElement('div', {\n staticClass: 'v-input--selection-controls__input',\n }, [\n this.$createElement(VIcon, this.setTextColor(this.validationState, {\n props: {\n dense: this.dense,\n dark: this.dark,\n light: this.light,\n },\n }), this.computedIcon),\n this.genInput('checkbox', {\n ...this.attrs$,\n 'aria-checked': this.inputIndeterminate\n ? 'mixed'\n : this.isActive.toString(),\n }),\n this.genRipple(this.setTextColor(this.rippleState)),\n ])\n },\n genDefaultSlot () {\n return [\n this.genCheckbox(),\n this.genLabel(),\n ]\n },\n },\n})\n","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StartEndDate.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StartEndDate.vue?vue&type=style&index=0&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{attrs:{\"fluid\":\"\"}},[(_vm.buyerRequestLoading)?_c('LoadingSpinner'):_vm._e(),(!_vm.buyerRequestLoading)?[_c('div',[_c('v-row',[_c('v-col',{staticClass:\"d-flex align-center flex-wrap\"},[_c('h2',[_vm._v(_vm._s(_vm.buyerRequest.buyerRequestName))]),_c('StartEndDate',{attrs:{\"startDate\":_vm.buyerRequest.startDate,\"endDate\":_vm.buyerRequest.endDate}})],1)],1)],1),_c('div',{staticClass:\"header-divider\"}),_c('v-row',[_c('v-col',[_c('h3',[_vm._v(_vm._s(_vm.$t(\"QuickQuoteDetail.Quotation\")))])])],1),_c('v-data-table',{attrs:{\"headers\":_vm.itemHeaders,\"hide-default-footer\":\"\",\"disable-pagination\":true,\"footer-props\":{ disablePagination: true, disableItemsPerPage: true },\"items\":_vm.itemQuotes,\"no-data-text\":_vm.$t('QuickQuoteDetail.NoItemMessage')},scopedSlots:_vm._u([{key:\"item.unitPrice\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('v-text-field',{attrs:{\"id\":'unitPrice' + item.id,\"autocomplete\":\"new\",\"hide-details\":\"\",\"type\":\"number\",\"single-line\":\"\",\"step\":\"any\",\"reverse\":\"\",\"min\":\"0\",\"dense\":\"\",\"filled\":\"\",\"placeholder\":\"1\"},on:{\"input\":function($event){return _vm.onUnitPriceChange(item)}},model:{value:(item.unitPrice),callback:function ($$v) {_vm.$set(item, \"unitPrice\", $$v)},expression:\"item.unitPrice\"}})]}}],null,false,2472151775)},[_c('template',{slot:\"body.append\"},[_c('tr',{class:{ 'v-data-table__mobile-row': _vm.isMobile() }},[_c('td'),_c('td'),_c('td'),_c('th',{staticClass:\"text-right\",class:{ 'v-data-table__mobile-row': _vm.isMobile() }},[_vm._v(\" \"+_vm._s(_vm.$t('QuickQuoteDetail.TotalCost'))+\" \")]),_c('td',{class:{ 'v-data-table__mobile-row': _vm.isMobile() }},[_vm._v(\" \"+_vm._s(_vm.totalCost)+\" \")])]),_c('tr',{class:{ 'v-data-table__mobile-row': _vm.isMobile() }},[_c('td'),_c('td'),_c('th',{staticClass:\"text-right\",class:{ 'v-data-table__mobile-row': _vm.isMobile() },attrs:{\"colspan\":(\"\" + (_vm.isMobile() ? 4 : 2))}},[_vm._v(\" Total \"+_vm._s(_vm.getTaxTypeText())+\" \"),_c('v-text-field',{staticClass:\"d-inline-flex\",staticStyle:{\"width\":\"120px\"},attrs:{\"id\":\"vat\",\"autocomplete\":\"new\",\"hide-details\":\"\",\"type\":\"number\",\"append-icon\":\"ri-percent-line\",\"single-line\":\"\",\"step\":\"any\",\"dense\":\"\",\"filled\":\"\",\"min\":\"0\",\"placeholder\":\"0\"},on:{\"input\":function($event){return _vm.calculateTotals()}},model:{value:(_vm.vat),callback:function ($$v) {_vm.vat=$$v},expression:\"vat\"}})],1),_c('td',{class:{ 'v-data-table__mobile-row': _vm.isMobile() }},[_vm._v(\" \"+_vm._s(_vm.totalVat)+\" \")])]),_c('tr',{class:{ 'v-data-table__mobile-row': _vm.isMobile() }},[_c('td'),_c('td'),_c('td'),_c('th',{staticClass:\"text-right\",class:{ 'v-data-table__mobile-row': _vm.isMobile() }},[_vm._v(\" \"+_vm._s(_vm.$t('QuickQuoteDetail.Total'))+\" \"+_vm._s(_vm.getTaxTypeText())+\" + Cost (\"+_vm._s(_vm.currencyCode)+\") \")]),_c('td',{class:{ 'v-data-table__mobile-row': _vm.isMobile() }},[_vm._v(\" \"+_vm._s(_vm.totalCostVat)+\" \")])])])],2),(_vm.buyerRequest.attachedFilePath)?_c('div',[_c('v-row',[_c('v-col',[_c('h3',[_vm._v(_vm._s(_vm.$t('QuickQuoteForm1.AttachFile')))])])],1),_c('v-row',[_c('v-col',[_c('a',{on:{\"click\":function($event){return _vm.DownloadFile(_vm.buyerRequest.attachedFilePath)}}},[_vm._v(_vm._s(_vm.$t('QuickQuoteDetail.ClickHere')))]),_vm._v(\" \"+_vm._s(_vm.$t('QuickQuoteDetail.ToDownload'))+\" \")])],1)],1):_vm._e(),_c('v-row',[_c('v-col',[_c('h3',[_vm._v(_vm._s(_vm.$t('QuickQuoteDetail.Questionnaire')))])])],1),_vm._l((_vm.questionAnswers),function(q){return _c('v-row',{key:q.order},[_c('v-col',[_c('h4',[_vm._v(_vm._s(q.order)+\". \"+_vm._s(q.text))]),_c('v-textarea',{staticClass:\"pt-4\",attrs:{\"id\":q.order + 'answer',\"outlined\":\"\",\"autocomplete\":\"new\",\"rounded\":\"\",\"rows\":\"1\",\"hide-details\":\"\",\"placeholder\":_vm.$t('QuickQuoteDetail.YourAnswer'),\"label\":\"Answer\"},model:{value:(q.answer),callback:function ($$v) {_vm.$set(q, \"answer\", $$v)},expression:\"q.answer\"}})],1)],1)}),_c('v-row',[_c('v-col',[_c('h4',[_vm._v(\" \"+_vm._s(_vm.questionAnswers.length + 1)+\". \"+_vm._s(_vm.$t('QuickQuoteDetail.DoYouAgree'))+\" \"+_vm._s(_vm.buyerRequest.buyerName)+_vm._s(_vm.$t('QuickQuoteDetail.RemainingAgree'))+\" \")])])],1),_c('PolicyDisplay',{attrs:{\"terms\":_vm.buyerRequest.terms,\"termsLink\":_vm.buyerRequest.termsLink,\"usePolicyLinks\":_vm.buyerRequest.usePolicyLinks}}),_c('v-checkbox',{attrs:{\"label\":_vm.$t('QuickQuoteDetail.IAgreeTo') +\n\t\t\t\t\t\t_vm.buyerRequest.buyerName +\n\t\t\t\t\t\t_vm.$t('QuickQuoteDetail.Terms')},model:{value:(_vm.policiesAgreed),callback:function ($$v) {_vm.policiesAgreed=$$v},expression:\"policiesAgreed\"}}),_c('v-row',{staticClass:\"pt-8\"},[_c('v-col',[_c('v-row',[_c('v-col',[_c('h3',[_vm._v(_vm._s(_vm.$t('QuickQuoteDetail.QuotationLetterTitle')))])])],1),_c('v-file-input',{attrs:{\"label\":\"Files\",\"outlined\":\"\",\"rounded\":\"\",\"show-size\":\"\",\"accept\":'.txt, .pdf, .csv, .ods, .xls, .xlsm, .xlsx, .doc, .docx, .odt, .rtf, .tex, .wpd, .odp, .pps, .ppt, .pptx, .jpg, .jpeg, .png, .gif, .webp, .tiff, .tif',\"prepend-icon\":\"ri-attachment-line\",\"multiple\":\"\"},on:{\"change\":_vm.handleFileChange},model:{value:(_vm.quotationLetter),callback:function ($$v) {_vm.quotationLetter=$$v},expression:\"quotationLetter\"}})],1),_c('v-col',{staticClass:\"align-center\"},[_c('v-btn',{attrs:{\"type\":\"button\",\"color\":\"primary\",\"depressed\":\"\",\"rounded\":\"\",\"medium\":\"\"},on:{\"click\":_vm.openFileSelection}},[_vm._v(\" \"+_vm._s(_vm.$t('QuickQuoteDetail.AddMoreFiles'))+\" \")]),_c('input',{ref:\"fileInput\",staticStyle:{\"display\":\"none\"},attrs:{\"type\":\"file\",\"accept\":\".txt, .pdf, .csv, .ods, .xls, .xlsm, .xlsx, .doc, .docx, .odt, .rtf, .tex, .wpd, .odp, .pps, .ppt, .pptx, .jpg, .jpeg, .png, .gif, .webp, .tiff, .tif\",\"multiple\":\"\"},on:{\"change\":function($event){return _vm.addMoreFiles($event.target.files)}}})],1)],1),_c('v-row',[_c('v-col',[_c('h3',[_vm._v(_vm._s(_vm.$t('QuickQuoteDetail.AdditionalComments')))])])],1),_c('v-textarea',{staticClass:\"pt-4\",attrs:{\"id\":\"comments\",\"outlined\":\"\",\"autocomplete\":\"new\",\"rounded\":\"\",\"rows\":\"4\",\"hide-details\":\"\",\"placeholder\":_vm.$t('QuickQuoteDetail.EnterAdditionalComments'),\"label\":_vm.$t('QuickQuoteDetail.Comments')},model:{value:(_vm.comments),callback:function ($$v) {_vm.comments=$$v},expression:\"comments\"}}),_c('v-row',{staticClass:\"mt-4\"},[_c('v-col',[_c('v-btn',{staticClass:\"mr-4\",attrs:{\"loading\":_vm.submitting,\"color\":\"primary\",\"large\":\"\",\"rounded\":\"\",\"depressed\":\"\"},on:{\"click\":function($event){return _vm.submitQuotation()}}},[_vm._v(_vm._s(_vm.$t('QuickQuoteDetail.SubmitQuotation')))]),_c('v-btn',{attrs:{\"color\":\"error\",\"large\":\"\",\"rounded\":\"\",\"depressed\":\"\",\"outlined\":\"\"},on:{\"click\":function($event){_vm.declineQuotationDialog = true}}},[_vm._v(_vm._s(_vm.$t('QuickQuoteDetail.DeclineQuotation')))])],1)],1)]:_vm._e(),_c('v-dialog',{attrs:{\"width\":\"800\"},model:{value:(_vm.declineQuotationDialog),callback:function ($$v) {_vm.declineQuotationDialog=$$v},expression:\"declineQuotationDialog\"}},[_c('ConfirmDialog',{attrs:{\"actionText\":_vm.$t('QuickQuoteDetail.Decline'),\"color\":'error',\"header\":_vm.$t('QuickQuoteDetail.DeclineQuotation'),\"onActionComplete\":function () {\n\t\t\t\t\t\t/* */\n\t\t\t\t\t},\"cancelText\":'Cancel',\"action\":function () { return _vm.declineQuotation(); },\"message\":_vm.$t('QuickQuoteDetail.DeclineQuotationMessage'),\"cancelAction\":function () { return (_vm.declineQuotationDialog = false); }}})],1)],2)}\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\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\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport { namespace } from 'vuex-class';\r\nimport { Route } from 'vue-router';\r\nimport Toast from '@/services/toast.service';\r\nimport { BuyerRequest } from '@/models/buyerRequest';\r\nimport QuotationsApiService, {\r\n\tGetQuotationsForSupplierResponse\r\n} from '@/api/quotations.api';\r\nimport { BuyerRequestState } from '@/models/enums/buyerRequestState';\r\nimport ConfirmDialog from '@/components/ConfirmDialog.vue';\r\nimport StartEndDate from '@/components/StartEndDate.vue';\r\nimport PolicyDisplay from '@/components/PolicyDisplay.vue';\r\nimport LoadingSpinner from '@/components/LoadingSpinner.vue';\r\nimport DateService from '@/services/date.service';\r\n// eslint-disable-next-line\r\nimport jwt_decode from 'jwt-decode';\r\nimport { AUTHED } from '@/store/auth/getters';\r\nimport TaxTypeService from '@/services/taxType.service';\r\nimport { TaxType } from '@/models/enums/taxType';\r\n\r\nconst auth = namespace('auth');\r\n\r\n@Component({\r\n\tcomponents: { ConfirmDialog, LoadingSpinner, StartEndDate, PolicyDisplay }\r\n})\r\nexport default class QuoteDetails extends Vue {\r\n\t@auth.Getter(AUTHED) public authed!: boolean;\r\n\tpublic buyerRequest: GetQuotationsForSupplierResponse | null = null;\r\n\tpublic BuyerRequestState = BuyerRequestState;\r\n\tpublic buyerRequestLoading = false;\r\n\tpublic declineQuotationDialog = false;\r\n\r\n\tpublic questionAnswers: any[] = [];\r\n\tpublic itemQuotes: any[] = [];\r\n\tpublic policiesAgreed = false;\r\n\tpublic vat = 0;\r\n\tpublic quotationLetter: File[] = [];\r\n\tpublic totalCostVat = '0';\r\n\tpublic taxType = TaxType.VAT;\r\n\tpublic currencyCode = '';\r\n\tpublic comments = '';\r\n\tpublic totalCost = 0;\r\n\tpublic totalVat = 0;\r\n\tpublic token = '';\r\n\tpublic submitting = false;\r\n\tpublic declining = false;\r\n\r\n\tpublic itemHeaders: any[] = [];\r\n\r\n\tcreated() {\r\n\t\tthis.token = localStorage.getItem('quote-token') as string;\r\n\t\tif (!this.token) this.$router.back();\r\n\t\tthis.getBuyerRequest();\r\n\t}\r\n\r\n\tpublic getTaxTypeText() {\r\n\t\treturn TaxTypeService.getText(this.taxType);\r\n\t}\r\n\r\n\tpublic isMobile() {\r\n\t\treturn this.$vuetify.breakpoint.name === 'xs';\r\n\t}\r\n\r\n\tpublic submitQuotation() {\r\n\t\tif (!this.buyerRequest) return;\r\n\t\tthis.submitting = true;\r\n\t\tQuotationsApiService.submitQuotation(\r\n\t\t\tthis.buyerRequest.quotationId,\r\n\t\t\t{\r\n\t\t\t\tanswers: this.questionAnswers,\r\n\t\t\t\ttermsAccepted: this.policiesAgreed,\r\n\t\t\t\titemQuotes: this.itemQuotes,\r\n\t\t\t\tcomments: this.comments,\r\n\t\t\t\tquotationLetter: this.quotationLetter as File[],\r\n\t\t\t\ttoken: this.token,\r\n\t\t\t\tvatPercentage: this.vat\r\n\t\t\t},\r\n\t\t\tthis.authed\r\n\t\t)\r\n\t\t\t.then(res => {\r\n\t\t\t\tToast.success(this.$t('QuickQuoteDetail.QuotationSubmitted').toString());\r\n\t\t\t\tlocalStorage.removeItem('quote-token');\r\n\t\t\t\tthis.$router.replace('/');\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t\tlocalStorage.removeItem('quote-token');\r\n\t\t\t})\r\n\t\t\t.finally(() => (this.submitting = false));\r\n\t}\r\n\r\n\tpublic declineQuotation() {\r\n\t\tif (!this.buyerRequest) return;\r\n\t\tthis.declining = true;\r\n\t\tQuotationsApiService.declineQuotation(this.buyerRequest.quotationId, {\r\n\t\t\ttoken: this.token\r\n\t\t})\r\n\t\t\t.then(res => {\r\n\t\t\t\tToast.success('Quotation Declined');\r\n\t\t\t\tlocalStorage.removeItem('quote-token');\r\n\t\t\t\tthis.$router.replace('/');\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t\tlocalStorage.removeItem('quote-token');\r\n\t\t\t})\r\n\t\t\t.finally(() => (this.declining = false));\r\n\t}\r\n\r\n\tpublic calculateTotals() {\r\n\t\tthis.totalCost = parseFloat(\r\n\t\t\tthis.itemQuotes\r\n\t\t\t\t.map(x => x.cost)\r\n\t\t\t\t.reduce((a, b) => a + b, 0)\r\n\t\t\t\t.toFixed(2)\r\n\t\t);\r\n\t\tthis.totalVat = parseFloat((this.totalCost * (this.vat / 100)).toFixed(2));\r\n\t\tthis.totalCostVat = (this.totalCost + this.totalVat).toFixed(2);\r\n\t}\r\n\r\n\tpublic onUnitPriceChange(item: any) {\r\n\t\titem.cost = parseFloat((item.quantity * item.unitPrice).toFixed(2));\r\n\t\tthis.calculateTotals();\r\n\t}\r\n\r\n\tpublic getBuyerRequest() {\r\n\t\t\r\n\t\tconst buyerRequestId = this.$route.params.buyerRequestId as string;\r\n\r\n\t\tif (this.token) {\r\n\t\t\tthis.buyerRequestLoading = true;\r\n\t\t\tQuotationsApiService.getQuotationsForSupplier(buyerRequestId, this.token)\r\n\t\t\t\t.then(res => {\r\n\t\t\t\t\tthis.buyerRequest = { ...res };\r\n\t\t\t\t\tthis.questionAnswers = res.questions\r\n\t\t\t\t\t\t.sort((x, y) => x.order - y.order)\r\n\t\t\t\t\t\t.map(x => {\r\n\t\t\t\t\t\t\treturn {\r\n\t\t\t\t\t\t\t\t...x,\r\n\t\t\t\t\t\t\t\tanswer: ''\r\n\t\t\t\t\t\t\t};\r\n\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\tthis.itemQuotes = res.items.map(x => {\r\n\t\t\t\t\t\treturn {\r\n\t\t\t\t\t\t\t...x,\r\n\t\t\t\t\t\t\tunitPrice: 0.0,\r\n\t\t\t\t\t\t\tcost: 0.0\r\n\t\t\t\t\t\t};\r\n\t\t\t\t\t});\r\n\t\t\t\t\tthis.currencyCode = res.currencyCode;\r\n\t\t\t\t\tthis.taxType = res.taxType;\r\n\r\n\t\t\t\t\tthis.setItemHeaders();\r\n\t\t\t\t})\r\n\t\t\t\t.catch(err => {\r\n\t\t\t\t\tToast.error(err);\r\n\t\t\t\t\tthis.$router.back();\r\n\t\t\t\t})\r\n\t\t\t\t.finally(() => (this.buyerRequestLoading = false));\r\n\t\t}\r\n\t}\r\n\r\n\tpublic DownloadFile(filePath) {\r\n\t\tQuotationsApiService.getDocument(filePath)\r\n\t\t\t.then(res => {\r\n\t\t\t\tres.filesPaths.forEach(url => {\r\n\t\t\t\t\twindow.open(url);\r\n\t\t\t\t});\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t})\r\n\t}\r\n\r\n\tpublic handleFileChange(files: FileList | null) {\r\n \tif (files) {\r\n \t const newFiles = Array.from(files).filter(file => !this.quotationLetter.includes(file));\r\n \t this.quotationLetter.push(...newFiles);\r\n \t}\r\n\t}\r\n\r\n\tpublic openFileSelection() {\r\n \t// Programmatically trigger file input click\r\n \tconst fileInput = this.$refs.fileInput as HTMLInputElement | undefined;\r\n \tif (fileInput) {\r\n \t fileInput.click();\r\n \t}\r\n\t}\r\n\r\n\tpublic addMoreFiles(files: FileList | null) {\r\n \tif (files) {\r\n \t const newFiles = Array.from(files);\r\n \t this.quotationLetter = [...this.quotationLetter, ...newFiles];\r\n \t}\r\n\t}\r\n\r\n\tprivate setItemHeaders() {\r\n\t\tthis.itemHeaders = [\r\n\t\t\t{\r\n\t\t\t\ttext: this.$t('QuickQuoteForm1.Quantity'),\r\n\t\t\t\tsortable: false,\r\n\t\t\t\talign: 'end',\r\n\t\t\t\tvalue: 'quantity',\r\n\t\t\t\twidth: '140px'\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\ttext: this.$t('QuickQuoteForm1.ProductDescription'),\r\n\t\t\t\talign: 'start',\r\n\t\t\t\tsortable: false,\r\n\t\t\t\tvalue: 'description'\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\ttext: this.$t('QuickQuoteForm1.DeliveryLocation'),\r\n\t\t\t\tsortable: false,\r\n\t\t\t\talign: 'start',\r\n\t\t\t\tvalue: 'deliveryLocation'\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\ttext: `Unit Price (${this.currencyCode})`,\r\n\t\t\t\tsortable: false,\r\n\t\t\t\talign: 'end',\r\n\t\t\t\tvalue: 'unitPrice'\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\ttext: `Cost Ex ${TaxTypeService.getText(this.taxType)} (${\r\n\t\t\t\t\tthis.currencyCode\r\n\t\t\t\t})`,\r\n\t\t\t\tsortable: false,\r\n\t\t\t\talign: 'end',\r\n\t\t\t\tvalue: 'cost'\r\n\t\t\t}\r\n\t\t];\r\n\t}\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuoteDetails.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./QuoteDetails.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./QuoteDetails.vue?vue&type=template&id=5a3f7c82&scoped=true&\"\nimport script from \"./QuoteDetails.vue?vue&type=script&lang=ts&\"\nexport * from \"./QuoteDetails.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./QuoteDetails.vue?vue&type=style&index=0&id=5a3f7c82&lang=scss&scoped=true&\"\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 \"5a3f7c82\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VFileInput } from 'vuetify/lib/components/VFileInput';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\ninstallComponents(component, {VBtn,VCheckbox,VCol,VContainer,VDataTable,VDialog,VFileInput,VRow,VTextField,VTextarea})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"d-flex align-center \"},[_c('div',{staticClass:\"header-details pl-8\"},[_c('div',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s(_vm.$t('StartEndDate.StartDate')))]),_c('div',{},[_vm._v(_vm._s(_vm.formattedStartDate))])]),_c('div',{staticClass:\"header-details pl-8\"},[_c('div',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s(_vm.$t('StartEndDate.EndDate')))]),_c('div',{},[_vm._v(_vm._s(_vm.formattedEndDate))])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport DateService from '@/services/date.service';\r\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\r\n\r\n@Component({\r\n\tcomponents: {}\r\n})\r\nexport default class StartEndDate extends Vue {\r\n\t@Prop() public startDate!: string;\r\n\t@Prop() public endDate!: string;\r\n\r\n\tpublic formattedStartDate = '';\r\n\tpublic formattedEndDate = '';\r\n\r\n\t@Watch('startDate') public onStartDateChange(newVal: number) {\r\n\t\tthis.formattedStartDate = DateService.formatDateString(this.startDate);\r\n\t}\r\n\r\n\t@Watch('endDate') public onEndDateChange(newVal: number) {\r\n\t\tthis.formattedEndDate = DateService.formatDateString(this.endDate);\r\n\t}\r\n\r\n\tcreated() {\r\n\t\tthis.formattedStartDate = DateService.formatDateString(this.startDate);\r\n\t\tthis.formattedEndDate = DateService.formatDateString(this.endDate);\r\n\t}\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StartEndDate.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StartEndDate.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./StartEndDate.vue?vue&type=template&id=76fcbea8&\"\nimport script from \"./StartEndDate.vue?vue&type=script&lang=ts&\"\nexport * from \"./StartEndDate.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./StartEndDate.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"],"sourceRoot":""}