[UPD] Tooltip Notification

This commit is contained in:
Pablo
2018-12-24 12:24:54 +01:00
parent 92c0ea40e5
commit 4f0980e41c
4 changed files with 23 additions and 6 deletions

View File

@@ -682,12 +682,13 @@ var PMSCalendarController = AbstractController.extend({
},
_generate_reservation_tooltip_dict: function(tp) {
console.log(tp);
return {
'folio_name': tp['folio_name'],
'name': tp['name'],
'phone': tp['phone'],
'email': tp['email'],
'room_type': tp['room_type'],
'room_type_name': tp['room_type_name'],
'adults': tp['adults'],
'children': tp['children'],
'checkin': HotelCalendar.toMomentUTC(tp['checkin'], '').format("DD MMMM"),

View File

@@ -174,7 +174,7 @@
<div class="col-sm-6 bg-gray-lighter">
<i class="fa fa-hotel fa-2x fa-pull-left"/>
<h3 class="pull-right mt-3"><t t-esc="amount_total" t-widget="monetary"/></h3>
<header><t t-esc="room_type"/></header>
<header><t t-esc="room_type_name"/></header>
<p>Board Service Undefined</p>
<p>Adults: <t t-esc="adults"/> - Children: <t t-esc="children"/></p>
@@ -197,7 +197,7 @@
</div>
<div class="col-sm-6 bg-gray-lighter">
<i class="fa fa-hotel fa-2x fa-pull-left"/>
<header><t t-esc="room_type"/></header>
<header><t t-esc="room_type_name"/></header>
<p>Adults: <t t-esc="adults"/> - Children: <t t-esc="children"/></p>
</div>