Fix: Incorrect selling type context during order validation for multi-preference service products

This commit is contained in:
Amit sharma
2026-05-29 19:12:37 +05:30
parent 71cd5573da
commit 412f43919b
38 changed files with 387 additions and 522 deletions

View File

@@ -348,8 +348,8 @@ class HTMLTemplateOrderSlipCore extends HTMLTemplateInvoice
$breakdown = array();
$order_detail = array_filter($this->order->products, function($v) {
return (!$v['is_booking_product'] && (
$v['selling_preference_type'] == Product::SELLING_PREFERENCE_STANDALONE
|| $v['selling_preference_type'] == Product::SELLING_PREFERENCE_HOTEL_STANDALONE
$v['selling_preference_type'] == Product::SELLING_PREFERENCE_WITH_STANDALONE
|| $v['selling_preference_type'] == Product::SELLING_PREFERENCE_WITH_HOTEL
));
});