feat: refactored accommodation booking status model
This commit is contained in:
1 parent
e8accbb3ed
commit
5a3957e143
42 files changed
+1190
-277
No files matched your search
@@ -84,8 +84,8 @@ class AccommodationBookingRepository extends ServiceEntityRepository
|
||||
$qb->andWhere('booking.status IN (:status)')->setParameter('status', $filter->status);
|
||||
}
|
||||
|
||||
if ([] !== $filter->type) {
|
||||
$qb->andWhere('booking.type IN (:type)')->setParameter('type', $filter->type);
|
||||
if ([] !== $filter->origin) {
|
||||
$qb->andWhere('booking.origin IN (:origin)')->setParameter('origin', $filter->origin);
|
||||
}
|
||||
|
||||
if ($filter->unassigned) {
|
||||
|
||||
Reference in new issue
Block a user