PriceService + XDEBUG.

- Arreglados problemas que impedian el funcionamiento de xdebug para hacer debug.
- Correción errores PriceService.
This commit is contained in:
2024-05-01 20:21:14 +02:00
parent 9c8759e24d
commit 15a884fafa
7 changed files with 169 additions and 51 deletions
+3 -4
View File
@@ -79,11 +79,10 @@ class SearchRoomsController extends AbstractController
$fareTable[] = $repoFareTable->find(2);
$cat = $repoCat->find(4);
//$rs = $repoFareTable->getAllowedGuestNumberOnFareTableList($fareTable);
$startDate = new \DateTime("2024-04-20");
$endDate = new \DateTime("2024-04-21");
$startDate = new \DateTime("2024-04-27");
$endDate = new \DateTime("2024-05-02");
$rs = $priceService->getCategoryPricesForSearch($cat, $startDate, $endDate);
$rs = $priceService->getFinalPricesForSearch($cat, $startDate, $endDate);
return $this->json($rs);
}