Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiio committed Sep 30, 2024
1 parent c4a44b1 commit 85cefc3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/Filament/Resources/PointTypeResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public static function getRelations(): array
public static function getPages(): array
{
return [
'index' => Pages\ListPointTypes::route('/'),
'index' => Pages\ManagePointTypes::route('/'),
];
}

Expand All @@ -100,6 +100,6 @@ public static function getPages(): array
*/
public static function isDiscovered(): bool
{
return false;
return false;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 2 additions & 0 deletions app/Services/Filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ class Filter
'repairs',
'reuse',
'waste_collection',
'donations',
'other',
'materials',
'can',
'status',
Expand Down
2 changes: 2 additions & 0 deletions lang/ro.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 85cefc3

Please sign in to comment.