Files
Hotel Raxa Dev 5b1e2453c7 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

1 line
1.5 KiB
JavaScript

!function(n){"use strict";redux.field_objects=redux.field_objects||{},redux.field_objects.gallery=redux.field_objects.gallery||{},redux.field_objects.gallery.init=function(e){e=n.redux.getSelector(e,"gallery"),n(e).each(function(){var e=n(this),i=e;(i=e.hasClass("redux-field-container")?i:e.parents(".redux-field-container:first")).is(":hidden")||i.hasClass("redux-field-init")&&(i.removeClass("redux-field-init"),e.on({click:function(e){var l,a,i,t,d;if(wp.media.view.Settings.Gallery=wp.media.view.Settings.Gallery.extend({template:function(){}}),l=n(this).closest("fieldset"),"clear-gallery"===e.currentTarget.id)l.find(".gallery_values").val(""),l.find(".screenshot").html("");else if("undefined"!=typeof wp&&wp.media&&wp.media.gallery)return e.preventDefault(),i=(e=l.find(".gallery_values").val())?'[gallery ids="'+e+'"]':'[gallery ids="0"]',a=wp.media.gallery.edit(i),e||(i=n("body").find("#"+a.el.id),d=i.find(".uploader-inline"),t=i.find(".media-toolbar .spinner"),setTimeout(function(){d.hasClass("hidden")&&(d.removeClass("hidden"),t.removeClass("is-active"))},400)),a.state("gallery-edit").on("update",function(e){var i;l.find(".screenshot").html(""),e=e.models.map(function(e){return i=e.toJSON(),i=(void 0!==i.sizes&&void 0!==i.sizes.thumbnail?i.sizes.thumbnail:i).url,i='<a class="of-uploaded-image" href="'+i+'"><img class="redux-option-image" src="'+i+'" alt="" /></a>',l.find(".screenshot").append(i),e.id}),l.find(".gallery_values").val(e.join(",")),redux_change(l.find(".gallery_values")),a.detach()}),!1}},".gallery-attachments"))})}}(jQuery);