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:
69
wp-includes/blocks/buttons/block.json
Normal file
69
wp-includes/blocks/buttons/block.json
Normal file
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"$schema": "https://schemas.wp.org/trunk/block.json",
|
||||
"apiVersion": 3,
|
||||
"name": "core/buttons",
|
||||
"title": "Buttons",
|
||||
"category": "design",
|
||||
"allowedBlocks": [ "core/button" ],
|
||||
"description": "Prompt visitors to take action with a group of button-style links.",
|
||||
"keywords": [ "link" ],
|
||||
"textdomain": "default",
|
||||
"supports": {
|
||||
"anchor": true,
|
||||
"align": [ "wide", "full" ],
|
||||
"html": false,
|
||||
"__experimentalExposeControlsToChildren": true,
|
||||
"color": {
|
||||
"gradients": true,
|
||||
"text": false,
|
||||
"__experimentalDefaultControls": {
|
||||
"background": true
|
||||
}
|
||||
},
|
||||
"spacing": {
|
||||
"blockGap": [ "horizontal", "vertical" ],
|
||||
"padding": true,
|
||||
"margin": [ "top", "bottom" ],
|
||||
"__experimentalDefaultControls": {
|
||||
"blockGap": true
|
||||
}
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": true,
|
||||
"lineHeight": true,
|
||||
"__experimentalFontFamily": true,
|
||||
"__experimentalFontWeight": true,
|
||||
"__experimentalFontStyle": true,
|
||||
"__experimentalTextTransform": true,
|
||||
"__experimentalTextDecoration": true,
|
||||
"__experimentalLetterSpacing": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"fontSize": true
|
||||
}
|
||||
},
|
||||
"__experimentalBorder": {
|
||||
"color": true,
|
||||
"radius": true,
|
||||
"style": true,
|
||||
"width": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"color": true,
|
||||
"radius": true,
|
||||
"style": true,
|
||||
"width": true
|
||||
}
|
||||
},
|
||||
"layout": {
|
||||
"allowSwitching": false,
|
||||
"allowInheriting": false,
|
||||
"default": {
|
||||
"type": "flex"
|
||||
}
|
||||
},
|
||||
"interactivity": {
|
||||
"clientNavigation": true
|
||||
}
|
||||
},
|
||||
"editorStyle": "wp-block-buttons-editor",
|
||||
"style": "wp-block-buttons"
|
||||
}
|
||||
31
wp-includes/blocks/buttons/editor-rtl.css
Normal file
31
wp-includes/blocks/buttons/editor-rtl.css
Normal file
@@ -0,0 +1,31 @@
|
||||
.wp-block-buttons>.wp-block,.wp-block-buttons>.wp-block-button.wp-block-button.wp-block-button.wp-block-button.wp-block-button{
|
||||
margin:0;
|
||||
}
|
||||
.wp-block-buttons>.block-list-appender{
|
||||
align-items:center;
|
||||
display:inline-flex;
|
||||
}
|
||||
.wp-block-buttons.is-vertical>.block-list-appender .block-list-appender__toggle{
|
||||
justify-content:flex-start;
|
||||
}
|
||||
.wp-block-buttons>.wp-block-button:focus{
|
||||
box-shadow:none;
|
||||
}
|
||||
.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center]{
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
margin-top:0;
|
||||
width:100%;
|
||||
}
|
||||
.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center] .wp-block-button{
|
||||
margin-bottom:0;
|
||||
}
|
||||
|
||||
.wp-block[data-align=center]>.wp-block-buttons{
|
||||
align-items:center;
|
||||
justify-content:center;
|
||||
}
|
||||
|
||||
.wp-block[data-align=right]>.wp-block-buttons{
|
||||
justify-content:flex-end;
|
||||
}
|
||||
1
wp-includes/blocks/buttons/editor-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/buttons/editor-rtl.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.wp-block-buttons>.wp-block,.wp-block-buttons>.wp-block-button.wp-block-button.wp-block-button.wp-block-button.wp-block-button{margin:0}.wp-block-buttons>.block-list-appender{align-items:center;display:inline-flex}.wp-block-buttons.is-vertical>.block-list-appender .block-list-appender__toggle{justify-content:flex-start}.wp-block-buttons>.wp-block-button:focus{box-shadow:none}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center]{margin-left:auto;margin-right:auto;margin-top:0;width:100%}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center] .wp-block-button{margin-bottom:0}.wp-block[data-align=center]>.wp-block-buttons{align-items:center;justify-content:center}.wp-block[data-align=right]>.wp-block-buttons{justify-content:flex-end}
|
||||
31
wp-includes/blocks/buttons/editor.css
Normal file
31
wp-includes/blocks/buttons/editor.css
Normal file
@@ -0,0 +1,31 @@
|
||||
.wp-block-buttons>.wp-block,.wp-block-buttons>.wp-block-button.wp-block-button.wp-block-button.wp-block-button.wp-block-button{
|
||||
margin:0;
|
||||
}
|
||||
.wp-block-buttons>.block-list-appender{
|
||||
align-items:center;
|
||||
display:inline-flex;
|
||||
}
|
||||
.wp-block-buttons.is-vertical>.block-list-appender .block-list-appender__toggle{
|
||||
justify-content:flex-start;
|
||||
}
|
||||
.wp-block-buttons>.wp-block-button:focus{
|
||||
box-shadow:none;
|
||||
}
|
||||
.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center]{
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
margin-top:0;
|
||||
width:100%;
|
||||
}
|
||||
.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center] .wp-block-button{
|
||||
margin-bottom:0;
|
||||
}
|
||||
|
||||
.wp-block[data-align=center]>.wp-block-buttons{
|
||||
align-items:center;
|
||||
justify-content:center;
|
||||
}
|
||||
|
||||
.wp-block[data-align=right]>.wp-block-buttons{
|
||||
justify-content:flex-end;
|
||||
}
|
||||
1
wp-includes/blocks/buttons/editor.min.css
vendored
Normal file
1
wp-includes/blocks/buttons/editor.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.wp-block-buttons>.wp-block,.wp-block-buttons>.wp-block-button.wp-block-button.wp-block-button.wp-block-button.wp-block-button{margin:0}.wp-block-buttons>.block-list-appender{align-items:center;display:inline-flex}.wp-block-buttons.is-vertical>.block-list-appender .block-list-appender__toggle{justify-content:flex-start}.wp-block-buttons>.wp-block-button:focus{box-shadow:none}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center]{margin-left:auto;margin-right:auto;margin-top:0;width:100%}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center] .wp-block-button{margin-bottom:0}.wp-block[data-align=center]>.wp-block-buttons{align-items:center;justify-content:center}.wp-block[data-align=right]>.wp-block-buttons{justify-content:flex-end}
|
||||
52
wp-includes/blocks/buttons/style-rtl.css
Normal file
52
wp-includes/blocks/buttons/style-rtl.css
Normal file
@@ -0,0 +1,52 @@
|
||||
.wp-block-buttons{
|
||||
box-sizing:border-box;
|
||||
}
|
||||
.wp-block-buttons.is-vertical{
|
||||
flex-direction:column;
|
||||
}
|
||||
.wp-block-buttons.is-vertical>.wp-block-button:last-child{
|
||||
margin-bottom:0;
|
||||
}
|
||||
.wp-block-buttons>.wp-block-button{
|
||||
display:inline-block;
|
||||
margin:0;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-left{
|
||||
justify-content:flex-start;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-left.is-vertical{
|
||||
align-items:flex-start;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-center{
|
||||
justify-content:center;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-center.is-vertical{
|
||||
align-items:center;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-right{
|
||||
justify-content:flex-end;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-right.is-vertical{
|
||||
align-items:flex-end;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-space-between{
|
||||
justify-content:space-between;
|
||||
}
|
||||
.wp-block-buttons.aligncenter{
|
||||
text-align:center;
|
||||
}
|
||||
.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block-button.aligncenter{
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
width:100%;
|
||||
}
|
||||
.wp-block-buttons[style*=text-decoration] .wp-block-button,.wp-block-buttons[style*=text-decoration] .wp-block-button__link{
|
||||
text-decoration:inherit;
|
||||
}
|
||||
.wp-block-buttons.has-custom-font-size .wp-block-button__link{
|
||||
font-size:inherit;
|
||||
}
|
||||
|
||||
.wp-block-button.aligncenter{
|
||||
text-align:center;
|
||||
}
|
||||
1
wp-includes/blocks/buttons/style-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/buttons/style-rtl.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.wp-block-buttons{box-sizing:border-box}.wp-block-buttons.is-vertical{flex-direction:column}.wp-block-buttons.is-vertical>.wp-block-button:last-child{margin-bottom:0}.wp-block-buttons>.wp-block-button{display:inline-block;margin:0}.wp-block-buttons.is-content-justification-left{justify-content:flex-start}.wp-block-buttons.is-content-justification-left.is-vertical{align-items:flex-start}.wp-block-buttons.is-content-justification-center{justify-content:center}.wp-block-buttons.is-content-justification-center.is-vertical{align-items:center}.wp-block-buttons.is-content-justification-right{justify-content:flex-end}.wp-block-buttons.is-content-justification-right.is-vertical{align-items:flex-end}.wp-block-buttons.is-content-justification-space-between{justify-content:space-between}.wp-block-buttons.aligncenter{text-align:center}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block-button.aligncenter{margin-left:auto;margin-right:auto;width:100%}.wp-block-buttons[style*=text-decoration] .wp-block-button,.wp-block-buttons[style*=text-decoration] .wp-block-button__link{text-decoration:inherit}.wp-block-buttons.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block-button.aligncenter{text-align:center}
|
||||
52
wp-includes/blocks/buttons/style.css
Normal file
52
wp-includes/blocks/buttons/style.css
Normal file
@@ -0,0 +1,52 @@
|
||||
.wp-block-buttons{
|
||||
box-sizing:border-box;
|
||||
}
|
||||
.wp-block-buttons.is-vertical{
|
||||
flex-direction:column;
|
||||
}
|
||||
.wp-block-buttons.is-vertical>.wp-block-button:last-child{
|
||||
margin-bottom:0;
|
||||
}
|
||||
.wp-block-buttons>.wp-block-button{
|
||||
display:inline-block;
|
||||
margin:0;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-left{
|
||||
justify-content:flex-start;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-left.is-vertical{
|
||||
align-items:flex-start;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-center{
|
||||
justify-content:center;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-center.is-vertical{
|
||||
align-items:center;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-right{
|
||||
justify-content:flex-end;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-right.is-vertical{
|
||||
align-items:flex-end;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-space-between{
|
||||
justify-content:space-between;
|
||||
}
|
||||
.wp-block-buttons.aligncenter{
|
||||
text-align:center;
|
||||
}
|
||||
.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block-button.aligncenter{
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
width:100%;
|
||||
}
|
||||
.wp-block-buttons[style*=text-decoration] .wp-block-button,.wp-block-buttons[style*=text-decoration] .wp-block-button__link{
|
||||
text-decoration:inherit;
|
||||
}
|
||||
.wp-block-buttons.has-custom-font-size .wp-block-button__link{
|
||||
font-size:inherit;
|
||||
}
|
||||
|
||||
.wp-block-button.aligncenter{
|
||||
text-align:center;
|
||||
}
|
||||
1
wp-includes/blocks/buttons/style.min.css
vendored
Normal file
1
wp-includes/blocks/buttons/style.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.wp-block-buttons{box-sizing:border-box}.wp-block-buttons.is-vertical{flex-direction:column}.wp-block-buttons.is-vertical>.wp-block-button:last-child{margin-bottom:0}.wp-block-buttons>.wp-block-button{display:inline-block;margin:0}.wp-block-buttons.is-content-justification-left{justify-content:flex-start}.wp-block-buttons.is-content-justification-left.is-vertical{align-items:flex-start}.wp-block-buttons.is-content-justification-center{justify-content:center}.wp-block-buttons.is-content-justification-center.is-vertical{align-items:center}.wp-block-buttons.is-content-justification-right{justify-content:flex-end}.wp-block-buttons.is-content-justification-right.is-vertical{align-items:flex-end}.wp-block-buttons.is-content-justification-space-between{justify-content:space-between}.wp-block-buttons.aligncenter{text-align:center}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block-button.aligncenter{margin-left:auto;margin-right:auto;width:100%}.wp-block-buttons[style*=text-decoration] .wp-block-button,.wp-block-buttons[style*=text-decoration] .wp-block-button__link{text-decoration:inherit}.wp-block-buttons.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block-button.aligncenter{text-align:center}
|
||||
Reference in New Issue
Block a user