removed extra param from getTotalDueAmount function call

This commit is contained in:
Shreesh Arora
2024-10-04 11:27:36 +05:30
parent 95c610116a
commit 0cd4d3f732

View File

@@ -2421,7 +2421,7 @@ class AdminStatsControllerCore extends AdminStatsTabController
}
// Get to totalo due amount in the orders
public static function getTotalDueAmount($dateFrom = '', $dateTo = '', $idHotel = false, $useTax = 0)
public static function getTotalDueAmount($dateFrom = '', $dateTo = '', $idHotel = false)
{
$objHotelBooking = new HotelBookingDetail();
$invalidOrderStates = $objHotelBooking->getOrderStatusToFreeBookedRoom();