diff --git a/hotel_calendar/static/src/js/views/calendar/hotel_calendar_view.js b/hotel_calendar/static/src/js/views/calendar/hotel_calendar_view.js index 1c2b5c7a6..d95848e3a 100644 --- a/hotel_calendar/static/src/js/views/calendar/hotel_calendar_view.js +++ b/hotel_calendar/static/src/js/views/calendar/hotel_calendar_view.js @@ -92,24 +92,6 @@ var CalendarMenu = Widget.extend({ return $.when(); }, - toggle_show_adv_controls: function() { - var $pms_search = $(document).find('#pms-search'); - if ($pms_search.position().top < 0) - { - var $navbar = $('.navbar'); - var toPos = $navbar.height() + parseInt($navbar.css('border-top-width'), 10) + parseInt($navbar.css('border-bottom-width'), 10); - $pms_search.animate({ - 'top': `${toPos}px`, - 'opacity': 1.0, - }, 'fast'); - } else { - $pms_search.animate({ - 'top': `-${$pms_search.height()}px`, - 'opacity': 0.0, - }, 'slow'); - } - }, - toggle_show_notification: function() { this._show_notifications = !this._show_notifications; this._rpc({ diff --git a/hotel_calendar/static/src/xml/hotel_calendar_templates.xml b/hotel_calendar/static/src/xml/hotel_calendar_templates.xml index 0d6d10704..49bddb9a5 100644 --- a/hotel_calendar/static/src/xml/hotel_calendar_templates.xml +++ b/hotel_calendar/static/src/xml/hotel_calendar_templates.xml @@ -370,12 +370,10 @@ -
  • Toggle Advance Controls
  • -
  • Show Notifications
  • -
  • Show Pricelist
  • -
  • Show Availability
  • -
  • Divide Rooms by Capacity
  • +
  • Show Pricelist
  • +
  • Show Availability
  • +
  • Divide Rooms by Capacity