\r\n \r\n \r\n ceasedHighlightRow(item)\"\r\n :actions=\"[\r\n ...(hasPermission('ReadInsurance')\r\n ? [\r\n {\r\n title: t('lblOpenInsurance', 'view_Location'),\r\n clickHandler: 'default',\r\n icon: 'mdi-pencil-outline',\r\n disableValue: 'insurance.fleetPolicy',\r\n disableReason: t('lblDisableFleetPolicy', 'view_Location'),\r\n },\r\n ]\r\n : []),\r\n ...(hasPermission('UpdateLocation')\r\n ? [\r\n {\r\n title: t('lblRemoveInsurance', 'view_Location'),\r\n clickHandler: validateRemoveInsurance,\r\n icon: 'mdi-delete-outline',\r\n },\r\n ]\r\n : []),\r\n ]\"\r\n :headers=\"[\r\n {\r\n text: t('lblInsuranceType', 'view_Location'),\r\n align: 'start',\r\n value: 'insurance.insuranceType.name',\r\n sortable: false,\r\n readonly: true,\r\n },\r\n {\r\n text: t('lblPolicyNumber', 'view_Location'),\r\n align: 'start',\r\n value: 'insurance.policyNumber',\r\n sortable: false,\r\n readonly: true,\r\n },\r\n {\r\n text: t('lblInsuranceCompany', 'view_Location'),\r\n align: 'start',\r\n value: 'insurance.insuranceCompany.name',\r\n sortable: false,\r\n readonly: true,\r\n },\r\n {\r\n text: t('lblFleetPolicy', 'view_Location'),\r\n align: 'start',\r\n value: 'insurance.fleetPolicy',\r\n sortable: false,\r\n dataType: 'checkbox',\r\n readonly: true,\r\n },\r\n {\r\n text: t('lblReference', 'view_Location'),\r\n align: 'start',\r\n value: 'accountReference',\r\n sortable: false,\r\n readonly: () => !hasPermission('UpdateLocation'),\r\n },\r\n {\r\n text: t('lblActualPremium', 'view_Location'),\r\n align: 'end',\r\n value: 'actualPremium',\r\n sortable: false,\r\n dataType: 'number',\r\n readonly: true,\r\n },\r\n {\r\n text: t('lblCurrency', 'view_Location'),\r\n align: 'start',\r\n value: 'currency.name',\r\n readonly: true,\r\n sortable: false,\r\n },\r\n {\r\n text: '',\r\n align: 'end',\r\n value: 'actions',\r\n sortable: false,\r\n },\r\n ]\"\r\n >\r\n \r\n \r\n \r\n {\r\n insuranceListStatus = val;\r\n updateInsurances();\r\n }\r\n \"\r\n />\r\n \r\n\r\n \r\n\r\n \r\n {\r\n showCreateNewInsurance = false;\r\n delete $route.params.createNewFromCustomerId;\r\n insuranceListUpdated = !insuranceListUpdated;\r\n }\r\n \"\r\n />\r\n \r\n \r\n \r\n\r\n \r\n \r\n
\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./LocationInsurance.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./LocationInsurance.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./LocationInsurance.vue?vue&type=template&id=1f9b6be4\"\nimport script from \"./LocationInsurance.vue?vue&type=script&lang=js\"\nexport * from \"./LocationInsurance.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/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 render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('v-sheet',{attrs:{\"elevation\":\"4\",\"rounded\":\"lg\"}},[_c('DataTableWithSearch',{key:'tableIncident_' + _vm.pageObject.id,attrs:{\"pageObjectId\":_vm.pageObject.id,\"pageUrl\":_vm.pageUrl,\"itemsPerPage\":10,\"updateFlag\":_vm.incidentListUpdated,\"listUrl\":\"FindLocationIncidentsPaged\",\"listType\":\"Incident\",\"extraQueryParams\":_vm.incidentExtraQueryParams,\"ceasedHighlightRow\":(item) => _vm.ceasedHighlightRow(item),\"actions\":[\n ...(_vm.hasPermission('IncidentModule')\n ? [\n {\n title: _vm.t('lblOpenIncident', 'view_Location'),\n clickHandler: 'default',\n icon: 'mdi-pencil-outline',\n },\n ]\n : []),\n ],\"headers\":[\n {\n text: _vm.t('lblIncidentNumber', 'view_Location'),\n align: 'start',\n value: 'incidentNumberInternal',\n sortable: true,\n },\n {\n text: _vm.t('lblIncidentDate', 'view_Location'),\n align: 'start',\n value: 'incidentDate',\n dataType: 'date',\n sortable: true,\n },\n {\n text: _vm.t('lblIncidentType', 'view_Location'),\n align: 'start',\n value: 'typeAndSubType',\n sortable: false,\n },\n {\n text: _vm.t('lblStatus', 'view_Location'),\n align: 'start',\n value: 'status.text',\n sortable: false,\n },\n {\n text: _vm.t('lblExternalReference', 'view_Location'),\n align: 'start',\n dataType: 'template',\n value: 'externalReference',\n sortable: false,\n },\n {\n text: '',\n align: 'end',\n value: 'actions',\n sortable: false,\n },\n ]},on:{\"extraQueryParamsUpdated\":_vm.updateIncidentsExtraParams},scopedSlots:_vm._u([{key:\"formFields\",fn:function({}){return [_c('v-col',{staticClass:\"pa-0 mr-3\",attrs:{\"cols\":4}},[_c('v-select',{staticClass:\"inputFieldHeightFix\",attrs:{\"value\":_vm.incidentListStatus,\"dense\":\"\",\"label\":_vm.t('lblStatus', 'view_Location'),\"items\":[\n {\n id: -3,\n text: _vm.t('lblOnlyOpenIncidents', 'view_Location'),\n },\n { id: -2, text: _vm.t('lblShowAll', 'view_Location') },\n ..._vm.lookupLists.claim_status_insight.data,\n ],\"hide-details\":\"\",\"item-value\":\"id\",\"outlined\":\"\",\"background-color\":_vm.$vuetify.theme.dark ? '' : '#fff'},on:{\"change\":(val) => {\n _vm.incidentListStatus = val;\n _vm.updateIncident();\n }}})],1)]}},{key:\"externalReference\",fn:function({ data }){return [_c('div',{staticStyle:{\"position\":\"relative\"}},[_c('v-tooltip',{attrs:{\"top\":\"\",\"disabled\":_vm.disableTooltip[data.id]},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('div',_vm._g(_vm._b({staticClass:\"dataTableItemTruncation\",on:{\"mouseenter\":(evt) => _vm.checkOverflow(evt, data.id)}},'div',attrs,false),on),[_vm._v(\" \"+_vm._s(data.externalReference)+\" \")])]}}],null,true)},[_vm._v(\" \"+_vm._s(data.externalReference)+\" \")])],1)]}}])})],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","