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>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
/**
|
||||
* This file is generated by Webpack, do not edit it directly.
|
||||
*/
|
||||
return [
|
||||
'handle' => 'elementor-v2-locations',
|
||||
'deps' => [
|
||||
'react',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,2 @@
|
||||
/*! For license information please see locations.js.LICENSE.txt */
|
||||
!function(){"use strict";var e={react:function(e){e.exports=window.React}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};!function(){r.r(n),r.d(n,{__flushAllInjections:function(){return u},createLocation:function(){return a}});var e=r("react"),t=class extends e.Component{state={hasError:!1};static getDerivedStateFromError(){return{hasError:!0}}render(){return this.state.hasError?this.props.fallback:this.props.children}};function o({children:r}){return e.createElement(t,{fallback:null},e.createElement(e.Suspense,{fallback:null},r))}var i=10,c=[];function a(){const t=new Map,r=function(e){return()=>[...e.values()].sort(((e,t)=>e.priority-t.priority))}(t),n=function(t){return()=>(0,e.useMemo)((()=>t()),[])}(r),a=function(t){return r=>{const n=t();return e.createElement(e.Fragment,null,n.map((({id:t,component:n})=>e.createElement(n,{...r,key:t}))))}}(n),u=function(t){return({component:r,id:n,options:c={}})=>{var a;!t.has(n)||c?.overwrite?t.set(n,{id:n,component:(a=r,t=>e.createElement(o,null,e.createElement(a,{...t}))),priority:c.priority??i}):console.warn(`An injection with the id "${n}" already exists. Did you mean to use "options.overwrite"?`)}}(t);return c.push((()=>t.clear())),{inject:u,getInjections:r,useInjections:n,Slot:a}}function u(){c.forEach((e=>e()))}}(),(window.elementorV2=window.elementorV2||{}).locations=n}();
|
||||
@@ -0,0 +1,9 @@
|
||||
/*! react */
|
||||
|
||||
/*!**************************!*\
|
||||
!*** external ["React"] ***!
|
||||
\**************************/
|
||||
|
||||
/*!**********************************************************!*\
|
||||
!*** ./node_modules/@elementor/locations/dist/index.mjs ***!
|
||||
\**********************************************************/
|
||||
1
wp-content/plugins/elementor/assets/js/packages/locations/locations.min.js
vendored
Normal file
1
wp-content/plugins/elementor/assets/js/packages/locations/locations.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(){"use strict";var e={d:function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{__flushAllInjections:function(){return l},createLocation:function(){return a}});var n=window.React,r=class extends n.Component{state={hasError:!1};static getDerivedStateFromError(){return{hasError:!0}}render(){return this.state.hasError?this.props.fallback:this.props.children}};function o({children:e}){return n.createElement(r,{fallback:null},n.createElement(n.Suspense,{fallback:null},e))}var i=10,c=[];function a(){const e=new Map,t=function(e){return()=>[...e.values()].sort(((e,t)=>e.priority-t.priority))}(e),r=function(e){return()=>(0,n.useMemo)((()=>e()),[])}(t),a=function(e){return t=>{const r=e();return n.createElement(n.Fragment,null,r.map((({id:e,component:r})=>n.createElement(r,{...t,key:e}))))}}(r),l=function(e){return({component:t,id:r,options:c={}})=>{var a;!e.has(r)||c?.overwrite?e.set(r,{id:r,component:(a=t,e=>n.createElement(o,null,n.createElement(a,{...e}))),priority:c.priority??i}):console.warn(`An injection with the id "${r}" already exists. Did you mean to use "options.overwrite"?`)}}(e);return c.push((()=>e.clear())),{inject:l,getInjections:t,useInjections:r,Slot:a}}function l(){c.forEach((e=>e()))}(window.elementorV2=window.elementorV2||{}).locations=t}();
|
||||
Reference in New Issue
Block a user