webpackJsonp([4,38],{434:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=i(538),n=i(637),a=i(7),r=a(o.a,n.a,!1,null,null,null);t.default=r.exports},447:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=i(554),n=i(668),a=i(7),r=a(o.a,n.a,!1,null,null,null);t.default=r.exports},453:function(e,t,i){"use strict";function o(e,t){return new c.a(function(i,o){v()({method:_.a.ajaxMethod,url:e,data:t,dataType:"json"}).then(function(e){i(e)}).catch(function(){})})}function n(e,t){return new c.a(function(i,o){v.a.post(e,r()(t),{responseType:"blob"}).then(function(e){i(e)}).catch(function(e){o(e)})})}var a=i(55),r=i.n(a),s=i(8),c=i.n(s),l=i(11),v=i.n(l),_=i(20);t.a={getBookings:function(e){return o(_.a.getBookings,e)},getDetail:function(e){return o(_.a.getBookingDetail,e)},cancel:function(e){return o(_.a.cancelBooking,e)},getBookingVoucher:function(e){return o(_.a.getBookingVoucher,e)},getBookingProformaInvoice:function(e){return o(_.a.getBookingProformaInvoice,e)},hotelUpdatePayment:function(e){return o(_.a.hotelUpdatePayment,e)},hotelCheckPaymentStatus:function(e){return o(_.a.hotelCheckPaymentStatus,e)},hotelUpdatePayment2c2p:function(e){return o(_.a.hotelUpdatePayment2c2p,e)},hotelChangetoBankTransfer:function(e){return o(_.a.hotelChangetoBankTransfer,e)},hotelChangetoCreditCard:function(e){return o(_.a.hotelChangetoCreditCard,e)},getWBookings:function(e){return o(_.a.getWBookings,e)},getWDetail:function(e){return o(_.a.getWBookingDetail,e)},getWLConnectingPaxBookings:function(e){return o(_.a.getWLConnectingPaxBookings,e)},getWLConnectingPaxBookingDetail:function(e){return o(_.a.getWLConnectingPaxBookingDetail,e)},getWLConnectingTastePaxBookings:function(e){return o(_.a.getWLConnectingTastePaxBookings,e)},getWLConnectingTasteBookingDetail:function(e){return o(_.a.getWLConnectingTasteBookingDetail,e)},exportGroupBookingEnquiries:function(e){return n(_.a.exportGroupBookingEnquiries,e)},exportWLBookings:function(e){return n(_.a.exportWLBookings,e)},exportFnbBookings:function(e){return n(_.a.exportFnbBookings,e)}}},480:function(e,t,i){"use strict";var o=i(9),n=i.n(o),a=i(453);t.a={name:"fc-booking-cancel",props:{detail:{type:Object,default:null},id:{type:Number,default:null}},data:function(){return{booking:null,selectedBank:null,paidAmount:0,paidCurrency:"",bankReference:"",isPaying:!1}},computed:{currencies:function(){if(this.booking){var e=[];return e.push(this.booking.buyerTransactionCurrencyCode),this.booking.buyerTransactionCurrencyCode!==this.booking.officeBaseCurrencyCode&&e.push(this.booking.officeBaseCurrencyCode),this.paidCurrency=e[0],e}return[]}},mounted:function(){this.isPaying=!1,this.$nextTick(function(){n()(".ui.dropdown").dropdown()});var e=this.id;if(void 0===e||null===e||isNaN(parseInt(e)))return void(this.booking=this.detail);this.getBookingDetail(e)},methods:{getBookingDetail:function(e){var t=this;a.a.getDetail({propertiesBookingId:parseInt(e)}).then(function(e){t.booking=e})},cancel:function(){this.isPaying=!1,this.$emit("cancel")},ok:function(){var e=this;if(parseInt(this.booking.propertiesBookingId)<=0||parseFloat(this.paidAmount)<=0||!this.paidCurrency||!this.bankReference)return void n.a.alert({title:"Fail",content:"Please fill in payment information",type:"red",useBootstrap:!1});a.a.hotelUpdatePayment({propertiesBookingId:parseInt(this.booking.propertiesBookingId),paidAmount:parseFloat(this.paidAmount),currency:this.paidCurrency,bankReference:this.bankReference}).then(function(t){n.a.alert({title:"Success",content:"Payment information submitted.<br />Equator will verify and confirm your payment shortly.",type:"green",useBootstrap:!1}),e.$emit("cancel")})},payOnline:function(){a.a.hotelUpdatePayment2c2p({propertiesBookingId:parseInt(this.booking.propertiesBookingId)}).then(function(e){"undefined"!=typeof window&&e.webPaymentUrl&&(window.location.href=e.webPaymentUrl)})},changePayment:function(){var e=this;a.a.hotelChangetoBankTransfer({propertiesBookingId:parseInt(this.booking.propertiesBookingId)}).then(function(t){e.getBookingDetail(e.booking.propertiesBookingId),e.isPaying=!0})},changeToCreditCard:function(){var e=this;a.a.hotelChangetoCreditCard({propertiesBookingId:parseInt(this.booking.propertiesBookingId)}).then(function(t){e.payOnline()})}}}},484:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=i(480),n=i(502),a=i(7),r=a(o.a,n.a,!1,null,null,null);t.default=r.exports},502:function(e,t,i){"use strict";var o=function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.booking?i("div",{staticClass:"fc-cancel-container",on:{click:function(t){return t.target!==t.currentTarget?null:e.cancel(t)}}},[i("div",{staticClass:"fc-cancel-content"},[i("div",{staticClass:"fc-update-title"},[e._v("Update Payment")]),e._v(" "),e.isPaying?[i("div",{staticClass:"fc-update-container"},[i("div",[i("label",[e._v("Booking No:")]),e._v(" "),i("span",[e._v(e._s(e.booking.bookingRef))])]),e._v(" "),i("div",[i("label",[e._v("Payable Total:")]),e._v(" "),i("span",[e._v(e._s(e.booking.currency)+" "+e._s(e._f("price")(e.booking.payableTotal)))])]),e._v(" "),e.booking.officeBanks&&e.booking.officeBanks.length>0?i("div",{staticClass:"fc-bank-infos"},[i("label",[e._v("Select Bank")]),e._v(" "),i("div",{staticClass:"fc-banks"},e._l(e.booking.officeBanks,function(t){return i("div",{key:t.officeBankId,on:{click:function(i){e.selectedBank=t}}},[i("input",{attrs:{type:"radio",name:"Bank",id:"bank_"+t.officeBankId},domProps:{value:t.officeBankId,checked:t.officeBankId==e.selectedBank.officeBankId}}),e._v(" "),i("label",{attrs:{for:"bank_"+t.officeBankId}},[e._v("Bank: "+e._s(t.bankName)),i("br"),e._v("\n                Account: "+e._s(t.bankAccountNo)),i("br"),e._v("\n                SWIFT Code: "+e._s(t.bankSwiftCode)+"\n              ")])])}),0),e._v(" "),i("div",{staticClass:"fc-update-payment-detail"},[i("div",[i("select",{directives:[{name:"model",rawName:"v-model",value:e.paidCurrency,expression:"paidCurrency"}],staticClass:"ui selection dropdown",on:{change:function(t){var i=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.paidCurrency=t.target.multiple?i:i[0]}}},e._l(e.currencies,function(t,o){return i("option",{key:o,domProps:{value:t}},[e._v(e._s(t))])}),0),e._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:e.paidAmount,expression:"paidAmount"}],staticClass:"fc-update-total",attrs:{type:"text",autocomplete:"off"},domProps:{value:e.paidAmount},on:{input:function(t){t.target.composing||(e.paidAmount=t.target.value)}}})]),e._v(" "),i("div",[i("label",[e._v("Bank Reference")]),e._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:e.bankReference,expression:"bankReference"}],staticClass:"fc-update-reference",attrs:{type:"text",autocomplete:"off"},domProps:{value:e.bankReference},on:{input:function(t){t.target.composing||(e.bankReference=t.target.value)}}})])])]):e._e()]),e._v(" "),i("div",{staticClass:"fc-action"},[i("a",{staticClass:"fc-btn-cancel",on:{click:e.cancel}},[e._v("Cancel")]),e._v(" "),i("a",{staticClass:"fc-btn-confirm",on:{click:e.ok}},[e._v("Confirm")])])]:e._e(),e._v(" "),e.isPaying?e._e():[i("div",{staticClass:"fc-action"},["Bank Transfer"==e.booking.paymentTerm?["Bank Transfer"==e.booking.paymentTerm?i("a",{staticClass:"fc-btn-cancel",on:{click:e.changeToCreditCard}},[e._v("Change to Credit Card")]):e._e(),e._v(" "),i("a",{staticClass:"fc-btn-confirm",on:{click:function(t){e.isPaying=!0}}},[e._v("Continue to Pay")])]:e._e(),e._v(" "),"Credit Card"==e.booking.paymentTerm?[i("a",{staticClass:"fc-btn-cancel",on:{click:e.changePayment}},[e._v("Change to Bank Transfer")]),e._v(" "),i("a",{staticClass:"fc-btn-confirm",on:{click:e.payOnline}},[e._v("Continue to Pay")])]:e._e()],2)]],2)]):e._e()},n=[],a={render:o,staticRenderFns:n};t.a=a},538:function(e,t,i){"use strict";(function(e){var o=i(453),n=i(0),a=i.n(n),r=i(539),s=i(484);t.a={name:"profile-booking-detail",data:function(){return{booking:null,cancelling:!1,showUpdatePayment:!1}},components:{cancel:r.a,updatePayment:s.default},mounted:function(){var t=this;"undefined"!=typeof window&&new Promise(function(e){e()}).then(i.bind(null,9)).then(function(){var i=t.$route.query.id;void 0===i||isNaN(parseInt(i))||o.a.getDetail({propertiesBookingId:parseInt(i)}).then(function(i){t.booking=i,t.$nextTick(function(){e(".fc-booking-viewmore >a").click(function(){var t=e(this).closest(".fc-booking-rooms_rate_item").next();t.hasClass("fc-active")?(e(this).html("view more..."),t.removeClass("fc-active")):(e(this).html("view less..."),t.addClass("fc-active"))})})})})},computed:{isCancellable:function(){if(!this.booking||"CANCELLED"==this.booking.status)return!1;for(var e=!1,t=a()(this.booking.checkin).diff(a()(),"days"),i=0;i<this.booking.properties.length;i++)for(var o=0;o<this.booking.properties[i].propertiesBookingItems.length;o++)for(var n=this.booking.properties[i].propertiesBookingItems[o],r=0;r<n.cancellationPolicies.length;r++){var s=n.cancellationPolicies[r];s&&s.penalty&&s.penalty.indexOf("No Penalty")>-1&&s.cancelBeforeDays<t&&!e&&(e=!0)}return e},lstPolicies:function(){if(!this.booking)return[];for(var e=(this.booking.properties.map(function(e){return e.propertiesBookingItems.map(function(e){return e.cancellationPolicies})}),[]),t=0;t<this.booking.properties.length;t++)for(var i=0;i<this.booking.properties[t].propertiesBookingItems.length;i++)for(var o=this.booking.properties[t].propertiesBookingItems[i],n=0;n<o.cancellationPolicies.length;n++){var a=o.cancellationPolicies[n];void 0!==a&&null!==a&&e.push(a)}return e}},methods:{dateToString:function(e,t){return a()(e).format(t)},backtoList:function(){this.$router.push({path:this.RouterConfig.BookingList})},downloadVoucher:function(){o.a.getBookingVoucher({propertiesBookingId:this.booking.propertiesBookingId}).then(function(e){if(e&&e.bookingVourcherUrl){window.open("","_blank").location=e.bookingVourcherUrl}})},proformaInvoice:function(){o.a.getBookingProformaInvoice({propertiesBookingId:this.booking.propertiesBookingId}).then(function(e){if(e&&e.bookingVourcherUrl){window.open("","_blank").location=e.bookingVourcherUrl}})},cancelBooking:function(){var t=this;this.booking&&"Bank Transfer"==this.booking.paymentTerm?this.cancelling=!0:e.confirm({title:"Warning",content:"You are about to cancel this booking. "+(this.booking.isCancelNoPenalty?"Please note that transaction fee will not be refunded. ":"")+"Confirm to proceed?",type:"orange",useBootstrap:!1,buttons:{tryAgain:{text:"Yes",action:function(){o.a.cancel({propertiesBookingId:parseInt(t.booking.propertiesBookingId)}).then(function(e){t.$router.push({path:t.RouterConfig.BookCancelled,query:{id:t.booking.propertiesBookingId}})})}},close:function(){}}})},doCancelAction:function(e){var t=this;this.cancelling=!1,o.a.cancel(e).then(function(e){t.$router.push({path:t.RouterConfig.BookCancelled,query:{id:t.booking.propertiesBookingId}})})}}}}).call(t,i(9))},539:function(e,t,i){"use strict";var o=i(540),n=i(636),a=i(7),r=a(o.a,n.a,!1,null,null,null);t.a=r.exports},540:function(e,t,i){"use strict";var o=i(9),n=i.n(o);t.a={name:"fc-booking-cancel",props:{detail:{type:Object,default:null},policy:{type:Array,default:function(){return[]}},id:{type:String,default:null}},data:function(){return{cancelReason:1,bankName:"",swiftCode:"",accountName:"",accountNo:"",agree:!1}},mounted:function(){n()(".ui.dropdown").dropdown(),n()(".ui.checkbox").checkbox(),(!this.id||parseInt(this.id)<=0)&&this.cancel()},methods:{cancel:function(){this.$emit("cancel")},ok:function(){if(this.detail&&"Bank Transfer"==this.detail.paymentTerm&&"Paid"==this.detail.paymentStatus){if(!(this.bankName&&this.swiftCode&&this.accountName&&this.accountNo))return;if(!this.agree)return}var e={propertiesBookingId:parseInt(this.id),bankName:this.bankName,bankSwiftCode:this.swiftCode,bankAccountNo:this.accountNo,bankAccountName:this.accountName};this.$emit("ok",e)}}}},554:function(e,t,i){"use strict";var o=i(9),n=i.n(o),a=i(453),r=(i(232),i(0)),s=i.n(r),c=i(539),l=i(484);t.a={name:"profile-booking-detail",data:function(){return{booking:null,cancelling:!1,showUpdatePayment:!1}},components:{cancel:c.a,updatePayment:l.default},created:function(){var e=this,t=this.$route.query.id;void 0===t||isNaN(parseInt(t))||a.a.getWDetail({propertiesBookingId:parseInt(t)}).then(function(t){e.booking=t,e.$nextTick(function(){n()(".fc-booking-viewmore >a").click(function(){var e=n()(this).closest(".fc-booking-rooms_rate_item").next();e.hasClass("fc-active")?(n()(this).html("view more..."),e.removeClass("fc-active")):(n()(this).html("view less..."),e.addClass("fc-active"))})})})},computed:{isCancellable:function(){if(!this.booking||"CANCELLED"==this.booking.status)return!1;for(var e=!1,t=s()(this.booking.checkin).diff(s()(),"days"),i=0;i<this.booking.properties.length;i++)for(var o=0;o<this.booking.properties[i].propertiesBookingItems.length;o++)for(var n=this.booking.properties[i].propertiesBookingItems[o],a=0;a<n.cancellationPolicies.length;a++){var r=n.cancellationPolicies[a];r&&r.penalty&&r.penalty.indexOf("No Penalty")>-1&&r.cancelBeforeDays<t&&!e&&(e=!0)}return e},lstPolicies:function(){if(!this.booking)return[];for(var e=(this.booking.properties.map(function(e){return e.propertiesBookingItems.map(function(e){return e.cancellationPolicies})}),[]),t=0;t<this.booking.properties.length;t++)for(var i=0;i<this.booking.properties[t].propertiesBookingItems.length;i++)for(var o=this.booking.properties[t].propertiesBookingItems[i],n=0;n<o.cancellationPolicies.length;n++){var a=o.cancellationPolicies[n];void 0!==a&&null!==a&&e.push(a)}return e}},methods:{dateToString:function(e,t){return s()(e).format(t)},backtoList:function(){this.$router.push({path:this.RouterConfig.WBookingList})},downloadVoucher:function(){a.a.getBookingVoucher({propertiesBookingId:this.booking.propertiesBookingId}).then(function(e){if(e&&e.bookingVourcherUrl){window.open("","_blank").location=e.bookingVourcherUrl}})},proformaInvoice:function(){a.a.getBookingProformaInvoice({propertiesBookingId:this.booking.propertiesBookingId}).then(function(e){if(e&&e.bookingVourcherUrl){window.open("","_blank").location=e.bookingVourcherUrl}})},cancelBooking:function(){var e=this;this.booking&&"Bank Transfer"==this.booking.paymentTerm?this.cancelling=!0:n.a.confirm({title:"Warning",content:"You are about to cancel this booking. "+(this.booking.isCancelNoPenalty?"Please note that transaction fee will not be refunded. ":"")+"Confirm to proceed?",type:"orange",useBootstrap:!1,buttons:{tryAgain:{text:"Yes",action:function(){a.a.cancel({propertiesBookingId:parseInt(e.booking.propertiesBookingId)}).then(function(t){e.$router.push({path:e.RouterConfig.BookCancelled,query:{id:e.booking.propertiesBookingId}})})}},close:function(){}}})},doCancelAction:function(e){var t=this;this.cancelling=!1,a.a.cancel(e).then(function(e){t.$router.push({path:t.RouterConfig.BookCancelled,query:{id:t.booking.propertiesBookingId}})})}}}},636:function(e,t,i){"use strict";var o=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"fc-cancel-container"},[i("div",{staticClass:"fc-cancel-content"},[e.detail&&"Unpaid"!=e.detail.paymentStatus?[i("label",[e._v("Please input bank information for refund.")]),e._v(" "),i("div",{staticClass:"fc-cancel-reason-container"},[i("label",[e._v("Bank Name:")]),e._v(" "),i("div",[i("input",{directives:[{name:"model",rawName:"v-model",value:e.bankName,expression:"bankName"}],attrs:{type:"text",autocomplete:"off"},domProps:{value:e.bankName},on:{input:function(t){t.target.composing||(e.bankName=t.target.value)}}}),e._v(" "),i("span",{directives:[{name:"show",rawName:"v-show",value:""===e.bankName,expression:"bankName === ''"}]},[e._v("Please enter bank name")])])]),e._v(" "),i("div",{staticClass:"fc-cancel-reason-container"},[i("label",[e._v("Swift Code:")]),e._v(" "),i("div",[i("input",{directives:[{name:"model",rawName:"v-model",value:e.swiftCode,expression:"swiftCode"}],attrs:{type:"text",autocomplete:"off"},domProps:{value:e.swiftCode},on:{input:function(t){t.target.composing||(e.swiftCode=t.target.value)}}}),e._v(" "),i("span",{directives:[{name:"show",rawName:"v-show",value:""===e.swiftCode,expression:"swiftCode === ''"}]},[e._v("Please enter swift code")])])]),e._v(" "),i("div",{staticClass:"fc-cancel-reason-container"},[i("label",[e._v("Account Name:")]),e._v(" "),i("div",[i("input",{directives:[{name:"model",rawName:"v-model",value:e.accountName,expression:"accountName"}],attrs:{type:"text",autocomplete:"off"},domProps:{value:e.accountName},on:{input:function(t){t.target.composing||(e.accountName=t.target.value)}}}),e._v(" "),i("span",{directives:[{name:"show",rawName:"v-show",value:""===e.accountName,expression:"accountName === ''"}]},[e._v("Please enter your account name")])])]),e._v(" "),i("div",{staticClass:"fc-cancel-reason-container"},[i("label",[e._v("Account No.:")]),e._v(" "),i("div",[i("input",{directives:[{name:"model",rawName:"v-model",value:e.accountNo,expression:"accountNo"}],attrs:{type:"text",autocomplete:"off"},domProps:{value:e.accountNo},on:{input:function(t){t.target.composing||(e.accountNo=t.target.value)}}}),e._v(" "),i("span",{directives:[{name:"show",rawName:"v-show",value:""===e.accountNo,expression:"accountNo === ''"}]},[e._v("Please enter your account number")])])])]:e._e(),e._v(" "),e.detail&&"Unpaid"!=e.detail.paymentStatus?i("div",{staticClass:"ui checkbox"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.agree,expression:"agree"}],attrs:{type:"checkbox",id:"chkReadPolicy"},domProps:{checked:Array.isArray(e.agree)?e._i(e.agree,null)>-1:e.agree},on:{change:function(t){var i=e.agree,o=t.target,n=!!o.checked;if(Array.isArray(i)){var a=e._i(i,null);o.checked?a<0&&(e.agree=i.concat([null])):a>-1&&(e.agree=i.slice(0,a).concat(i.slice(a+1)))}else e.agree=n}}}),e._v(" "),i("label",{attrs:{for:"chkReadPolicy"}},[e._v("You are about to cancel this booking. Please note that collection fee and transaction fee will not be refunded. Confirm to proceed?")])]):e._e(),e._v(" "),e.detail&&"Unpaid"==e.detail.paymentStatus?i("div",[e._v("You are about to cancel this booking. Confirm to proceed?")]):e._e(),e._v(" "),i("div",{staticClass:"fc-action"},[i("a",{staticClass:"fc-btn-cancel",on:{click:e.cancel}},[e._v("Cancel")]),e._v(" "),i("a",{staticClass:"fc-btn-confirm",on:{click:e.ok}},[e._v("Confirm")])])],2)])},n=[],a={render:o,staticRenderFns:n};t.a=a},637:function(e,t,i){"use strict";var o=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"ui container"},[e.booking?i("div",{staticClass:"fc-booking-detail"},[i("div",{staticClass:"fc-booking-confirmation"},[i("div",[i("div",[i("label",[e._v("Booking No")]),e._v(" "),i("div",{staticClass:"fc-booking-no"},[e._v(e._s(e.booking.bookingRef))])]),e._v(" "),i("div",[i("label",[e._v("Date")]),e._v(" "),i("div",[e._v(e._s(e.dateToString(e.booking.createdDateTime,"DD MMM YYYY HH:mm")))])]),e._v(" "),i("div",[i("label",[e._v("Book By")]),e._v(" "),i("div",[e._v(e._s(e.booking.bookBy))])])]),e._v(" "),i("div",[i("div",[i("label",[e._v("Status")]),e._v(" "),i("div",{staticClass:"fc-status-confirm",class:"CANCELLED"===e.booking.status?"fc-cancelled":"fc-success"},[e._v(e._s(e.booking.status))])]),e._v(" "),i("div",[i("label",[e._v("Payment Mode")]),e._v(" "),i("div",[e._v(e._s(e.booking.paymentTerm))])]),e._v(" "),i("div",[i("label",[e._v("Payment Status")]),e._v(" "),i("div",{class:"fc-"+e.booking.paymentStatus},[e._v("\n            "+e._s(e.booking.paymentStatus)+"\n            "),"Unpaid"==e.booking.paymentStatus?i("div",[e._v("Pls Pay By "+e._s(e.dateToString(e.booking.paymentDuedate,"DD MMM YYYY")))]):e._e()])]),e._v(" "),i("div",[i("label",[e._v("Payable Total")]),e._v(" "),i("div",[e._v(e._s(e.booking.currency)+" "+e._s(e._f("price")(e.booking.payableTotal)))])]),e._v(" "),i("div",[i("label",[e._v("Payment Due Date")]),e._v(" "),i("div",[e._v(e._s(e.dateToString(e.booking.paymentDuedate,"DD MMM YYYY")))])])])]),e._v(" "),i("div",{staticClass:"fc-booking-checkin"},[i("div",[i("label",[e._v("Check-In")]),e._v(" "),i("div",[e._v(e._s(e.dateToString(e.booking.checkin,"DD MMM YYYY")))])]),e._v(" "),i("div",[i("label",[e._v("Contact Person")]),e._v(" "),i("div",[e._v(e._s(e.booking.contactPersion))])]),e._v(" "),i("div",[i("label",[e._v("Check-Out")]),e._v(" "),i("div",[e._v(e._s(e.dateToString(e.booking.checkout,"DD MMM YYYY")))])]),e._v(" "),i("div",[i("label",[e._v("Contact Email")]),e._v(" "),i("div",[e._v(e._s(e.booking.contactEmail))])])]),e._v(" "),e._l(e.booking.properties,function(t){return e.booking.properties&&e.booking.properties.length>0?i("div",{staticClass:"fc-booking-hotel"},[i("div",{staticClass:"fc-booking-invoice"},[i("div",{staticClass:"fc-hotel-info"},[t.propertyName?i("div",{staticClass:"fc-hotel-info_name"},[e._v(e._s(t.propertyName))]):e._e(),e._v(" "),t.star?i("div",{staticClass:"fc-hotel-info_star"},[i("i"),i("i")]):e._e(),e._v(" "),t.propertyAddress?i("div",{staticClass:"fc-hotel-info_address"},[e._v(e._s(t.propertyAddress))]):e._e(),e._v(" "),t.propertyTel?i("div",{staticClass:"fc-hotel-info_tel"},[e._v("Tel: "+e._s(t.propertyTel))]):e._e(),e._v(" "),t.propertySpecialRemarks?i("div",{staticClass:"fc-hotel-info_remark"},[i("label",[e._v("Hotel Special Remarks")]),e._v(" "),i("div",{domProps:{innerHTML:e._s(t.propertySpecialRemarks)}})]):e._e(),e._v(" "),t.childrenPolicy&&t.childrenPolicy.childrenAgeTo>0?i("div",{staticClass:"fc-hotel-info_remark"},[i("label",[e._v("Hotel Children & Extra Beds Policy")]),e._v(" "),i("div",[i("div",[e._v("Children Age: "+e._s(t.childrenPolicy.childrenAgeFrom)+" - "+e._s(t.childrenPolicy.childrenAgeTo))]),e._v(" "),i("div",[e._v("Children Policy: "+e._s(t.childrenPolicy.childrenStayFree?"FREE":"NOT FREE"))])])]):e._e()]),e._v(" "),t.propertiesBookingItems.length>0?i("div",{staticClass:"fc-booking-voucher"},[t.propertiesBookingItems[0].confirmationNumber?i("div",[i("label",[e._v("Confirmation Number :")]),e._v(" "),i("div",[e._v(e._s(t.propertiesBookingItems[0].confirmationNumber))])]):e._e(),e._v(" "),i("div",[i("a",{on:{click:e.proformaInvoice}},[e._v("Proforma Invoice")]),e._v(" "),t.propertiesBookingItems[0].confirmationNumber?i("a",{staticStyle:{"margin-left":"12px"},on:{click:e.downloadVoucher}},[e._v("Download Voucher")]):e._e()])]):e._e()]),e._v(" "),i("div",{staticClass:"fc-booking-rooms"},[i("div",{staticClass:"fc-booking-rooms_head"},[i("div",[e._v("Room / Rate Plan")]),e._v(" "),i("div",[e._v("Rooms")]),e._v(" "),i("div",[e._v("Selling ("+e._s(e.booking.currency)+")")])]),e._v(" "),e._l(t.propertiesBookingItems,function(o){return t.propertiesBookingItems.length>0?[i("div",{staticClass:"fc-booking-rooms_rate_item"},[i("div",[i("div",[e._v(e._s(o.roomTypeName+" - "+o.masterRatePlanName))]),e._v(" "),o.breakfastIncluded?i("div",[e._v("Breakfast Included")]):e._e(),e._v(" "),e._m(0,!0)]),e._v(" "),i("div",[e._v(e._s(o.rooms))]),e._v(" "),i("div",[i("div",[e._v("Per Room: "+e._s(e._f("price")(o.sellingPricePerRoom)))]),e._v(" "),i("div",[e._v("Room Total: "+e._s(e._f("price")(o.sellingPriceTotal))),i("br"),e._v("\n                Transaction Fee: "+e._s(e._f("price")(o.buyingTransactionFee))),i("br"),e._v("\n                Admin Fee: "+e._s(e._f("price")(o.buyingCollectionFee))),i("br"),e._v(" "),e.booking.buyerActualPayCurrency!=e.booking.currency&&e.booking.buyerActualPayAmount>0?i("div",[e._v("Actual Paid in: "+e._s(e.booking.buyerActualPayCurrency)+" "+e._s(e._f("price")(e.booking.buyerActualPayAmount)))]):e._e(),e._v(" "),i("span",{staticStyle:{"font-weight":"700"}},[e._v("Payable Total: "+e._s(e._f("price")(o.sellingPriceTotal+o.buyingTransactionFee+o.buyingCollectionFee)))])])])]),e._v(" "),i("div",{staticClass:"fc-booking-rooms_room"},[i("div",{staticClass:"fc-booking-rooms_room_item"},[o.priceInclusion?i("div",{staticClass:"fc-room_item_price_includes"},[i("label",[e._v("Price Includes :")]),e._v(" "),i("div",[e._v(e._s(o.priceInclusion))])]):e._e(),e._v(" "),e._l(o.paxs,function(t,n){return o.paxs.length>0?[i("div",{staticClass:"fc-booking-room_item"},[i("label",[e._v("Room "+e._s(n+1)+" :")]),e._v(" "),i("div",[i("div",[e._v(e._s(t.firstName+" "+t.lastName))]),e._v(" "),i("div",[e._v("Occupancy : "+e._s(t.totalGuest))]),e._v(" "),i("div",[e._v("Nationality : "+e._s(t.countryName)+" ("+e._s(t.countryOfPassport)+")")]),e._v(" "),1==t.withChild?i("div",[e._v("Child(ren) : 1 ("+e._s(t.childAge)+" yrs)")]):i("div",[e._v("Child(ren) : No")]),e._v(" "),t.extraAdultWithBreakfastQty>0?[i("div",[e._v("Extrabed with breakfast (Adult) X "+e._s(t.extraAdultWithBreakfastQty))]),e._v(" "),i("div",[e._v(e._s(e.booking.currency)+" "+e._s(e._f("price")(t.extraAdultWithBreakfastTotal)))])]:e._e(),e._v(" "),t.extraAdultWithoutBreakfastQty>0?[i("div",[e._v("Extrabed w/o breakfast (Adult) X "+e._s(t.extraAdultWithoutBreakfastQty))]),e._v(" "),i("div",[e._v(e._s(e.booking.currency)+" "+e._s(e._f("price")(t.extraAdultWithoutBreakfastTotal)))])]:e._e(),e._v(" "),t.extraChildWithBreakfastQty>0?[i("div",[e._v("Extrabed with breakfast (Child) X "+e._s(t.extraChildWithBreakfastQty))]),e._v(" "),i("div",[e._v(e._s(e.booking.currency)+" "+e._s(e._f("price")(t.extraChildWithBreakfastTotal)))])]:e._e(),e._v(" "),t.extraChildWithoutBreakfastQty>0?[i("div",[e._v("Extrabed w/o breakfast (Child) X "+e._s(t.extraChildWithoutBreakfastQty))]),e._v(" "),i("div",[e._v(e._s(e.booking.currency)+" "+e._s(e._f("price")(t.extraChildWithoutBreakfastTotal)))])]:e._e(),e._v(" "),t.extraAdultOnlyBreakfastQty>0?[i("div",[e._v("Breakfast (Adult) X "+e._s(t.extraAdultOnlyBreakfastQty))]),e._v(" "),i("div",[e._v(e._s(e.booking.currency)+" "+e._s(e._f("price")(t.extraAdultOnlyBreakfastTotal)))])]:e._e(),e._v(" "),t.extraChildOnlyBreakfastQty>0?[i("div",[e._v("Breakfast (Child) X "+e._s(t.extraChildOnlyBreakfastQty))]),e._v(" "),i("div",[e._v(e._s(e.booking.currency)+" "+e._s(e._f("price")(t.extraChildOnlyBreakfastTotal)))])]:e._e()],2)]),e._v(" "),t.specialRequest?i("div",{staticClass:"fc-booking-room_special"},[i("label",[e._v("Special Request:")]),e._v(" "),i("pre",[e._v(e._s(t.specialRequest))])]):e._e()]:e._e()}),e._v(" "),o.addOnServices&&o.addOnServices.length>0?i("div",{staticClass:"fc-booking-room_special"},[i("label",[e._v("Additional Benefits:")]),e._v(" "),i("pre",{domProps:{innerHTML:e._s(o.addOnServices.join(", "))}})]):e._e()],2),e._v(" "),i("div",{staticClass:"fc-booking-rooms_room_price"},[o.sellingBreakdown.length>0?[i("label",[e._v("Cost Breakdown:")]),e._v(" "),i("div",e._l(o.sellingBreakdown,function(t,o){return i("div",[i("label",[e._v("Night "+e._s(o+1))]),e._v(" "),i("div",[e._v(e._s(e.booking.currency)+" "+e._s(e._f("price")(t)))])])}),0)]:e._e(),e._v(" "),o.surcharges&&o.surcharges.length>0?[i("label",[e._v("Surcharges:")]),e._v(" "),i("div",e._l(o.surcharges,function(t){return i("div",{staticClass:"fc-charges"},[i("label",[e._v(e._s(t.name)+" ("+e._s(t.charge)+")")]),e._v(" "),i("div",[e._v(e._s(e.booking.currency)+" "+e._s(e._f("price")(t.inclusive)))])])}),0)]:e._e(),e._v(" "),o.cancellationPolicies.length>0?[i("label",[e._v("Cancellation Policy:")]),e._v(" "),i("div",[1==o.cancellationPolicies.length&&365==o.cancellationPolicies[0].cancelBeforeDays&&"100% Total"==o.cancellationPolicies[0].penalty?[i("div",{staticStyle:{padding:"4px"}},[e._v("\n                      Not Refundable\n                    ")])]:[e._m(1,!0),e._v(" "),e._l(o.cancellationPolicies,function(t){return i("div",[i("div",[e._v(e._s(t.description))]),e._v(" "),i("div",[e._v(e._s(t.penalty))])])})]],2)]:e._e(),e._v(" "),o.rateComments?[i("label",[e._v("Rate Comment")]),e._v(" "),i("div",{staticClass:"fc-room-detail_table_body",staticStyle:{padding:"4px"},domProps:{innerHTML:e._s(o.rateComments?o.rateComments:"-")}})]:e._e()],2)])]:e._e()})],2),e._v(" "),i("div",{staticClass:"fc-booking-total-price"},[i("div",[i("label",[e._v("Rooms Total:")]),e._v(" "),i("span",[e._v(e._s(e.booking.currency)+" "+e._s(e._f("price")(e.booking.subTotal)))])]),e._v(" "),e.booking.buyingTransactionFee>0?i("div",[i("label",[e._v("Transaction Fee Total:")]),e._v(" "),i("span",[e._v(e._s(e.booking.currency)+" "+e._s(e._f("price")(e.booking.buyingTransactionFee)))])]):e._e(),e._v(" "),e.booking.buyingCollectionFee>0?i("div",[i("label",[e._v("Admin Fee Total:")]),e._v(" "),i("span",[e._v(e._s(e.booking.currency)+" "+e._s(e._f("price")(e.booking.buyingCollectionFee)))])]):e._e(),e._v(" "),e.booking.voucherDiscount>0?i("div",[i("label",[e._v("Voucher Used:")]),e._v(" "),i("span",[e._v(e._s(e.booking.currency)+" "+e._s(e._f("price")(e.booking.voucherDiscount)))])]):e._e(),e._v(" "),i("div",[i("label",[e._v("Total Payable:")]),e._v(" "),i("span",[e._v(e._s(e.booking.currency)+" "+e._s(e._f("price")(e.booking.payableTotal)))])])])]):e._e()}),e._v(" "),i("div",{staticClass:"fc-booking-control"},[i("a",{staticClass:"fc-btn-back",on:{click:e.backtoList}},[e._v("Back to Listing")]),e._v(" "),e.isCancellable?i("a",{staticClass:"fc-btn-cancel",on:{click:e.cancelBooking}},[e._v("Cancel Booking")]):e._e(),e._v(" "),e.booking&&"Reserved"==e.booking.status&&"Cash Wallet"!=e.booking.paymentTerm&&"Unpaid"==e.booking.paymentStatus?i("a",{staticClass:"fc-btn-update",on:{click:function(t){e.showUpdatePayment=!0}}},[e._v("Update Payment")]):e._e()])],2):e._e(),e._v(" "),e.isCancellable?i("cancel",{directives:[{name:"show",rawName:"v-show",value:e.cancelling,expression:"cancelling"}],attrs:{policy:e.lstPolicies,id:e.$route.query.id.toString(),detail:e.booking},on:{ok:e.doCancelAction,cancel:function(t){e.cancelling=!1}}}):e._e(),e._v(" "),e.booking&&"Reserved"==e.booking.status?i("update-payment",{directives:[{name:"show",rawName:"v-show",value:e.showUpdatePayment,expression:"showUpdatePayment"}],attrs:{detail:e.booking},on:{cancel:function(t){e.showUpdatePayment=!1}}}):e._e()],1)},n=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"fc-booking-viewmore"},[i("a",[e._v("view more...")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("div",[e._v("Cancel Before")]),e._v(" "),i("div",[e._v("Penalty")])])}],a={render:o,staticRenderFns:n};t.a=a},668:function(e,t,i){"use strict";var o=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"ui container"},[e.booking?i("div",{staticClass:"fc-booking-detail"},[i("div",{staticClass:"fc-booking-confirmation"},[i("div",[i("div",[i("label",[e._v("Booking No")]),e._v(" "),i("div",{staticClass:"fc-booking-no"},[e._v(e._s(e.booking.bookingRef))])]),e._v(" "),i("div",[i("label",[e._v("Date")]),e._v(" "),i("div",[e._v(e._s(e.dateToString(e.booking.createdDateTime,"DD MMM YYYY HH:mm")))])]),e._v(" "),i("div",[e._v("\n           \n        ")])]),e._v(" "),i("div",[i("div",[i("label",[e._v("Status")]),e._v(" "),i("div",{staticClass:"fc-status-confirm",class:"CANCELLED"===e.booking.status?"fc-cancelled":"fc-success"},[e._v(e._s(e.booking.status))])]),e._v(" "),i("div",[i("label",[e._v("Payment Mode")]),e._v(" "),i("div",[e._v(e._s(e.booking.paymentTerm))])]),e._v(" "),i("div",[i("label",[e._v("Payment Status")]),e._v(" "),i("div",{class:"fc-"+e.booking.paymentStatus},[e._v("\n            "+e._s(e.booking.paymentStatus)+"\n            "),"Unpaid"==e.booking.paymentStatus?i("div",[e._v("Pls Pay By "+e._s(e.dateToString(e.booking.paymentDuedate,"DD MMM YYYY")))]):e._e()])]),e._v(" "),i("div",[i("label",[e._v("Payable Total")]),e._v(" "),i("div",[e._v(e._s(e.booking.currency)+" "+e._s(e._f("price")(e.booking.payableTotal)))])]),e._v(" "),i("div",[i("label",[e._v("Payment Due Date")]),e._v(" "),i("div",[e._v(e._s(e.dateToString(e.booking.paymentDuedate,"DD MMM YYYY")))])])])]),e._v(" "),i("div",{staticClass:"fc-booking-checkin"},[i("div",[i("label",[e._v("Check-In")]),e._v(" "),i("div",[e._v(e._s(e.dateToString(e.booking.checkin,"DD MMM YYYY")))])]),e._v(" "),i("div",[i("label",[e._v("Check-Out")]),e._v(" "),i("div",[e._v(e._s(e.dateToString(e.booking.checkout,"DD MMM YYYY")))])])]),e._v(" "),e._l(e.booking.properties,function(t){return e.booking.properties&&e.booking.properties.length>0?i("div",{staticClass:"fc-booking-hotel"},[i("div",{staticClass:"fc-booking-invoice"},[i("div",{staticClass:"fc-hotel-info"},[t.propertyName?i("div",{staticClass:"fc-hotel-info_name"},[e._v(e._s(t.propertyName))]):e._e(),e._v(" "),t.star?i("div",{staticClass:"fc-hotel-info_star"},[i("i"),i("i")]):e._e(),e._v(" "),t.propertyAddress?i("div",{staticClass:"fc-hotel-info_address"},[e._v(e._s(t.propertyAddress))]):e._e(),e._v(" "),t.propertyTel?i("div",{staticClass:"fc-hotel-info_tel"},[e._v("Tel: "+e._s(t.propertyTel))]):e._e(),e._v(" "),t.propertySpecialRemarks?i("div",{staticClass:"fc-hotel-info_remark"},[i("label",[e._v("Hotel Special Remarks")]),e._v(" "),i("div",{domProps:{innerHTML:e._s(t.propertySpecialRemarks)}})]):e._e(),e._v(" "),t.childrenPolicy&&t.childrenPolicy.childrenAgeTo>0?i("div",{staticClass:"fc-hotel-info_remark"},[i("label",[e._v("Hotel Children & Extra Beds Policy")]),e._v(" "),i("div",[i("div",[e._v("Children Age: "+e._s(t.childrenPolicy.childrenAgeFrom)+" - "+e._s(t.childrenPolicy.childrenAgeTo))]),e._v(" "),i("div",[e._v("Children Policy: "+e._s(t.childrenPolicy.childrenStayFree?"FREE":"NOT FREE"))])])]):e._e()]),e._v(" "),t.propertiesBookingItems.length>0?i("div",{staticClass:"fc-booking-voucher"},[t.propertiesBookingItems[0].confirmationNumber?i("div",[i("label",[e._v("Confirmation Number :")]),e._v(" "),i("div",[e._v(e._s(t.propertiesBookingItems[0].confirmationNumber))])]):e._e(),e._v(" "),i("div",[t.propertiesBookingItems[0].confirmationNumber?i("a",{staticStyle:{"margin-left":"12px"},on:{click:e.downloadVoucher}},[e._v("Download Voucher")]):e._e()])]):e._e()]),e._v(" "),i("div",{staticClass:"fc-booking-rooms"},[i("div",{staticClass:"fc-booking-rooms_head"},[i("div",[e._v("Room / Rate Plan")]),e._v(" "),i("div",[e._v("Rooms")]),e._v(" "),i("div",[e._v("Selling ("+e._s(e.booking.currency)+")")])]),e._v(" "),e._l(t.propertiesBookingItems,function(o){return t.propertiesBookingItems.length>0?[i("div",{staticClass:"fc-booking-rooms_rate_item"},[i("div",[i("div",[e._v(e._s(o.roomTypeName+" - "+o.masterRatePlanName))]),e._v(" "),o.breakfastIncluded?i("div",[e._v("Breakfast Included")]):e._e(),e._v(" "),e._m(0,!0)]),e._v(" "),i("div",[e._v(e._s(o.rooms))]),e._v(" "),i("div",[i("div",[e._v("Per Room: "+e._s(e._f("price")(o.sellingPricePerRoom)))]),e._v(" "),i("div",[e._v("Room Total: "+e._s(e._f("price")(o.sellingPriceTotal))),i("br"),e._v("\n                Transaction Fee: "+e._s(e._f("price")(o.buyingTransactionFee))),i("br"),e._v("\n                Admin Fee: "+e._s(e._f("price")(o.buyingCollectionFee))),i("br"),e._v(" "),e.booking.buyerActualPayCurrency!=e.booking.currency&&e.booking.buyerActualPayAmount>0?i("div",[e._v("Actual Paid in: "+e._s(e.booking.buyerActualPayCurrency)+" "+e._s(e._f("price")(e.booking.buyerActualPayAmount)))]):e._e(),e._v(" "),i("span",{staticStyle:{"font-weight":"700"}},[e._v("Payable Total: "+e._s(e._f("price")(o.sellingPriceTotal+o.buyingTransactionFee+o.buyingCollectionFee)))])])])]),e._v(" "),i("div",{staticClass:"fc-booking-rooms_room"},[i("div",{staticClass:"fc-booking-rooms_room_item"},[o.priceInclusion?i("div",{staticClass:"fc-room_item_price_includes"},[i("label",[e._v("Price Includes :")]),e._v(" "),i("div",[e._v(e._s(o.priceInclusion))])]):e._e(),e._v(" "),e._l(o.paxs,function(t,n){return o.paxs.length>0?[i("div",{staticClass:"fc-booking-room_item"},[i("label",[e._v("Room "+e._s(n+1)+" :")]),e._v(" "),i("div",[i("div",[e._v(e._s(t.firstName+" "+t.lastName))]),e._v(" "),i("div",[e._v("Occupancy : "+e._s(t.totalGuest))]),e._v(" "),i("div",[e._v("Nationality : "+e._s(t.countryName)+" ("+e._s(t.countryOfPassport)+")")]),e._v(" "),1==t.withChild?i("div",[e._v("Child(ren) : 1 ("+e._s(t.childAge)+" yrs)")]):i("div",[e._v("Child(ren) : No")]),e._v(" "),t.extraAdultWithBreakfastQty>0?[i("div",[e._v("Extrabed with breakfast (Adult) X "+e._s(t.extraAdultWithBreakfastQty))]),e._v(" "),i("div",[e._v(e._s(e.booking.currency)+" "+e._s(e._f("price")(t.extraAdultWithBreakfastTotal)))])]:e._e(),e._v(" "),t.extraAdultWithoutBreakfastQty>0?[i("div",[e._v("Extrabed w/o breakfast (Adult) X "+e._s(t.extraAdultWithoutBreakfastQty))]),e._v(" "),i("div",[e._v(e._s(e.booking.currency)+" "+e._s(e._f("price")(t.extraAdultWithoutBreakfastTotal)))])]:e._e(),e._v(" "),t.extraChildWithBreakfastQty>0?[i("div",[e._v("Extrabed with breakfast (Child) X "+e._s(t.extraChildWithBreakfastQty))]),e._v(" "),i("div",[e._v(e._s(e.booking.currency)+" "+e._s(e._f("price")(t.extraChildWithBreakfastTotal)))])]:e._e(),e._v(" "),t.extraChildWithoutBreakfastQty>0?[i("div",[e._v("Extrabed w/o breakfast (Child) X "+e._s(t.extraChildWithoutBreakfastQty))]),e._v(" "),i("div",[e._v(e._s(e.booking.currency)+" "+e._s(e._f("price")(t.extraChildWithoutBreakfastTotal)))])]:e._e(),e._v(" "),t.extraAdultOnlyBreakfastQty>0?[i("div",[e._v("Breakfast (Adult) X "+e._s(t.extraAdultOnlyBreakfastQty))]),e._v(" "),i("div",[e._v(e._s(e.booking.currency)+" "+e._s(e._f("price")(t.extraAdultOnlyBreakfastTotal)))])]:e._e(),e._v(" "),t.extraChildOnlyBreakfastQty>0?[i("div",[e._v("Breakfast (Child) X "+e._s(t.extraChildOnlyBreakfastQty))]),e._v(" "),i("div",[e._v(e._s(e.booking.currency)+" "+e._s(e._f("price")(t.extraChildOnlyBreakfastTotal)))])]:e._e()],2)]),e._v(" "),t.specialRequest?i("div",{staticClass:"fc-booking-room_special"},[i("label",[e._v("Special Request:")]),e._v(" "),i("pre",[e._v(e._s(t.specialRequest))])]):e._e()]:e._e()}),e._v(" "),o.addOnServices&&o.addOnServices.length>0?i("div",{staticClass:"fc-booking-room_special"},[i("label",[e._v("Additional Benefits:")]),e._v(" "),i("pre",{domProps:{innerHTML:e._s(o.addOnServices.join(", "))}})]):e._e()],2),e._v(" "),i("div",{staticClass:"fc-booking-rooms_room_price"},[o.sellingBreakdown.length>0?[i("label",[e._v("Cost Breakdown:")]),e._v(" "),i("div",e._l(o.sellingBreakdown,function(t,o){return i("div",[i("label",[e._v("Night "+e._s(o+1))]),e._v(" "),i("div",[e._v(e._s(e.booking.currency)+" "+e._s(e._f("price")(t)))])])}),0)]:e._e(),e._v(" "),o.surcharges&&o.surcharges.length>0?[i("label",[e._v("Surcharges:")]),e._v(" "),i("div",e._l(o.surcharges,function(t){return i("div",{staticClass:"fc-charges"},[i("label",[e._v(e._s(t.name)+" ("+e._s(t.charge)+")")]),e._v(" "),i("div",[e._v(e._s(e.booking.currency)+" "+e._s(e._f("price")(t.inclusive)))])])}),0)]:e._e(),e._v(" "),o.cancellationPolicies.length>0?[i("label",[e._v("Cancellation Policy:")]),e._v(" "),i("div",[1==o.cancellationPolicies.length&&365==o.cancellationPolicies[0].cancelBeforeDays&&"100% Total"==o.cancellationPolicies[0].penalty?[i("div",{staticStyle:{padding:"4px"}},[e._v("\n                      Not Refundable\n                    ")])]:[e._m(1,!0),e._v(" "),e._l(o.cancellationPolicies,function(t){return i("div",[i("div",[e._v(e._s(t.cancelBeforeDays)+" Days")]),e._v(" "),i("div",[e._v(e._s(t.penalty))])])})]],2)]:e._e()],2)])]:e._e()})],2)]):e._e()}),e._v(" "),i("div",{staticClass:"fc-booking-control"},[i("a",{staticClass:"fc-btn-back",on:{click:e.backtoList}},[e._v("Back to Listing")]),e._v(" "),e.isCancellable?i("a",{staticClass:"fc-btn-cancel",on:{click:e.cancelBooking}},[e._v("Cancel Booking")]):e._e(),e._v(" "),e.booking&&"Reserved"==e.booking.status&&"Cash Wallet"!=e.booking.paymentTerm&&"Unpaid"==e.booking.paymentStatus?i("a",{staticClass:"fc-btn-update",on:{click:function(t){e.showUpdatePayment=!0}}},[e._v("Update Payment")]):e._e()])],2):e._e(),e._v(" "),e.isCancellable?i("cancel",{directives:[{name:"show",rawName:"v-show",value:e.cancelling,expression:"cancelling"}],attrs:{policy:e.lstPolicies,id:e.$route.query.id.toString(),detail:e.booking},on:{ok:e.doCancelAction,cancel:function(t){e.cancelling=!1}}}):e._e(),e._v(" "),e.booking&&"Reserved"==e.booking.status?i("update-payment",{directives:[{name:"show",rawName:"v-show",value:e.showUpdatePayment,expression:"showUpdatePayment"}],attrs:{detail:e.booking},on:{cancel:function(t){e.showUpdatePayment=!1}}}):e._e()],1)},n=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"fc-booking-viewmore"},[i("a",[e._v("view more...")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("div",[e._v("Cancel Before")]),e._v(" "),i("div",[e._v("Penalty")])])}],a={render:o,staticRenderFns:n};t.a=a}});