{"version":3,"sources":["webpack:///./src/eventbus/event-bus.js","webpack:///./src/providers/company.js","webpack:///./src/components/Companies/CompanySummary.vue","webpack:///src/components/Companies/CompanySummary.vue","webpack:///./src/components/Companies/CompanySummary.vue?282d","webpack:///./src/components/Companies/CompanySummary.vue?f3a1","webpack:///./src/views/Reservations/Reservations.vue","webpack:///src/views/Reservations/Reservations.vue","webpack:///./src/views/Reservations/Reservations.vue?0348","webpack:///./src/views/Reservations/Reservations.vue?e8fa","webpack:///./src/components/Reservations/ReservationSummary.vue","webpack:///src/components/Reservations/ReservationSummary.vue","webpack:///./src/components/Reservations/ReservationSummary.vue?4dfe","webpack:///./src/components/Reservations/ReservationSummary.vue?1351","webpack:///./src/components/UI/Message.vue","webpack:///src/components/UI/Message.vue","webpack:///./src/components/UI/Message.vue?5d20","webpack:///./src/components/UI/Message.vue?fb09"],"names":["EventBus","Vue","getLocationCompaniesToken","getCompaniesToken","methods","getCompanyById","companyId","_asyncToGenerator","_regenerator","m","_callee","response","w","_context","n","axios","get","concat","process","headers","apiToken","profileToken","store","getters","v","a","getProfileCompanies","profileId","locationId","_callee2","_context2","params","getLocationCompanies","_arguments","arguments","_callee3","customerId","searchTerm","startDate","endDate","page","itemsPerPage","orderBy","sortDirection","_context3","length","undefined","cancel","CancelToken","source","cancelToken","token","q","getCompanies","_callee4","_context4","trim","createCompany","company","_callee5","_context5","post","updateCompany","_callee6","_context6","put","deleteCompany","mergeTo","_callee7","_context7","delete","createCompanyAddress","address","_callee8","_context8","updateCompanyAddress","_callee9","_context9","deleteCompanyAddress","_callee0","_context0","CompanyId","Id","setCompanyAddressAsDefault","_callee1","_context1","render","_vm","this","_c","_self","isLoading","key","_e","mCompany","staticClass","_v","_s","Name","DefaultAddress","attrs","$t","Address","PostalCode","City","State","Country","SegmentName","ContactName","ContactEmail","ContactPhone","Number","on","goToCompany","staticRenderFns","components","Notes","ReservationYearStats","props","default","type","Object","data","created","getCompanyData","beforeDestroy","_this","companyProvider","then","status","$router","push","name","component","slot","$event","startupTutorial","reservationRights","hasViewRights","_l","spaces","space","MeetingtypeId","class","selectedMeetingtype","getMeetingtypeName","ReservationList","Message","$route","$store","Meetingtypes","computed","_objectSpread","mapGetters","mapState","provide","currentDate","Date","getFullYear","getMonth","getDate","searchTermDateRange","start","end","showNoDateSelection","mounted","mapMutations","mapActions","restartedByUser","screen","width","setTutorialPage","setTutorialItems","ref","title","message","tutorialItemRelativePos","isWelcome","restartTutorial","setShowTutorial","id","arr","mReservation","showSideDrawer","drawerTitle","hideDrawer","scopedSlots","_u","fn","showTermSummary","termId","terms","proxy","pageTitle","pageSubTitle","_f","CreatedOn","$i18n","locale","toLowerCase","ChannelName","reservation","ReservationTerms","BookingTerms","setShowBookingTermSummary","Version","Tags","split","isDraft","showTabs","showSummary","setShowSummary","showContacts","setShowContacts","showNotes","setShowNotes","showTodos","setShowTodos","nrOfOpenToDos","showComments","setShowComments","Comments","filter","c","IsDeleted","locationState","Key","isEmployee","goToReservation","LocationId","noteAdded","noteDeleted","noteUpdated","ToDos","todoAdded","todoDeleted","todoUpdated","ReservationDetail","TermSummary","ReservationContacts","ReservationComments","reservationKey","String","required","Boolean","showTodoWarning","cleanSource","getReservationData","setReservation","$off","employee","LocationAccountRights","temp","Type","LocationName","$options","filters","dateFormat","StartDate","minutesToTime","StartMinutes","EndMinutes","EndDate","comments","ParentId","self","total","i","todo","IsDone","getLocationState","locationProvider","setLocationState","catch","err","_this2","reservationProvider","getReservationByKey","$props","index","findIndex","t","splice","$set","note","$emit","setVisibleItem","setShowAddOption","setShowAddSpace","setShowChangeSpace","item","showAddOption","showAddSpace","showChangeSpace","combindedClass","_t","size"],"mappings":"+QAAA,kDACaA,EAAW,IAAIC,aAEbD,U,8GCAXE,EAA4B,KAC5BC,EAAoB,KAET,QACbC,QAAS,CACDC,eAAc,SAACC,GAAW,OAAAC,eAAAC,iBAAAC,GAAA,SAAAC,IAAA,IAAAC,EAAA,OAAAH,iBAAAI,GAAA,SAAAC,GAAA,e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AMxF,EAAIM,KAAKN,EAAIgN,GAAG,YAAY,MAErPrL,EAAkB,GCaP,GACfI,MAAA,CAIAyD,QAAA,CACAvD,KAAA0H,OACA3H,QAAA,IAGAiL,KAAA,CACAhL,KAAA0H,OACA3H,QAAA,IAOAC,KAAA,CACAA,KAAA0H,OACA3H,QAAA,YAGAG,KAAA,WACA,UAGA6B,SAAA,CACA+I,eAAA,WACA,IAAAvE,EAAA,KAAAvG,KAMA,OAJA,KAAAgL,KAAA3P,OAAA,IACAkL,IAAA,SAAAyE,MAGAzE,KCnD+V,I,YCO3V1F,EAAY,eACd,EACA/C,EACA4B,GACA,EACA,KACA,WACA,MAIa,aAAAmB,E","file":"js/reservations-list.js?id=db71c9ac4c6d65efdfc7","sourcesContent":["import Vue from 'vue'\nexport const EventBus = new Vue()\n\nexport default EventBus\n","import axios from 'axios'\nimport store from '@/store'\n\nlet getLocationCompaniesToken = null\nlet getCompaniesToken = null\n\nexport default {\n  methods: {\n    async getCompanyById(companyId) {\n      const response = await axios.get(\n        `${process.env.VUE_APP_API_BASE_URL}/api/v2/company/${companyId}`,\n        {\n          headers: {\n            'Content-type': 'application/json',\n            apiToken: process.env.VUE_APP_API_KEY,\n            profileToken: store.getters['profileStore/getProfileToken']\n          }\n        }\n      )\n      return response\n    },\n\n    async getProfileCompanies(profileId, locationId) {\n      const response = await axios.get(\n        `${process.env.VUE_APP_API_BASE_URL}/api/v1/company/profile/${profileId}`,\n        {\n          params: {\n            locationId: locationId\n          },\n\n          headers: {\n            'Content-type': 'application/json',\n            apiToken: process.env.VUE_APP_API_KEY,\n            profileToken: store.getters['profileStore/getProfileToken']\n          }\n        }\n      )\n      return response\n    },\n\n    async getLocationCompanies(\n      locationId,\n      customerId = 0,\n      searchTerm = '',\n      startDate = '1900-01-01',\n      endDate = '1900-01-01',\n      page = 1,\n      itemsPerPage = 25,\n      orderBy = 2,\n      sortDirection = 'DESC',\n    ) {\n      getLocationCompaniesToken && getLocationCompaniesToken.cancel()\n      getLocationCompaniesToken = axios.CancelToken.source()\n\n      const response = await axios.get(\n        `${process.env.VUE_APP_API_BASE_URL}/api/v2/company/location/${locationId}`,\n        {\n          cancelToken: getLocationCompaniesToken.token,\n\n          params: {\n            q: searchTerm,\n            customerId: customerId,\n            startDate: startDate,\n            endDate: endDate,\n            page: page,\n            itemsPerPage: itemsPerPage,\n            orderBy: orderBy,\n            sortDirection: sortDirection\n          },\n\n          headers: {\n            'Content-type': 'application/json',\n            apiToken: process.env.VUE_APP_API_KEY,\n            profileToken: store.getters['profileStore/getProfileToken']\n          }\n        }\n      )\n      return response\n    },\n\n    async getCompanies(searchTerm, locationId, page, itemsPerPage, startDate, endDate) {\n      getCompaniesToken && getCompaniesToken.cancel()\n      getCompaniesToken = axios.CancelToken.source()\n      const response = await axios.get(\n        `${process.env.VUE_APP_API_BASE_URL}/api/v2/company/location/${locationId}`,\n        {\n          cancelToken: getCompaniesToken.token,\n          params: {\n            q: searchTerm.trim(),\n            page: page,\n            itemsPerPage: itemsPerPage,\n            startDate: startDate,\n            endDate: endDate\n          },\n          headers: {\n            'Content-type': 'application/json',\n            apiToken: process.env.VUE_APP_API_KEY,\n            profileToken: store.getters['profileStore/getProfileToken']\n          }\n        }\n      )\n      return response\n    },\n\n    async createCompany(company) {\n      const response = await axios.post(\n        `${process.env.VUE_APP_API_BASE_URL}/api/v2/company`,\n        company,\n        {\n          headers: {\n            'Content-type': 'application/json',\n            apiToken: process.env.VUE_APP_API_KEY,\n            profileToken: store.getters['profileStore/getProfileToken']\n          }\n        }\n      )\n      return response\n    },\n\n    async updateCompany(company) {\n      const response = await axios.put(\n        `${process.env.VUE_APP_API_BASE_URL}/api/v2/company`,\n        company,\n        {\n          headers: {\n            'Content-type': 'application/json',\n            apiToken: process.env.VUE_APP_API_KEY,\n            profileToken: store.getters['profileStore/getProfileToken']\n          }\n        }\n      )\n      return response\n    },\n\n    async deleteCompany(companyId, mergeTo) {\n      const response = await axios.delete(\n        `${process.env.VUE_APP_API_BASE_URL}/api/v2/company/${companyId}`,\n        {\n          params: {\n            mergeTo: mergeTo\n          },\n          headers: {\n            'Content-type': 'application/json',\n            apiToken: process.env.VUE_APP_API_KEY,\n            profileToken: store.getters['profileStore/getProfileToken']\n          }\n        }\n      )\n      return response\n    },\n\n    async createCompanyAddress(address) {\n      const response = await axios.post(\n        `${process.env.VUE_APP_API_BASE_URL}/api/v2/company/address`,\n        address,\n        {\n          headers: {\n            'Content-type': 'application/json',\n            apiToken: process.env.VUE_APP_API_KEY,\n            profileToken: store.getters['profileStore/getProfileToken']\n          }\n        }\n      )\n      return response\n    },\n\n    async updateCompanyAddress(address) {\n      const response = await axios.put(\n        `${process.env.VUE_APP_API_BASE_URL}/api/v2/company/address`,\n        address,\n        {\n          headers: {\n            'Content-type': 'application/json',\n            apiToken: process.env.VUE_APP_API_KEY,\n            profileToken: store.getters['profileStore/getProfileToken']\n          }\n        }\n      )\n      return response\n    },\n\n    async deleteCompanyAddress(address) {\n      const response = await axios.delete(\n        `${process.env.VUE_APP_API_BASE_URL}/api/v2/company/${address.CompanyId}/address/${address.Id}`,\n        {\n          headers: {\n            'Content-type': 'application/json',\n            apiToken: process.env.VUE_APP_API_KEY,\n            profileToken: store.getters['profileStore/getProfileToken']\n          }\n        }\n      )\n      return response\n    },\n\n    async setCompanyAddressAsDefault(address) {\n      const response = await axios.put(\n        `${process.env.VUE_APP_API_BASE_URL}/api/v2/company/address/${address.Id}/default`,\n        null,\n        {\n          headers: {\n            'Content-type': 'application/json',\n            apiToken: process.env.VUE_APP_API_KEY,\n            profileToken: store.getters['profileStore/getProfileToken']\n          }\n        }\n      )\n      return response\n    },\n  }\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[(_vm.isLoading)?_c('ui-loader',{key:\"loader\"}):_vm._e(),(_vm.mCompany)?_c('div',{key:\"details\"},[_c('p',{staticClass:\"title\"},[_vm._v(_vm._s(_vm.mCompany.Name))]),(_vm.mCompany.DefaultAddress)?_c('table',{staticClass:\"table is-fullwidth is-narrow is-size-7 is-size-6-desktop has-margin-top\"},[_c('tbody',[_c('tr',[_c('td',{attrs:{\"width\":\"50%\"}},[_vm._v(\" \"+_vm._s(_vm.$t('Components.Companies.CompanySummary.Table_Address'))+\" \")]),_c('td',[_vm._v(_vm._s(_vm.mCompany.DefaultAddress.Address))])]),_c('tr',[_c('td',{attrs:{\"width\":\"50%\"}},[_vm._v(\" \"+_vm._s(_vm.$t('Components.Companies.CompanySummary.Table_Postal-code'))+\" \")]),_c('td',[_vm._v(_vm._s(_vm.mCompany.DefaultAddress.PostalCode))])]),_c('tr',[_c('td',[_vm._v(_vm._s(_vm.$t('Components.Companies.CompanySummary.Table_City')))]),_c('td',[_vm._v(_vm._s(_vm.mCompany.DefaultAddress.City))])]),_c('tr',[_c('td',[_vm._v(\" \"+_vm._s(_vm.$t('Components.Companies.CompanySummary.Table_State'))+\" \")]),_c('td',[_vm._v(_vm._s(_vm.mCompany.DefaultAddress.State))])]),_c('tr',[_c('td',[_vm._v(\" \"+_vm._s(_vm.$t('Components.Companies.CompanySummary.Table_Country'))+\" \")]),_c('td',[_vm._v(_vm._s(_vm.mCompany.DefaultAddress.Country))])]),_c('tr',[_c('td',[_vm._v(\" \"+_vm._s(_vm.$t('Components.Companies.CompanySummary.Subtitle_Segment'))+\" \")]),_c('td',[_vm._v(_vm._s(_vm.mCompany.SegmentName))])])])]):_vm._e(),_c('hr'),(_vm.mCompany.DefaultAddress)?_c('table',{staticClass:\"table is-fullwidth is-narrow is-size-7 is-size-6-desktop has-margin-top mb-5\"},[_c('tbody',[_c('tr',[_c('td',[_vm._v(_vm._s(_vm.$t('Components.Companies.CompanySummary.Table_Phone')))]),_c('td',[_vm._v(_vm._s(_vm.mCompany.DefaultAddress.ContactName))])]),_c('tr',[_c('td',[_vm._v(_vm._s(_vm.$t('Components.Companies.CompanySummary.Table_Email')))]),_c('td',[_vm._v(_vm._s(_vm.mCompany.DefaultAddress.ContactEmail))])]),_c('tr',[_c('td',{attrs:{\"width\":\"50%\"}},[_vm._v(\" \"+_vm._s(_vm.$t('Components.Companies.CompanySummary.Table_Contact'))+\" \")]),_c('td',[_vm._v(_vm._s(_vm.mCompany.DefaultAddress.ContactPhone))])])])]):_vm._e(),_c('div',{staticClass:\"mb-5\"},[_c('ReservationYearStats',{attrs:{\"companyId\":Number(_vm.companyId),\"locationId\":Number(_vm.locationId)}})],1),_c('div',{staticClass:\"has-text-centered\"},[_c('a',{staticClass:\"button is-primary\",on:{\"click\":_vm.goToCompany}},[_vm._v(_vm._s(_vm.$t('Components.Companies.CompanySummary.Button_GoToCompany')))])]),_c('div',[_c('hr'),_c('Notes',{attrs:{\"locationId\":_vm.locationId,\"typeId\":'Company',\"itemId\":_vm.mCompany.Id,\"linkTypeId\":'Company',\"linkItemId\":_vm.mCompany.Id,\"viewType\":'small'}})],1)]):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <div>\n    <ui-loader v-if=\"isLoading\" key=\"loader\" />\n    <div v-if=\"mCompany\" key=\"details\">\n      <p class=\"title\">{{ mCompany.Name }}</p>\n\n      <table\n        v-if=\"mCompany.DefaultAddress\"\n        class=\"table is-fullwidth is-narrow is-size-7 is-size-6-desktop has-margin-top\"\n      >\n        <tbody>\n          <tr>\n            <td width=\"50%\">\n              {{ $t('Components.Companies.CompanySummary.Table_Address') }}\n            </td>\n            <td>{{ mCompany.DefaultAddress.Address }}</td>\n          </tr>\n          <tr>\n            <td width=\"50%\">\n              {{ $t('Components.Companies.CompanySummary.Table_Postal-code') }}\n            </td>\n            <td>{{ mCompany.DefaultAddress.PostalCode }}</td>\n          </tr>\n          <tr>\n            <td>{{ $t('Components.Companies.CompanySummary.Table_City') }}</td>\n            <td>{{ mCompany.DefaultAddress.City }}</td>\n          </tr>\n          <tr>\n            <td>\n              {{ $t('Components.Companies.CompanySummary.Table_State') }}\n            </td>\n            <td>{{ mCompany.DefaultAddress.State }}</td>\n          </tr>\n          <tr>\n            <td>\n              {{ $t('Components.Companies.CompanySummary.Table_Country') }}\n            </td>\n            <td>{{ mCompany.DefaultAddress.Country }}</td>\n          </tr>\n          <tr>\n            <td>\n              {{ $t('Components.Companies.CompanySummary.Subtitle_Segment') }}\n            </td>\n            <td>{{ mCompany.SegmentName }}</td>\n          </tr>\n        </tbody>\n      </table>\n\n      <hr />\n\n      <table\n        v-if=\"mCompany.DefaultAddress\"\n        class=\"table is-fullwidth is-narrow is-size-7 is-size-6-desktop has-margin-top mb-5\"\n      >\n        <tbody>\n          <tr>\n            <td>{{ $t('Components.Companies.CompanySummary.Table_Phone') }}</td>\n            <td>{{ mCompany.DefaultAddress.ContactName }}</td>\n          </tr>\n          <tr>\n            <td>{{ $t('Components.Companies.CompanySummary.Table_Email') }}</td>\n            <td>{{ mCompany.DefaultAddress.ContactEmail }}</td>\n          </tr>\n          <tr>\n            <td width=\"50%\">\n              {{ $t('Components.Companies.CompanySummary.Table_Contact') }}\n            </td>\n            <td>{{ mCompany.DefaultAddress.ContactPhone }}</td>\n          </tr>\n        </tbody>\n      </table>\n\n      <div class=\"mb-5\">\n        <ReservationYearStats\n          :companyId=\"Number(companyId)\"\n          :locationId=\"Number(locationId)\"\n        />\n      </div>\n\n      <div class=\"has-text-centered\">\n        <a @click=\"goToCompany\" class=\"button is-primary\">{{\n          $t('Components.Companies.CompanySummary.Button_GoToCompany')\n        }}</a>\n      </div>\n\n      <div>\n        <hr />\n\n        <Notes\n          :locationId=\"locationId\"\n          :typeId=\"'Company'\"\n          :itemId=\"mCompany.Id\"\n          :linkTypeId=\"'Company'\"\n          :linkItemId=\"mCompany.Id\"\n          :viewType=\"'small'\"\n        />\n      </div>\n    </div>\n  </div>\n</template>\n\n<script>\nimport companyProvider from '@/providers/company'\n\nexport default {\n  components: {\n    Notes: () => import('@/components/Notes/Notes'),\n    ReservationYearStats: () =>\n      import('@/components/Dashboards/ReservationYearStats'),\n  },\n\n  props: {\n    companyId: {\n      default: 0,\n      type: Number,\n    },\n\n    company: {\n      default: null,\n      type: Object,\n    },\n\n    locationId: {\n      default: 0,\n      type: Number,\n    },\n  },\n\n  data() {\n    return {\n      mCompany: this.company,\n      isLoading: false,\n    }\n  },\n\n  created() {\n    if (!this.mCompany) {\n      this.getCompanyData()\n    }\n  },\n\n  beforeDestroy() {\n    //this.mCompany = null\n  },\n\n  methods: {\n    getCompanyData() {\n      this.isLoading = true\n      companyProvider.methods\n        .getCompanyById(this.companyId, this.locationId)\n        .then((response) => {\n          if (response.status === 200) {\n            this.mCompany = response.data\n            this.isLoading = false\n          }\n        })\n    },\n\n    goToCompany() {\n      this.$router.push({\n        name: `crm-companies-detail`,\n        params: { companyId: this.companyId },\n      })\n    },\n  },\n}\n</script>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CompanySummary.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CompanySummary.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./CompanySummary.vue?vue&type=template&id=63363b6e\"\nimport script from \"./CompanySummary.vue?vue&type=script&lang=js\"\nexport * from \"./CompanySummary.vue?vue&type=script&lang=js\"\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 render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"section\"},[_c('div',{staticClass:\"container\"},[_c('ui-page-hero',{attrs:{\"id\":\"id_title_reservations\",\"title\":_vm.$t('Views.Reservations.Reservations.Main_Title')}},[_c('template',{slot:\"quickActions\"},[_c('a',{staticClass:\"has-icon is-hidden-mobile\",attrs:{\"id\":\"id_button_guide\",\"href\":_vm.$t('Views.Reservations.Reservations.Guide_Link'),\"target\":\"_blank\"}},[_c('span',{staticClass:\"icon\"},[_c('font-awesome-icon',{attrs:{\"icon\":['fas', 'info-circle']}})],1),_c('span',{staticClass:\"text\"},[_vm._v(_vm._s(_vm.$t('General.Guide')))])]),_c('a',{staticClass:\"has-icon is-hidden-touch is-hidden-desktop-only ml-3\",attrs:{\"id\":\"id_button_restart\"},on:{\"click\":function($event){return _vm.startupTutorial(true)}}},[_c('span',{staticClass:\"icon\"},[_c('font-awesome-icon',{attrs:{\"icon\":['fas', 'redo']}})],1),_c('span',{staticClass:\"text\"},[_vm._v(_vm._s(_vm.$t('General.RestartTutorial')))])])])],2),(!_vm.reservationRights.hasViewRights)?_c('Message',{attrs:{\"message\":_vm.$t('General.Message_NoAccess')}}):[_c('div',{staticClass:\"tabs is-boxed\"},[_c('ul',_vm._l((_vm.spaces),function(space){return _c('li',{key:space.MeetingtypeId,class:{\n              'is-active': space.MeetingtypeId === _vm.selectedMeetingtype\n            },attrs:{\"id\":\"id_tabs_reservations\"},on:{\"click\":function($event){_vm.selectedMeetingtype = space.MeetingtypeId}}},[_c('a',[_vm._v(_vm._s(_vm.getMeetingtypeName(space.MeetingtypeId)))])])}),0)]),_c('transition',{attrs:{\"name\":\"slide-fade\",\"mode\":\"out-in\"}},[_c('ReservationList',{staticClass:\"reservation-list\",attrs:{\"locationId\":_vm.locationId,\"selectedMeetingtype\":_vm.selectedMeetingtype}})],1)]],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <div class=\"section\">\n    <div class=\"container\">\n      <ui-page-hero\n        id=\"id_title_reservations\"\n        :title=\"$t('Views.Reservations.Reservations.Main_Title')\"\n      >\n        <template slot=\"quickActions\">\n          <a\n            class=\"has-icon is-hidden-mobile\"\n            id=\"id_button_guide\"\n            :href=\"$t('Views.Reservations.Reservations.Guide_Link')\"\n            target=\"_blank\"\n          >\n            <span class=\"icon\">\n              <font-awesome-icon :icon=\"['fas', 'info-circle']\" />\n            </span>\n            <span class=\"text\">{{ $t('General.Guide') }}</span>\n          </a>\n          <a\n            @click=\"startupTutorial(true)\"\n            class=\"has-icon is-hidden-touch is-hidden-desktop-only ml-3\"\n            id=\"id_button_restart\"\n          >\n            <span class=\"icon\">\n              <font-awesome-icon :icon=\"['fas', 'redo']\" />\n            </span>\n            <span class=\"text\">{{ $t('General.RestartTutorial') }}</span>\n          </a>\n        </template>\n      </ui-page-hero>\n\n      <Message\n        v-if=\"!reservationRights.hasViewRights\"\n        :message=\"$t('General.Message_NoAccess')\"\n      />\n\n      <template v-else>\n        <div class=\"tabs is-boxed\">\n          <ul>\n            <li\n              id=\"id_tabs_reservations\"\n              v-for=\"space in spaces\"\n              @click=\"selectedMeetingtype = space.MeetingtypeId\"\n              :class=\"{\n                'is-active': space.MeetingtypeId === selectedMeetingtype\n              }\"\n              :key=\"space.MeetingtypeId\"\n            >\n              <a>{{ getMeetingtypeName(space.MeetingtypeId) }}</a>\n            </li>\n          </ul>\n        </div>\n\n        <transition name=\"slide-fade\" mode=\"out-in\">\n          <ReservationList\n            class=\"reservation-list\"\n            :locationId=\"locationId\"\n            :selectedMeetingtype=\"selectedMeetingtype\"\n          />\n        </transition>\n      </template>\n    </div>\n  </div>\n</template>\n\n<script>\nimport { mapGetters, mapState, mapActions, mapMutations } from 'vuex';\n\nexport default {\n  name: 'reservations',\n\n  components: {\n    ReservationList: () =>\n      import(\n        /* webpackChunkName: \"reservations-list\" */ '@/components/Reservations/ReservationList'\n      ),\n    Message: () =>\n      import(\n        /* webpackChunkName: \"reservations-list\" */ '@/components/UI/Message'\n      )\n  },\n\n  data() {\n    return {\n      customerId: 0,\n      locationId: Number(this.$route.params.locationId),\n\n      selectedMeetingtype:\n        this.$store.getters['locationStore/getLocationState'].Meetingtypes[0]\n          .MeetingtypeId || 0,\n      spaces: this.$store.getters['locationStore/getLocationState'].Meetingtypes\n    };\n  },\n\n  computed: {\n    ...mapGetters('locationStore', ['reservationRights']),\n    ...mapState('tutorialStore', ['showTutorial'])\n  },\n\n  provide() {\n    const currentDate = new Date();\n    let startDate = new Date(\n      currentDate.getFullYear() - 1,\n      currentDate.getMonth(),\n      currentDate.getDate()\n    );\n    let endDate = new Date(\n      currentDate.getFullYear() + 2,\n      currentDate.getMonth(),\n      currentDate.getDate()\n    );\n    const searchTermDateRange = {\n      start: startDate,\n      end: endDate\n    };\n    return {\n      showNoDateSelection: false,\n      searchTermDateRange\n    };\n  },\n\n  mounted() {\n    this.startupTutorial();\n  },\n\n  beforeDestroy() {},\n\n  methods: {\n    ...mapMutations('tutorialStore', [\n      'setTutorialPage',\n      'setTutorialItems',\n      'setShowTutorial'\n    ]),\n    ...mapActions('tutorialStore', ['clearTutorialItems', 'restartTutorial']),\n\n    startupTutorial(restartedByUser = false) {\n      if (screen.width > 1120) {\n        this.setTutorialPage('tutorial-' + this.$route.name);\n\n        // set tutorial items\n        this.setTutorialItems([\n          // Update 1\n          [\n            {\n              ref: 'id_title_reservations',\n              title: this.$t(\n                'Views.Reservations.Reservations.Tutorial_1_Title1'\n              ),\n              message: this.$t(\n                'Views.Reservations.Reservations.Tutorial_1_Message1'\n              ),\n              tutorialItemRelativePos: 'welcome',\n              isWelcome: true\n            },\n            {\n              ref: 'id_tabs_reservations',\n              title: this.$t(\n                'Views.Reservations.Reservations.Tutorial_1_Title2'\n              ),\n              message: this.$t(\n                'Views.Reservations.Reservations.Tutorial_1_Message2'\n              ),\n              tutorialItemRelativePos: 'bottom'\n            },\n            {\n              ref: 'id_search_bar',\n              title: this.$t(\n                'Views.Reservations.Reservations.Tutorial_1_Title3'\n              ),\n              message: this.$t(\n                'Views.Reservations.Reservations.Tutorial_1_Message3'\n              ),\n              tutorialItemRelativePos: 'bottom'\n            },\n            {\n              ref: 'id_search_date',\n              title: this.$t(\n                'Views.Reservations.Reservations.Tutorial_1_Title4'\n              ),\n              message: this.$t(\n                'Views.Reservations.Reservations.Tutorial_1_Message4'\n              ),\n              tutorialItemRelativePos: 'bottom'\n            },\n            {\n              ref: 'id_search_status',\n              title: this.$t(\n                'Views.Reservations.Reservations.Tutorial_1_Title5'\n              ),\n              message: this.$t(\n                'Views.Reservations.Reservations.Tutorial_1_Message5'\n              ),\n              tutorialItemRelativePos: 'bottom'\n            },\n            {\n              ref: 'id_search_button',\n              title: this.$t(\n                'Views.Reservations.Reservations.Tutorial_1_Title6'\n              ),\n              message: this.$t(\n                'Views.Reservations.Reservations.Tutorial_1_Message6'\n              ),\n              tutorialItemRelativePos: 'bottom'\n            }\n          ]\n        ]);\n\n        if (restartedByUser) {\n          this.restartTutorial();\n        } else {\n          this.setShowTutorial(true);\n        }\n      }\n    },\n\n    getMeetingtypeName(id) {\n      let arr = {\n        1: this.$t('General.MeetingType1_Name'),\n        2: this.$t('General.MeetingType2_Name'),\n        3: this.$t('General.MeetingType3_Name')\n      };\n      return arr[id];\n    }\n  }\n};\n</script>\n\n<style lang=\"scss\" scoped></style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Reservations.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Reservations.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Reservations.vue?vue&type=template&id=148e5cc4&scoped=true\"\nimport script from \"./Reservations.vue?vue&type=script&lang=js\"\nexport * from \"./Reservations.vue?vue&type=script&lang=js\"\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  \"148e5cc4\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[(_vm.mReservation)?_c('div',[(_vm.showSideDrawer)?_c('ui-component-drawer',{attrs:{\"drawerTitle\":_vm.drawerTitle,\"showDrawer\":_vm.showSideDrawer,\"onClickClose\":_vm.hideDrawer,\"position\":\"right\",\"drawerSize\":\"extra-large\"},scopedSlots:_vm._u([{key:\"content\",fn:function(){return [(_vm.showTermSummary)?_c('TermSummary',{attrs:{\"termId\":_vm.termId,\"terms\":_vm.terms}}):_vm._e()]},proxy:true}],null,false,2929936871)}):_vm._e(),_c('div',{staticClass:\"level is-align-items-baseline\"},[_c('div',{staticClass:\"level-left\"},[_c('div',[_c('div',{staticClass:\"title\"},[_vm._v(_vm._s(_vm.pageTitle))]),_c('div',{staticClass:\"subtitle\"},[_vm._v(\" \"+_vm._s(_vm.pageSubTitle)+\" \"),_c('div',[_c('span',{staticClass:\"is-size-7 has-text-weight-light is-italic has-text-grey\"},[_vm._v(_vm._s(_vm.$t('General.Created-on'))+\" \"+_vm._s(_vm._f(\"dateFormat\")(_vm._f(\"convertTimeStampToIsoDateTimeString\")(_vm.mReservation.CreatedOn),_vm.$i18n.locale, 'longDateFormat'))+\" \"+_vm._s((_vm.$t('General.On') + ' ' + _vm.$t('General.Channel')).toLowerCase())+\" \"+_vm._s(_vm.mReservation.ChannelName))]),(_vm.reservation.ReservationTerms &&  _vm.reservation.ReservationTerms.BookingTerms)?_c('span',{staticClass:\"is-size-7 has-text-weight-light is-italic has-text-grey\"},[_vm._v(\", \"),_c('a',{on:{\"click\":_vm.setShowBookingTermSummary}},[_vm._v(\"Terms: \"+_vm._s(_vm.reservation.ReservationTerms.BookingTerms.Version))])]):_vm._e()])])])]),_c('div',{staticClass:\"level-right\"},[(_vm.mReservation.Tags.length > 0)?_c('Tags',{attrs:{\"tags\":_vm.mReservation.Tags.split(',')}}):_vm._e()],1)]),(_vm.isDraft)?_c('Message',{staticClass:\"is-info has-text-pre-line\",attrs:{\"message\":_vm.$t('Views.Reservation.ReservationDetails.Message_IsDraft')}}):_vm._e(),(_vm.showTabs && !_vm.isDraft)?_c('div',{staticClass:\"tabs is-boxed is-small\"},[_c('ul',{staticClass:\"has-margin-top\"},[_c('li',{class:{ 'is-active': _vm.showSummary }},[_c('a',{on:{\"click\":_vm.setShowSummary}},[_vm._v(_vm._s(_vm.$t('Components.Reservation.ReservationSummary.List_Summary')))])]),_c('li',{class:{ 'is-active': _vm.showContacts }},[_c('a',{on:{\"click\":function($event){return _vm.setShowContacts()}}},[_c('span',[_vm._v(_vm._s(_vm.$t('Components.Reservation.ReservationSummary.List_Contacts')))])])]),(_vm.locationId > 0)?_c('li',{class:{\n            'is-active': _vm.showNotes,\n          }},[_c('a',{on:{\"click\":_vm.setShowNotes}},[_c('span',[_vm._v(_vm._s(_vm.$t('Components.Reservation.ReservationSummary.List_Notes')))]),(_vm.reservation.Notes.length > 0)?_c('span',[_vm._v(\" (\"+_vm._s(_vm.reservation.Notes.length)+\")\")]):_vm._e()])]):_vm._e(),(_vm.locationId > 0)?_c('li',{class:{\n            'is-active': _vm.showTodos,\n          }},[_c('a',{on:{\"click\":_vm.setShowTodos}},[_c('span',[_vm._v(_vm._s(_vm.$t('Components.Reservation.ReservationSummary.List_ToDos')))]),_c('span',[_vm._v(\" (\"+_vm._s(_vm.nrOfOpenToDos)+\")\")])])]):_vm._e(),_c('li',{class:{\n            'is-active': _vm.showComments,\n          }},[_c('a',{on:{\"click\":_vm.setShowComments}},[_c('span',[_vm._v(_vm._s(_vm.$t('Components.Reservation.ReservationSummary.List_Comments')))]),(_vm.reservation.Comments.filter(c => !c.IsDeleted).length > 0)?_c('span',[_vm._v(\" (\"+_vm._s(_vm.reservation.Comments.filter(c => !c.IsDeleted).length)+\")\")]):_vm._e()])])])]):_vm._e(),_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[(_vm.showSummary && _vm.mReservation && _vm.locationState)?_c('div',{staticClass:\"has-text-left is-size-7 is-size-6-desktop\"},[_c('ReservationDetail',{attrs:{\"reservationKey\":_vm.mReservation.Key,\"locationId\":_vm.locationId,\"isShownInDrawer\":true}}),(_vm.isEmployee)?_c('div',{staticClass:\"has-margin-bottom has-text-centered\"},[_c('a',{staticClass:\"button is-primary is-medium\",on:{\"click\":function($event){return _vm.goToReservation()}}},[_vm._v(_vm._s(_vm.$t( 'Components.Reservation.ReservationSummary.Button_OpenReservation' )))])]):_vm._e()],1):_vm._e()]),(_vm.showContacts)?_c('div',[_c('ReservationContacts')],1):_vm._e(),(_vm.showNotes)?_c('div',[_c('Notes',{attrs:{\"locationId\":_vm.mReservation.LocationId,\"typeId\":'Reservation',\"itemId\":_vm.mReservation.Id,\"notes\":_vm.mReservation.Notes},on:{\"noteAdded\":_vm.noteAdded,\"noteDeleted\":_vm.noteDeleted,\"noteUpdated\":_vm.noteUpdated}})],1):_vm._e(),(_vm.showTodos)?_c('div',[_c('ToDos',{attrs:{\"locationId\":_vm.mReservation.LocationId,\"typeId\":'Reservation',\"itemId\":_vm.mReservation.Id,\"todos\":_vm.reservation.ToDos,\"viewType\":\"small\"},on:{\"todoAdded\":_vm.todoAdded,\"todoDeleted\":_vm.todoDeleted,\"todoUpdated\":_vm.todoUpdated}})],1):_vm._e(),(_vm.showComments)?_c('div',[_c('ReservationComments',{attrs:{\"isEmployee\":_vm.isEmployee}})],1):_vm._e()],1):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <transition\n    name=\"fade\"\n    mode=\"out-in\"\n  >\n    <div v-if=\"mReservation\">\n      <ui-component-drawer\n        v-if=\"showSideDrawer\"\n        :drawerTitle=\"drawerTitle\"\n        :showDrawer=\"showSideDrawer\"\n        :onClickClose=\"hideDrawer\"\n        position=\"right\"\n        drawerSize=\"extra-large\"\n      >\n        <template v-slot:content>\n          <TermSummary\n            v-if=\"showTermSummary\"\n            :termId=\"termId\"\n            :terms=\"terms\"\n          />\n        </template>\n      </ui-component-drawer>\n\n      <div class=\"level is-align-items-baseline\">\n        <div class=\"level-left\">\n          <div>\n            <div class=\"title\">{{ pageTitle }}</div>\n            <div class=\"subtitle\">\n              {{ pageSubTitle }}\n              <div>\n                <span class=\"is-size-7 has-text-weight-light is-italic has-text-grey\">{{ $t('General.Created-on') }}\n                  {{\n                    mReservation.CreatedOn\n                      | convertTimeStampToIsoDateTimeString\n                      | dateFormat($i18n.locale, 'longDateFormat')\n                  }}\n                  {{\n                    ($t('General.On') + ' ' + $t('General.Channel')).toLowerCase()\n                  }}\n                  {{ mReservation.ChannelName }}</span>\n\n                <span\n                  v-if=\"reservation.ReservationTerms &&  reservation.ReservationTerms.BookingTerms\"\n                  class=\"is-size-7 has-text-weight-light is-italic has-text-grey\"\n                >,\n                  <a @click=\"setShowBookingTermSummary\">Terms:\n                    {{ reservation.ReservationTerms.BookingTerms.Version }}</a></span>\n              </div>\n            </div>\n          </div>\n        </div>\n\n        <div class=\"level-right\">\n          <Tags\n            v-if=\"mReservation.Tags.length > 0\"\n            :tags=\"mReservation.Tags.split(',')\"\n          />\n        </div>\n      </div>\n      \n      <Message\n        v-if=\"isDraft\"\n        class=\"is-info has-text-pre-line\"\n        :message=\"$t('Views.Reservation.ReservationDetails.Message_IsDraft')\"\n      />\n\n      <div\n        v-if=\"showTabs && !isDraft\"\n        class=\"tabs is-boxed is-small\"\n      >\n        <ul class=\"has-margin-top\">\n          <li :class=\"{ 'is-active': showSummary }\">\n            <a @click=\"setShowSummary\">{{\n              $t('Components.Reservation.ReservationSummary.List_Summary')\n            }}</a>\n          </li>\n          <li :class=\"{ 'is-active': showContacts }\">\n            <a @click=\"setShowContacts()\"><span>{{\n                $t('Components.Reservation.ReservationSummary.List_Contacts')\n              }}</span></a>\n          </li>\n          <li\n            v-if=\"locationId > 0\"\n            :class=\"{\n              'is-active': showNotes,\n            }\"\n          >\n            <a @click=\"setShowNotes\"><span>{{\n                $t('Components.Reservation.ReservationSummary.List_Notes')\n              }}</span>\n              <span v-if=\"reservation.Notes.length > 0\">&nbsp;({{ reservation.Notes.length }})</span>\n            </a>\n          </li>\n          <li\n            v-if=\"locationId > 0\"\n            :class=\"{\n              'is-active': showTodos,\n            }\"\n          >\n            <a @click=\"setShowTodos\">\n              <span>{{\n                $t('Components.Reservation.ReservationSummary.List_ToDos')\n              }}</span>\n              <span>&nbsp;({{ nrOfOpenToDos }})</span>\n            </a>\n          </li>\n\n          <li :class=\"{\n              'is-active': showComments,\n            }\">\n            <a @click=\"setShowComments\">\n              <span>{{\n                $t('Components.Reservation.ReservationSummary.List_Comments')\n              }}</span>\n              <span v-if=\"reservation.Comments.filter(c => !c.IsDeleted).length > 0\">&nbsp;({{ reservation.Comments.filter(c => !c.IsDeleted).length }})</span></a>\n          </li>\n        </ul>\n      </div>\n\n      <transition\n        name=\"fade\"\n        mode=\"out-in\"\n      >\n        <div\n          v-if=\"showSummary && mReservation && locationState\"\n          class=\"has-text-left is-size-7 is-size-6-desktop\"\n        >\n          <ReservationDetail\n            :reservationKey=\"mReservation.Key\"\n            :locationId=\"locationId\"\n            :isShownInDrawer=\"true\"\n          />\n\n          <div\n            v-if=\"isEmployee\"\n            class=\"has-margin-bottom has-text-centered\"\n          >\n            <a\n              @click=\"goToReservation()\"\n              class=\"button is-primary is-medium\"\n            >{{\n              $t(\n                'Components.Reservation.ReservationSummary.Button_OpenReservation'\n              )\n            }}</a>\n          </div>\n        </div>\n      </transition>\n\n      <div v-if=\"showContacts\">\n        <ReservationContacts />\n      </div>\n\n      <div v-if=\"showNotes\">\n        <Notes\n          :locationId=\"mReservation.LocationId\"\n          :typeId=\"'Reservation'\"\n          :itemId=\"mReservation.Id\"\n          :notes=\"mReservation.Notes\"\n          @noteAdded=\"noteAdded\"\n          @noteDeleted=\"noteDeleted\"\n          @noteUpdated=\"noteUpdated\"\n        />\n      </div>\n\n      <div v-if=\"showTodos\">\n        <ToDos\n          :locationId=\"mReservation.LocationId\"\n          :typeId=\"'Reservation'\"\n          :itemId=\"mReservation.Id\"\n          :todos=\"reservation.ToDos\"\n          viewType=\"small\"\n          @todoAdded=\"todoAdded\"\n          @todoDeleted=\"todoDeleted\"\n          @todoUpdated=\"todoUpdated\"\n        />\n      </div>\n\n      <div v-if=\"showComments\">\n        <ReservationComments :isEmployee=\"isEmployee\" />\n      </div>\n    </div>\n  </transition>\n</template>\n\n<script>\nimport { mapState, mapMutations, mapGetters } from 'vuex'\nimport { EventBus } from '@/eventbus/event-bus'\nimport { cleanSource } from '@/utils/objectHelper'\nimport locationProvider from '@/providers/location'\nimport reservationProvider from '@/providers/reservation'\nimport Message from '@/components/UI/Message.vue'\nimport Tags from '@/components/UI/Tags.vue'\n\nexport default {\n  components: {\n    ReservationDetail: () => import(/* webpackChunkName: \"reservation-summary\" */ '@/components/Reservations/ReservationDetail'),\n    Notes: () => import(/* webpackChunkName: \"reservation-summary\" */ '@/components/Notes/Notes'),\n    ToDos: () => import(/* webpackChunkName: \"reservation-summary\" */ '@/components/ToDos/ToDos'),\n    TermSummary: () => import(/* webpackChunkName: \"reservation-summary\" */ '@/components/Terms/TermSummary'),\n    ReservationContacts: () => import(/* webpackChunkName: \"reservation-summary\" */ '@/components/Reservations/ReservationContacts'),\n    ReservationComments: () => import(/* webpackChunkName: \"reservation-summary\" */ '@/components/Reservations/ReservationComments'),\n    Message,\n    Tags,\n  },\n\n  props: {\n    locationId: {\n      default: 0,\n      type: Number,\n    },\n\n    reservationKey: {\n      default: '',\n      type: String,\n      required: true\n    },\n\n    showTabs: {\n      type: Boolean,\n      default: true,\n    },\n  },\n\n  data() {\n    return {\n      mReservation: null,\n      showSummary: true,\n      showTodoWarning: false,\n      showContacts: false,\n      showNotes: false,\n      showTodos: false,\n      showComments: false,\n      showTermSummary: false,\n      showSideDrawer: false,\n      termId: 0,\n      terms: null,\n    }\n  },\n\n  created() {\n    if (this.reservation && this.reservationKey === this.reservation.Key) {\n      this.mReservation = cleanSource(this.reservation);\n    }\n\n    if (!this.mReservation) {\n      this.getReservationData()\n    }\n  },\n\n\n  mounted() {\n  },\n\n  beforeDestroy() {\n    this.mReservation = null\n    this.setReservation(null)\n\n    EventBus.$off('optionSelected')\n    EventBus.$off('spaceSelected')\n  },\n\n  computed: {\n    ...mapState('locationStore', ['locationState']),\n    ...mapState('reservationStore', ['reservation']),\n    ...mapGetters('reservationStore', ['isDraft']),\n\n    isEmployee() {\n      let employee = false;\n\n      if (this.locationState && this.locationState.LocationAccountRights) {\n        employee = true;\n      }\n\n      return employee;\n    },\n\n    pageTitle() {\n      let temp = this.$t('ReservationType.type_' + this.reservation.Type);\n\n      temp += `; ${this.reservation.LocationName}`;\n      return temp;\n    },\n\n    pageSubTitle() {\n      let temp = ''\n      if (this.reservation) {\n        if (this.reservation.MeetingtypeId < 3) {\n          temp += `${this.$options.filters.dateFormat(\n            this.reservation.StartDate,\n            this.$i18n.locale,\n            'longDateFormat'\n          )}`\n          temp += `, ${this.$options.filters.minutesToTime(\n            this.reservation.StartMinutes\n          )} - ${this.$options.filters.minutesToTime(\n            this.reservation.EndMinutes\n          )}`\n        } else {\n          temp += `${this.$options.filters.dateFormat(\n            this.reservation.StartDate,\n            this.$i18n.locale,\n            'longDateFormat'\n          )} - ${this.$options.filters.dateFormat(\n            this.reservation.EndDate,\n            this.$i18n.locale,\n            'longDateFormat'\n          )}`\n        }\n      }\n      return temp\n    },\n\n    comments() {\n      let comments = [];\n      if (this.mReservation && this.mReservation.Comments) {\n        comments = this.mReservation.Comments.filter((c) => c.ParentId === 0)\n      }\n      return comments;\n    },\n\n    nrOfOpenToDos() {\n      let self = this\n      let total = 0\n\n      if (this.mReservation && this.mReservation.ToDos) {\n        for (let i = 0; i < this.mReservation.ToDos.length; i++) {\n          let todo = this.mReservation.ToDos[i]\n          if (!todo.IsDone) {\n            total++\n          }\n        }\n      }\n\n      if (total > 0) {\n        self.showTodoWarning = true\n      }\n\n      return total\n    },\n  },\n\n  methods: {\n    ...mapMutations('locationStore', ['setLocationState']),\n    ...mapMutations('reservationStore', ['setReservation']),\n\n    getLocationState() {\n      locationProvider.methods\n        .getLocationState(this.mReservation.LocationId)\n        .then((response) => {\n          if (response.status === 200) {\n            this.setLocationState(response.data)\n          }\n        })\n        .catch((err) => { })\n    },\n\n    getReservationData() {\n      reservationProvider.methods.getReservationByKey(this.$props.reservationKey)\n        .then((response) => {\n          if (response.status === 200) {\n            this.mReservation = response.data\n            this.setReservation(response.data)\n\n            if (!this.locationState) {\n              this.getLocationState()\n            }\n          }\n        })\n        .catch((err) => { })\n    },\n\n    todoAdded(todo) {\n      this.mReservation.ToDos.push(todo)\n    },\n\n    todoDeleted(todo) {\n      let index = this.mReservation.ToDos.findIndex((t) => t.Id === todo.Id)\n      if (index > -1) {\n        this.mReservation.ToDos.splice(index, 1)\n      }\n    },\n\n    todoUpdated(todo) {\n      let index = this.mReservation.ToDos.findIndex((t) => t.Id === todo.Id)\n      this.$set(this.mReservation.ToDos, index, todo)\n    },\n\n    noteAdded(note) {\n      this.mReservation.Notes.push(note)\n    },\n\n    noteDeleted(note) {\n      let index = this.mReservation.Notes.findIndex((t) => t.Id === note.Id)\n      if (index > -1) {\n        this.mReservation.Notes.splice(index, 1)\n      }\n    },\n\n    noteUpdated(note) {\n      let index = this.mReservation.Notes.findIndex((t) => t.Id === note.Id)\n      this.$set(this.mReservation.Notes, index, note)\n    },\n\n    goToReservation() {\n      EventBus.$emit('navigated');\n\n      this.$router.push({\n        name: `reservations-list-detail`,\n        params: { reservationKey: this.mReservation.Key },\n      })\n    },\n\n    setShowSummary() {\n      this.setVisibleItem('summary')\n    },\n\n    setShowNotes() {\n      this.setVisibleItem('notes')\n    },\n\n    setShowTodos() {\n      this.setVisibleItem('todos')\n    },\n\n    setShowComments() {\n      this.setVisibleItem('comments')\n    },\n\n    setShowAddOption() {\n      this.setVisibleItem('addOption')\n    },\n\n    setShowAddSpace() {\n      this.setVisibleItem('addSpace')\n    },\n\n    setShowChangeSpace() {\n      this.setVisibleItem('changeSpace')\n    },\n\n    setShowContacts() {\n      this.setVisibleItem('contacts')\n    },\n\n    setShowBookingTermSummary() {\n      this.drawerTitle = 'Booking terms'\n      this.showTermSummary = true\n      this.showSideDrawer = true\n\n      this.termId = this.mReservation.ReservationTerms.BookingTerms.Id\n      this.terms = this.mReservation.ReservationTerms.BookingTerms\n    },\n\n    setVisibleItem(item) {\n      this.showComments = item === 'comments'\n      this.showContacts = item === 'contacts'\n      this.showNotes = item === 'notes'\n      this.showTodos = item === 'todos'\n      this.showAddOption = item === 'addOption'\n      this.showAddSpace = item === 'addSpace'\n      this.showChangeSpace = item === 'changeSpace'\n      this.showSummary = item === 'summary'\n    },\n\n    hideDrawer() {\n      this.showTermSummary = false\n      this.showSideDrawer = false\n\n      this.termId = 0\n      this.terms = null\n    },\n  },\n}\n</script>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReservationSummary.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReservationSummary.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ReservationSummary.vue?vue&type=template&id=5a12408a\"\nimport script from \"./ReservationSummary.vue?vue&type=script&lang=js\"\nexport * from \"./ReservationSummary.vue?vue&type=script&lang=js\"\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 render(){var _vm=this,_c=_vm._self._c;return _c('article',{staticClass:\"message\",class:_vm.combindedClass},[_c('div',{staticClass:\"message-body\"},[(_vm.message)?[_vm._v(\" \"+_vm._s(_vm.message)+\" \")]:_vm._e(),_vm._t(\"content\")],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <article\n    class=\"message\"\n    :class=\"combindedClass\"\n  >\n    <div class=\"message-body\">\n      <template v-if=\"message\">\n        {{ message }}\n      </template>\n      <slot name=\"content\"></slot>\n    </div>\n  </article>\n</template>\n\n<script>\nexport default {\n  props: {\n    /**\n     * For what'll be shown inside of the message box.\n     */\n    message: {\n      type: String,\n      default: ''\n    },\n\n    size: {\n      type: String,\n      default: ''\n    },\n\n    /**\n     * type bepaalt het type weergave\n     * eq. is-info = for information style. It defines the style of the message\n     */\n    type: {\n      type: String,\n      default: 'is-info'\n    }\n  },\n  data() {\n    return {};\n  },\n\n  computed: {\n    combindedClass() {\n      let c = this.type;\n\n      if (this.size.length > 0) {\n        c = c + ' ' + this.size;\n      }\n\n      return c;\n    }\n  }\n};\n</script>\n\n<style lang=\"scss\" scoped></style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Message.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Message.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Message.vue?vue&type=template&id=509443f1&scoped=true\"\nimport script from \"./Message.vue?vue&type=script&lang=js\"\nexport * from \"./Message.vue?vue&type=script&lang=js\"\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  \"509443f1\",\n  null\n  \n)\n\nexport default component.exports"],"sourceRoot":""}