added use reduct in get service product price function, removed hotel details from invoice for orders without hotel, fixed some minor issues

This commit is contained in:
vishalsingh.qlo325
2025-06-04 19:23:08 +05:30
parent 8ab3412cdd
commit 2f973561ea
8 changed files with 40 additions and 30 deletions

View File

@@ -891,6 +891,14 @@ class ProductControllerCore extends FrontController
$useTax,
$quantity
);
$smartyVars['service_price_without_reduction'] = RoomTypeServiceProductPrice::getPrice(
$this->product->id,
$idHotel,
$idProductOption,
$useTax,
$quantity,
false
);
if ($quantity) {
$smartyVars['quantity'] = $quantity;
}