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:
96
wp-includes/blocks/categories/block.json
Normal file
96
wp-includes/blocks/categories/block.json
Normal file
@@ -0,0 +1,96 @@
|
||||
{
|
||||
"$schema": "https://schemas.wp.org/trunk/block.json",
|
||||
"apiVersion": 3,
|
||||
"name": "core/categories",
|
||||
"title": "Terms List",
|
||||
"category": "widgets",
|
||||
"description": "Display a list of all terms of a given taxonomy.",
|
||||
"keywords": [ "categories" ],
|
||||
"textdomain": "default",
|
||||
"attributes": {
|
||||
"taxonomy": {
|
||||
"type": "string",
|
||||
"default": "category"
|
||||
},
|
||||
"displayAsDropdown": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"showHierarchy": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"showPostCounts": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"showOnlyTopLevel": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"showEmpty": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"label": {
|
||||
"type": "string",
|
||||
"role": "content"
|
||||
},
|
||||
"showLabel": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
}
|
||||
},
|
||||
"usesContext": [ "enhancedPagination" ],
|
||||
"supports": {
|
||||
"align": true,
|
||||
"html": false,
|
||||
"spacing": {
|
||||
"margin": true,
|
||||
"padding": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"margin": false,
|
||||
"padding": false
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": true,
|
||||
"lineHeight": true,
|
||||
"__experimentalFontFamily": true,
|
||||
"__experimentalFontWeight": true,
|
||||
"__experimentalFontStyle": true,
|
||||
"__experimentalTextTransform": true,
|
||||
"__experimentalTextDecoration": true,
|
||||
"__experimentalLetterSpacing": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"fontSize": true
|
||||
}
|
||||
},
|
||||
"color": {
|
||||
"gradients": true,
|
||||
"link": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"background": true,
|
||||
"text": true,
|
||||
"link": true
|
||||
}
|
||||
},
|
||||
"interactivity": {
|
||||
"clientNavigation": true
|
||||
},
|
||||
"__experimentalBorder": {
|
||||
"radius": true,
|
||||
"color": true,
|
||||
"width": true,
|
||||
"style": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"radius": true,
|
||||
"color": true,
|
||||
"width": true,
|
||||
"style": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"editorStyle": "wp-block-categories-editor",
|
||||
"style": "wp-block-categories"
|
||||
}
|
||||
13
wp-includes/blocks/categories/editor-rtl.css
Normal file
13
wp-includes/blocks/categories/editor-rtl.css
Normal file
@@ -0,0 +1,13 @@
|
||||
.wp-block-categories ul{
|
||||
padding-right:2.5em;
|
||||
}
|
||||
.wp-block-categories ul ul{
|
||||
margin-top:6px;
|
||||
}
|
||||
[data-align=center] .wp-block-categories{
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
.wp-block-categories__indentation{
|
||||
padding-right:16px;
|
||||
}
|
||||
1
wp-includes/blocks/categories/editor-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/categories/editor-rtl.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.wp-block-categories ul{padding-right:2.5em}.wp-block-categories ul ul{margin-top:6px}[data-align=center] .wp-block-categories{text-align:center}.wp-block-categories__indentation{padding-right:16px}
|
||||
13
wp-includes/blocks/categories/editor.css
Normal file
13
wp-includes/blocks/categories/editor.css
Normal file
@@ -0,0 +1,13 @@
|
||||
.wp-block-categories ul{
|
||||
padding-left:2.5em;
|
||||
}
|
||||
.wp-block-categories ul ul{
|
||||
margin-top:6px;
|
||||
}
|
||||
[data-align=center] .wp-block-categories{
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
.wp-block-categories__indentation{
|
||||
padding-left:16px;
|
||||
}
|
||||
1
wp-includes/blocks/categories/editor.min.css
vendored
Normal file
1
wp-includes/blocks/categories/editor.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.wp-block-categories ul{padding-left:2.5em}.wp-block-categories ul ul{margin-top:6px}[data-align=center] .wp-block-categories{text-align:center}.wp-block-categories__indentation{padding-left:16px}
|
||||
16
wp-includes/blocks/categories/style-rtl.css
Normal file
16
wp-includes/blocks/categories/style-rtl.css
Normal file
@@ -0,0 +1,16 @@
|
||||
.wp-block-categories{
|
||||
box-sizing:border-box;
|
||||
}
|
||||
.wp-block-categories.alignleft{
|
||||
margin-right:2em;
|
||||
}
|
||||
.wp-block-categories.alignright{
|
||||
margin-left:2em;
|
||||
}
|
||||
.wp-block-categories.wp-block-categories-dropdown.aligncenter{
|
||||
text-align:center;
|
||||
}
|
||||
.wp-block-categories .wp-block-categories__label{
|
||||
display:block;
|
||||
width:100%;
|
||||
}
|
||||
1
wp-includes/blocks/categories/style-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/categories/style-rtl.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.wp-block-categories{box-sizing:border-box}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-categories.wp-block-categories-dropdown.aligncenter{text-align:center}.wp-block-categories .wp-block-categories__label{display:block;width:100%}
|
||||
16
wp-includes/blocks/categories/style.css
Normal file
16
wp-includes/blocks/categories/style.css
Normal file
@@ -0,0 +1,16 @@
|
||||
.wp-block-categories{
|
||||
box-sizing:border-box;
|
||||
}
|
||||
.wp-block-categories.alignleft{
|
||||
margin-right:2em;
|
||||
}
|
||||
.wp-block-categories.alignright{
|
||||
margin-left:2em;
|
||||
}
|
||||
.wp-block-categories.wp-block-categories-dropdown.aligncenter{
|
||||
text-align:center;
|
||||
}
|
||||
.wp-block-categories .wp-block-categories__label{
|
||||
display:block;
|
||||
width:100%;
|
||||
}
|
||||
1
wp-includes/blocks/categories/style.min.css
vendored
Normal file
1
wp-includes/blocks/categories/style.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.wp-block-categories{box-sizing:border-box}.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}.wp-block-categories.wp-block-categories-dropdown.aligncenter{text-align:center}.wp-block-categories .wp-block-categories__label{display:block;width:100%}
|
||||
Reference in New Issue
Block a user