improved the new customer KPI filter and bestselling KPIs

This commit is contained in:
vishalsingh.qlo325
2024-07-04 17:22:48 +05:30
parent fd2a992e96
commit 115adba9d8
2 changed files with 2 additions and 18 deletions

View File

@@ -585,6 +585,7 @@ class AdminStatsControllerCore extends AdminStatsTabController
WHERE p.`active` = 1 AND p.`booking_product` = 1 '.
(!is_null($idHotel) ? HotelBranchInformation::addHotelRestriction($idHotel, 'hrt') : '').'
GROUP By p.`id_product`
HAVING total_booked > 0
ORDER BY total_booked DESC';
return Db::getInstance()->getValue($sql);