Files

93 lines
2.9 KiB
PHP
Raw Permalink 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
<?php
/**
* The template for the main content of the panel.
* Override this template by specifying the path where it is stored (templates_path) in your Redux config.
*
* @author Redux Framework
* @package ReduxFramework/Templates
* @version: 4.0.0
*/
?>
<!-- Header Block -->
<?php $this->get_template( 'header.tpl.php' ); ?>
<!-- Intro Text -->
<?php if ( isset( $this->parent->args['intro_text'] ) ) { ?>
<div id="redux-intro-text"><?php echo wp_kses_post( $this->parent->args['intro_text'] ); ?></div>
<?php } ?>
<?php $this->get_template( 'menu-container.tpl.php' ); ?>
<div class="redux-main">
<!-- Stickybar -->
<?php $this->get_template( 'header-stickybar.tpl.php' ); ?>
<div id="redux_ajax_overlay">&nbsp;</div>
<?php foreach ( $this->parent->sections as $k => $section ) { ?>
<?php if ( isset( $section['customizer_only'] ) && true === $section['customizer_only'] ) { ?>
<?php continue; ?>
<?php } // phpcs:ignore Squiz.PHP.NonExecutableCode.Unreachable ?>
<?php $section['class'] = isset( $section['class'] ) ? ' ' . $section['class'] : ''; ?>
<?php $disabled = ''; ?>
<?php if ( isset( $section['disabled'] ) && $section['disabled'] ) { ?>
<?php $disabled = 'disabled '; ?>
<?php } ?>
<div
id="<?php echo esc_attr( $k ); ?>_section_group"
class="redux-group-tab <?php echo esc_attr( $disabled ); ?><?php echo esc_attr( $section['class'] ); ?>"
data-rel="<?php echo esc_attr( $k ); ?>">
<?php $display = true; ?>
<?php if ( isset( $_GET['page'] ) && $this->parent->args['page_slug'] === $_GET['page'] ) { // phpcs:ignore WordPress.Security.NonceVerification ?>
<?php if ( isset( $section['panel'] ) && false === $section['panel'] ) { ?>
<?php $display = false; ?>
<?php } ?>
<?php } ?>
<?php
if ( $display ) {
/**
* Action 'redux/page/{opt_name}/section/before'
*
* @param object $this ReduxFramework
*/
// phpcs:ignore WordPress.NamingConventions.ValidHookName
do_action( "redux/page/{$this->parent->args['opt_name']}/section/before", $section );
$this->output_section( $k );
/**
* Action 'redux/page/{opt_name}/section/after'
*
* @param object $this ReduxFramework
*/
// phpcs:ignore WordPress.NamingConventions.ValidHookName
do_action( "redux/page/{$this->parent->args['opt_name']}/section/after", $section );
}
?>
</div> <!-- section group -->
<?php } ?>
<?php
/**
* Action 'redux/page/{opt_name}/sections/after'
*
* @param object $this ReduxFramework
*/
// phpcs:ignore WordPress.NamingConventions.ValidHookName
do_action( "redux/page/{$this->parent->args['opt_name']}/sections/after", $this );
?>
<div class="clear"></div>
<!-- Footer Block -->
<?php $this->get_template( 'footer.tpl.php' ); ?>
<div id="redux-sticky-padder" style="display: none;">&nbsp;</div>
</div> <!-- redux main -->
<div class="clear"></div>