From 94b37cc0046ed5668d8d4665471b7bec0610ccd3 Mon Sep 17 00:00:00 2001 From: TCHOUKOUAHA Boris Gautier Date: Fri, 24 Nov 2023 10:31:45 +0100 Subject: [PATCH] updte civ --- app/Filament/Resources/OscResource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Filament/Resources/OscResource.php b/app/Filament/Resources/OscResource.php index f4c3af6..1b62405 100644 --- a/app/Filament/Resources/OscResource.php +++ b/app/Filament/Resources/OscResource.php @@ -260,7 +260,7 @@ public static function getNavigationBadge(): ?string if( auth()->user()->role == 7) { - $country = parent::getEloquentQuery()->where('pays', 'Cote d\'ivoire')->orWhere('pays', 'Côte d\'ivoire'); + $country = parent::getEloquentQuery()->where('pays', 'Cote d\'ivoire')->orWhere('pays', 'Côte d\'ivoire')->orWhere('pays', 'Côte d\'Ivoire')->orWhere('pays', 'Cote d\'Ivoire'); return $country->count(); }