🏨 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>
65 lines
2.4 KiB
PHP
65 lines
2.4 KiB
PHP
<?php
|
|
/**
|
|
* The Template for the guest form
|
|
*
|
|
* This template can be overridden by copying it to yourtheme/eb-templates/booking/form/coupon.php.
|
|
*
|
|
* Author: Eagle Themes
|
|
* Package: Eagle-Booking/Templates
|
|
* Version: 1.0
|
|
*/
|
|
|
|
defined('ABSPATH') || exit;
|
|
?>
|
|
|
|
<div class="eb-tab-content guest" data-tab="guest">
|
|
<div class="eb-g-lg-2 eb-g-md-1">
|
|
|
|
<div class="eb-form-col">
|
|
<input type="text" id="eb_guest_first_name" class="eb-field">
|
|
<label><?php echo __('First Name','eagle-booking') ?></label>
|
|
</div>
|
|
|
|
<div class="eb-form-col">
|
|
<input type="text" id="eb_guest_last_name" class="eb-field">
|
|
<label><?php echo __('Last Name','eagle-booking') ?></label>
|
|
</div>
|
|
|
|
<div class="eb-form-col">
|
|
<input type="email" id="eb_guest_email" class="eb-field">
|
|
<label><?php echo __('Email','eagle-booking') ?></label>
|
|
</div>
|
|
|
|
|
|
<input type="tel" id="eb_guest_phone" class="eb_user_phone_field eb-field" placeholder="<?php echo __('Phone','eagle-booking') ?> *">
|
|
|
|
<?php if ( eb_get_option('eb_booking_form_fields')['address'] == true ) : ?>
|
|
<div class="eb-form-col">
|
|
<input type="text" id="eb_guest_address" class="eb-field">
|
|
<label><?php echo __('Address','eagle-booking') ?></label>
|
|
</div>
|
|
<?php endif ?>
|
|
|
|
<?php if ( eb_get_option('eb_booking_form_fields')['city'] == true ) : ?>
|
|
<div class="eb-form-col">
|
|
<input type="text" id="eb_guest_city" class="eb-field">
|
|
<label><?php echo __('City','eagle-booking') ?></label>
|
|
</div>
|
|
<?php endif ?>
|
|
|
|
<?php if ( eb_get_option('eb_booking_form_fields')['country'] == true ) : ?>
|
|
<div class="eb-form-col">
|
|
<input type="text" id="eb_guest_country" class="eb-field">
|
|
<label><?php echo __('Country','eagle-booking') ?></label>
|
|
</div>
|
|
<?php endif ?>
|
|
|
|
<?php if ( eb_get_option('eb_booking_form_fields')['zip'] == true ) : ?>
|
|
<div class="eb-form-col">
|
|
<input type="text" id="eb_guest_zip" class="eb-field">
|
|
<label><?php echo __('ZIP','eagle-booking') ?></label>
|
|
</div>
|
|
<?php endif ?>
|
|
</div>
|
|
</div>
|