do not show deleted menuitems
Some checks failed
/ ls (pull_request) Failing after 2m23s

This commit is contained in:
lubiana 2024-09-23 19:02:17 +02:00
parent 441568bdb7
commit 9e35499269
No known key found for this signature in database
3 changed files with 15 additions and 1 deletions

View file

@ -56,6 +56,7 @@ final class OrderItemController extends AbstractController
}
$menuItems = $menuItemRepository->findBy([
'foodVendor' => $foodOrder->getFoodVendor(),
'deletedAt' => null,
]);
return $this->render('order_item/new.html.twig', [