diff --git a/app/Filament/Resources/PointTypeResource.php b/app/Filament/Resources/PointTypeResource.php index d7a567b..dcf055f 100644 --- a/app/Filament/Resources/PointTypeResource.php +++ b/app/Filament/Resources/PointTypeResource.php @@ -91,7 +91,7 @@ public static function getRelations(): array public static function getPages(): array { return [ - 'index' => Pages\ListPointTypes::route('/'), + 'index' => Pages\ManagePointTypes::route('/'), ]; } @@ -100,6 +100,6 @@ public static function getPages(): array */ public static function isDiscovered(): bool { - return false; + return false; } } diff --git a/app/Filament/Resources/PointTypeResource/Pages/ListPointTypes.php b/app/Filament/Resources/PointTypeResource/Pages/ManagePointTypes.php similarity index 90% rename from app/Filament/Resources/PointTypeResource/Pages/ListPointTypes.php rename to app/Filament/Resources/PointTypeResource/Pages/ManagePointTypes.php index 9008949..123940c 100644 --- a/app/Filament/Resources/PointTypeResource/Pages/ListPointTypes.php +++ b/app/Filament/Resources/PointTypeResource/Pages/ManagePointTypes.php @@ -8,10 +8,10 @@ use App\Models\ServiceType; use Filament\Actions; use Filament\Resources\Components\Tab; -use Filament\Resources\Pages\ListRecords; +use Filament\Resources\Pages\ManageRecords; use Illuminate\Database\Eloquent\Builder; -class ListPointTypes extends ListRecords +class ManagePointTypes extends ManageRecords { protected static string $resource = PointTypeResource::class; diff --git a/app/Services/Filter.php b/app/Services/Filter.php index 6a532fa..e5a4fe4 100644 --- a/app/Services/Filter.php +++ b/app/Services/Filter.php @@ -14,6 +14,8 @@ class Filter 'repairs', 'reuse', 'waste_collection', + 'donations', + 'other', 'materials', 'can', 'status', diff --git a/lang/ro.json b/lang/ro.json index caa919d..4f9cf3a 100644 --- a/lang/ro.json +++ b/lang/ro.json @@ -40,6 +40,8 @@ "filter.point_type.repairs": "Tip punct reparații", "filter.point_type.reuse": "Tip punct reutilizare", "filter.point_type.waste_collection": "Tip punct colectare", + "filter.point_type.donations": "Tip punct donații", + "filter.point_type.other": "Tip alt punct", "filter.characteristics.other": "Caracteristici punct", "filter.characteristics.donations": "Caracteristici punct donații",