Fixed:After disabling the demo option, demo data is still showing in the room nights graph until page reload.

This commit is contained in:
Sumit Panwar
2024-05-27 17:44:23 +05:30
parent 6a29d0bdb1
commit b458aee50a
3 changed files with 3 additions and 4 deletions

View File

@@ -1232,7 +1232,7 @@ class AdminStatsControllerCore extends AdminStatsTabController
return $averageDailyRates;
}
// Average Daily Rate is the average income per paid occupied room in a given time period
// Average Daily Rate is the average income per occupied room in a given time period
public static function getAverageDailyRate($dateFrom, $dateTo, $idHotel = null)
{
$roomsRevenueByDates = self::getRoomsRevenueForDiscreteDates($dateFrom, $dateTo, $idHotel);