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

81 lines
3.1 KiB
PHP

<?php
/**
* The Template for the step line during the booking process
*
* This template can be overridden by copying it to yourtheme/eb-templates/elements/stepline.php.
*
* Author: Eagle Themes
* Package: Eagle-Booking/Templates
* Version: 1.1.5
*/
defined('ABSPATH') || exit;
if ( get_permalink() == eb_search_page() ) {
$search_page = 'completed active';
$booking_page = 'disabled';
$checkout_page = 'disabled';
$thankyou_page = 'disabled';
} elseif ( get_permalink() == eb_booking_page() ) {
$search_page = 'completed';
$booking_page = 'completed active';
$checkout_page = 'disabled';
$thankyou_page = 'disabled';
} elseif ( get_permalink() == eb_checkout_page() && $eagle_booking_arrive == 1 ) {
$search_page = 'completed';
$booking_page = 'completed';
$checkout_page = 'completed active';
$thankyou_page = 'disabled';
} else {
$search_page = 'completed';
$booking_page = 'completed';
$checkout_page = 'completed';
$thankyou_page = 'completed active';
}
?>
<div class="eb-stepline">
<div class="eb-stepline-steps">
<div class="eb-stepline-step <?php echo $search_page ?> ">
<div class="eb-stepline-progress">
<div class="eb-stepline-progress-bar"></div>
</div>
<div class="eb-stepline-dot"></div>
<div class="text-center bs-wizard-stepnum"><?php echo __('Search', 'eagle-booking') ?></div>
<div class="bs-wizard-info text-center"><?php echo __('Choose your favorite room', 'eagle-booking') ?></div>
</div>
<div class="eb-stepline-step <?php echo $booking_page ?>">
<div class="eb-stepline-progress">
<div class="eb-stepline-progress-bar"></div>
</div>
<div class="eb-stepline-dot"></div>
<div class="text-center bs-wizard-stepnum"><?php echo __('Booking', 'eagle-booking') ?></div>
<div class="bs-wizard-info text-center"><?php echo __('Enter your booking details', 'eagle-booking') ?></div>
</div>
<div class="eb-stepline-step <?php echo $checkout_page ?>">
<div class="eb-stepline-progress">
<div class="eb-stepline-progress-bar"></div>
</div>
<div class="eb-stepline-dot"></div>
<div class="text-center bs-wizard-stepnum"><?php echo __('Checkout', 'eagle-booking') ?></div>
<div class="bs-wizard-info text-center"><?php echo __('Use your preferred payment method', 'eagle-booking') ?></div>
</div>
<div class="eb-stepline-step <?php echo $thankyou_page ?>">
<div class="eb-stepline-progress">
<div class="eb-stepline-progress-bar"></div>
</div>
<div class="eb-stepline-dot"></div>
<div class="text-center bs-wizard-stepnum"><?php echo __('Confirmation', 'eagle-booking' ) ?></div>
<div class="bs-wizard-info text-center"><?php echo __('Receive a confirmation email', 'eagle-booking') ?></div>
</div>
</div>
</div>