text: (window.webpackJsonp=window.webpackJsonp||[]).push([[47],{13:function(t,a,i){"use strict";var s={name:"ViewLayoutGBI",components:{"back-button":i(19).a},props:["backurl"]},n=i(0),e=Object(n.a)(s,(function(){var t=this.$createElement,a=this._self._c||t;return a("section",{staticClass:"content"},[a("div",{staticClass:"row pt-3 pb-4"},[a("div",{staticClass:"col-sm-12 card_view"},[this._t("viewdata"),this._v(" "),a("div",{staticClass:"text-center"},[a("back-button",{attrs:{url:this.backurl}})],1)],2)])])}),[],!1,null,null,null);a.a=e.exports},19:function(t,a,i){"use strict";var s={name:"BackButtonGBI",props:["url"],methods:{goBack:function(){this.$router.back()}}},n=i(0),e=Object(n.a)(s,(function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("span",[t.url?i("router-link",{staticClass:"btn btn-primary itrn_add_btn back_btn text-capitalize font-weight-bold",attrs:{to:t.url},on:{click:function(a){return t.goBack()}}},[t._t("default",[t._v("Back")])],2):i("button",{staticClass:"btn btn-primary itrn_add_btn back_btn text-capitalize font-weight-bold",attrs:{type:"button"},on:{click:function(a){return t.goBack()}}},[t._t("default",[t._v("Back")])],2)],1)}),[],!1,null,null,null);a.a=e.exports},293:function(t,a,i){"use strict";i.r(a);var s={name:"ViewItinerary",components:{"view-layout":i(13).a},data:function(){return{day:0,itineraryData:[]}},created:function(){this.getData()},methods:{getData:function(){var t=this,a="/api/itinerary/".concat(this.$route.params.id);axios.get(a).then((function(a){t.itineraryData=a.data}))}}},n=i(0),e=Object(n.a)(s,(function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("view-layout",{scopedSlots:t._u([{key:"viewdata",fn:function(){return[i("div",{staticClass:"row pl-3"},[i("div",{staticClass:"col-sm-3"},[i("h5",[t._v("Source")]),t._v(" "),i("p",[t._v(t._s(t.itineraryData.source))])]),t._v(" "),i("div",{staticClass:"col-sm-3"},[i("h5",[t._v("Destination")]),t._v(" "),i("p",[t._v(t._s(t.itineraryData.destination))])]),t._v(" "),i("div",{staticClass:"col-sm-3"},[i("h5",[t._v("Number of Days")]),t._v(" "),i("p",[t._v(t._s(t.itineraryData.noofdays))])]),t._v(" "),i("div",{staticClass:"col-sm-3"},[i("h5",[t._v("Tour Type")]),t._v(" "),i("p",[t._v(t._s(t.itineraryData.tourtype))])]),t._v(" "),i("div",{staticClass:"col-sm-12"},[i("h5",[t._v("Title")]),t._v(" "),i("p",[t._v(t._s(t.itineraryData.title))])]),t._v(" "),i("div",{staticClass:"col-sm-12"},[i("h5",[t._v("Description")]),t._v(" "),i("div",[i("p",{staticClass:"li-padding-18",domProps:{innerHTML:t._s(t.itineraryData.description)}})])]),t._v(" "),t._l(t.itineraryData.itinerarydays,(function(a){return i("div",{key:a.id,staticClass:"col-sm-12"},[i("hr"),t._v(" "),i("div",{staticClass:"row"},[i("div",{staticClass:"col-sm-12"},[i("h4",[i("strong",[t._v("Day "+t._s(a.day))])]),t._v(" "),i("h5",[t._v("Title")]),t._v(" "),i("p",[t._v(t._s(a.day_source)+" - "+t._s(a.day_destination))])])]),t._v(" "),i("div",{staticClass:"row"},[i("div",{staticClass:"col-sm-12"},[i("h5",[t._v("Description")]),t._v(" "),i("p",{staticClass:"li-padding-18",domProps:{innerHTML:t._s(a.day_description)}})])])])}))],2)]},proxy:!0}])})}),[],!1,null,null,null);a.default=e.exports}}]);