6 lines
90 KiB
JavaScript
Raw Normal View History

Hotel Raxa - Advanced Booking System Implementation 🏨 Hotel Booking Enhancements: - Implemented Eagle Booking Advanced Pricing add-on - Added Booking.com-style rate management system - Created professional calendar interface for pricing - Integrated deals and discounts functionality 💰 Advanced Pricing Features: - Dynamic pricing models (per room, per person, per adult) - Base rates, adult rates, and child rates management - Length of stay discounts and early bird deals - Mobile rates and secret deals implementation - Seasonal promotions and flash sales 📅 Availability Management: - Real-time availability tracking - Stop sell and restriction controls - Closed to arrival/departure functionality - Minimum/maximum stay requirements - Automatic sold-out management 💳 Payment Integration: - Maintained Redsys payment gateway integration - Seamless integration with existing Eagle Booking - No modifications to core Eagle Booking plugin 🛠️ Technical Implementation: - Custom database tables for advanced pricing - WordPress hooks and filters integration - AJAX-powered admin interface - Data migration from existing Eagle Booking - Professional calendar view for revenue management 📊 Admin Interface: - Booking.com-style management dashboard - Visual rate and availability calendar - Bulk operations for date ranges - Statistics and analytics dashboard - Modal dialogs for quick editing 🔧 Code Quality: - WordPress coding standards compliance - Secure database operations with prepared statements - Proper input validation and sanitization - Error handling and logging - Responsive admin interface 🤖 Generated with Claude Code (https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-11 07:43:22 +02:00
/*!
* REVOLUTION 6.0.0 OVERVIEW JS
* @version: 1.0 (01.07.2019)
* @author ThemePunch
*/
function showPluginInfos(){}!function(){RVS.F.initOverView=function(){RVS.F.initAdmin(),RVS.C.rsOVM=jQuery("#rs_overview_menu"),RVS.S.ovMode=!0,RVS.F.initialiseInputBoxes("overview"),initLocalListeners(),jQuery("#plugin_history").RSScroll({wheelPropagation:!0,suppressScrollX:!1,minScrollbarLength:30}),sliderLibrary.output=jQuery("#existing_sliders"),sliderLibrary.sfw=jQuery("#slider_folders_wrap"),sliderLibrary.sfw.appendTo(jQuery(document.body)),sliderLibrary.sfwu=jQuery("#slider_folders_wrap_underlay"),sliderLibrary.backOneLevel=jQuery('<div id="back_one_folder" class="new_slider_block"><i class="material-icons">more_horiz</i><span class="nsb_title">Back</span></div>'),sliderLibrary.selectedFolder=-1,sliderLibrary.selectedPage=1,sliderLibrary.slidesContainer=jQuery(".overview_slide_elements"),updateParentAttributes(),sliderLibrary.filters=buildModuleFilters(),function(){window.ov_scroll_targets=[];var e=0;jQuery(".rso_scrollmenuitem").each((function(){void 0!==this.dataset.ref&&(window.ov_scroll_targets.push({obj:jQuery(this.dataset.ref),top:jQuery(this.dataset.ref).offset().top,height:jQuery(this.dataset.ref).height(),menu:jQuery(this),menu_js:this}),this.dataset.ostref=e,e++)})),jQuery("#adminmenuwrap").append('<div id="wpadmin_overlay"></div>'),jQuery("#wpcontent").append('<div id="wpadmin_overlay_top"></div>'),tpGS.gsap.to(["#wpadmin_overlay","#wpadmin_overlay_top"],.6,{opacity:1,ease:"power3.inOut"}),tpGS.gsap.to(["#adminmenuback","#adminmenuwrap","#wpadminbar"],.6,{filter:"grayscale(100%)",ease:"power3.inOut"}),jQuery("#adminmenuback, #adminmenuwrap, #wpadminbar").on("mouseenter",(function(){tpGS.gsap.to(["#wpadmin_overlay","#wpadmin_overlay_top"],.3,{opacity:0,ease:"power3.inOut"}),tpGS.gsap.to(["#adminmenuback","#adminmenuwrap","#wpadminbar"],.6,{filter:"grayscale(0%)",ease:"power3.inOut"})})).on("mouseleave",(function(){tpGS.gsap.to(["#wpadmin_overlay","#wpadmin_overlay_top"],.3,{opacity:1,ease:"power3.inOut"}),tpGS.gsap.to(["#adminmenuback","#adminmenuwrap","#wpadminbar"],.6,{filter:"grayscale(100%)",ease:"power3.inOut"})})),s(),t(),tpGS.gsap.to("#rs_overview_menu",1,{opacity:1,ease:"power3.out"})}(),RVS.F.updateDraw(),RVS.F.isActivated(),updateOVFilteredList(),updateSysChecks(),initBasics(),RVS.F.handleDeactivatedwarning(),RVS.F.handleAddonsWarning(),RVS.F.activeNotActive(),RVS.ENV.updated&&RVS.F.welcome(),RVS.F.generateAttachmentMetaData(),checkAddOnVersions(),RVS.ENV.newTemplatesCounter=document.getElementById("new_templates_counter"),RVS.ENV.newAddonsCounter=document.getElementById("new_addons_counter");var e={i:0},i={i:0};void 0!==RVS.ENV.newTemplatesAmount&&RVS.ENV.newTemplatesAmount>0&&(tpGS.gsap.fromTo(e,Math.min(1.5,Math.max(.2,.02*RVS.ENV.newTemplatesAmount)),{i:0},{i:RVS.ENV.newTemplatesAmount,ease:"none",onUpdate:function(){RVS.ENV.newTemplatesCounter.innerHTML="+ "+Math.round(e.i)}}),RVS.ENV.newTemplatesCounter.style.display="block"),void 0!==RVS.ENV.newAddonsAmount&&RVS.ENV.newAddonsAmount>0&&(tpGS.gsap.fromTo(i,Math.min(1.5,Math.max(.2,.02*RVS.ENV.newAddonsAmount)),{i:0},{i:RVS.ENV.newAddonsAmount,ease:"none",onUpdate:function(){RVS.ENV.newAddonsCounter.innerHTML="+ "+Math.round(i.i)}}),RVS.ENV.newAddonsCounter.style.display="block");var r=RVS.F.getCookie("rs6_shortly_edited_slider")+"";if(void 0!==r&&r.length>0){RVS.F.setCookie("rs6_shortly_edited_slider","",0);var a=!1;for(var d in sliderLibrary.sliders)!1===a&&(a=sliderLibrary.sliders[d].id==r?sliderLibrary.sliders[d].parent:a);!1!==a&&-1!==a&&"-1"!==a&&RVS.F.changeOVToFolder(a)}RVS.F.notifications(),document.location.href.includes("#template_library")&&new_slider_from_template.click(),document.location.href.includes("#global_settings")&&globalsettings.click()},RVS.F.addonInstalledFromWarning=function(e,i){RVS.LIB.OBJ.addonsToInstall.splice(0,1),RVS.LIB.ADDONS[i].active=!0},RVS.F.installAddonOneByOne=function(){if(RVS.LIB.OBJ.addonsToInstall.length>0){var e=RVS.LIB.OBJ.addonsToInstall[0];RVS.F.ajaxRequest("activate_addon",{addon:e},(function(i){RVS.S.addonFixed=!0,void 0!==RVS.LIB.ADDONS&&void 0!==RVS.LIB.ADDONS[e]&&1==RVS.LIB.ADDONS[e].ins