Skip to content

Commit

Permalink
fix area in super admin
Browse files Browse the repository at this point in the history
  • Loading branch information
gheorghelupu17 committed Dec 30, 2024
1 parent cdd9216 commit 6ad5d3b
Show file tree
Hide file tree
Showing 4 changed files with 640 additions and 624 deletions.
5 changes: 5 additions & 0 deletions app/Enums/AreaType.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ enum AreaType: string implements HasLabel
use Enums\Arrayable;
use Enums\Comparable;

case INTERNATIONAL = 'international';
case NATIONAL = 'national';

case REGIONAL = 'regional';

case COUNTY = 'county';
case LOCAL = 'local';

protected function labelKeyPrefix(): ?string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ public static function getInfolistSchema(): array
TextEntry::make('main_activity')
->label(__('organization.field.main_activity')),

TextEntry::make('area')
->label(__('organization.field.area'))
->placeholder(__('organization.placeholders.area')),

Location::make()
->cityLabel(__('organization.field.city'))
->countyLabel(__('organization.field.county'))
Expand Down
Loading

0 comments on commit 6ad5d3b

Please sign in to comment.