8000 Updated: Added occupancy in the functions and their calls in the QloApps core. by vishal-singh-webkul · Pull Request #1342 · Qloapps/QloApps · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Updated: Added occupancy in the functions and their calls in the QloApps core. #1342

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
May 15, 2025

Conversation

vishal-singh-webkul
Copy link
Contributor

No description provided.

@rohit053 rohit053 requested a review from Copilot May 15, 2025 06:44
Copy link
Contributor
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces occupancy parameters into various functions and their calls across the QloApps core modules to support occupancy‐based pricing and validations.

  • Added occupancy retrieval and propagation into pricing and booking functions.
  • Updated validations and pricing function calls to include the new occupancy parameter.
  • Adjusted hook execution in Controller to pass values by reference in AJAX responses.

Reviewed Changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
modules/wkhotelfilterblock/wkhotelfilterblock.php Added occupancy retrieval and passed it to the pricing function.
modules/qlopaypalcommerce/classes/WkPaypalCommerceHelper.php Introduced occupancy array in PayPal order item details processing.
modules/hotelreservationsystem/controllers/admin/AdminHotelRoomsBookingController.php Updated price validation and occupancy parameter when changing room types.
modules/hotelreservationsystem/classes/HotelRoomTypeFeaturePricing.php Modified occupancy parameter handling in pricing calculation functions.
modules/hotelreservationsystem/classes/HotelCartBookingData.php Added occupancy to booking data formatting calls.
modules/hotelreservationsystem/classes/HotelBookingDetail.php Passed occupancy into feature pricing calls for room booking.
modules/hotelreservationsystem/classes/HotelAdvancedPayment.php Propagated occupancy in advanced payment price calculations.
modules/blockcart/blockcart.php Replaced the room request variable with occupancy for price retrieval.
controllers/front/ProductController.php Updated occupancy value retrieval and pricing function calls in the front office.
controllers/admin/AdminOrdersController.php Added occupancy to order booking and updated AJAX response handling.
classes/controller/Controller.php Adjusted hook calls to pass $value by reference in AJAX responses.
classes/PaymentModule.php Introduced occupancy into booking detail price calculations for orders.
classes/Cart.php Updated occupancy parameter usage in cart product pricing functions.

@Qloapps Qloapps deleted a comment from Copilot AI May 15, 2025
@rohit053 rohit053 merged commit d240f95 into Qloapps:develop May 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0