-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #368 from code4romania/330-implement-social-assist…
…ance-counseling-sheet Social assistance
- Loading branch information
Showing
14 changed files
with
1,016 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace App\Enums; | ||
|
||
use App\Concerns\Enums; | ||
use Filament\Support\Contracts\HasLabel; | ||
|
||
enum FamilyRelationship: string implements HasLabel | ||
{ | ||
use Enums\HasLabel; | ||
use Enums\Arrayable; | ||
use Enums\Comparable; | ||
|
||
case PARTNER = 'partner'; | ||
case MOTHER = 'mother'; | ||
case FATHER = 'father'; | ||
case SISTER = 'sister'; | ||
case BROTHER = 'brother'; | ||
case OTHER = 'other'; | ||
|
||
public function labelKeyPrefix(): ?string | ||
{ | ||
return 'enum.family_relationship'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace App\Enums; | ||
|
||
use App\Concerns\Enums; | ||
use Filament\Support\Contracts\HasLabel; | ||
|
||
enum HomeType: string implements HasLabel | ||
{ | ||
use Enums\HasLabel; | ||
use Enums\Arrayable; | ||
use Enums\Comparable; | ||
|
||
case INDIVIDUAL_HOUSE = 'individual_house'; | ||
case BUILDING_WITH_MULTIPLE_HOUSES = 'building_with_multiple_houses'; | ||
case APARTMENT = 'apartment'; | ||
case STUDIO = 'studio'; | ||
case ROOM = 'room'; | ||
case SPACE_IN_BUILDING_WITH_NON_RESIDENTIAL_DESTINATION = 'space_in_building_with_non_residential_destination'; | ||
case OTHER = 'other'; | ||
|
||
public function labelKeyPrefix(): ?string | ||
{ | ||
return 'enum.home_type'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace App\Enums; | ||
|
||
use App\Concerns\Enums; | ||
use Filament\Support\Contracts\HasLabel; | ||
|
||
enum PaymentMethod: string implements HasLabel | ||
{ | ||
use Enums\HasLabel; | ||
use Enums\Arrayable; | ||
use Enums\Comparable; | ||
|
||
case REPRESENTATIVE = 'representative'; | ||
case POSTAL_OFFICE = 'postal_office'; | ||
case BANK_ACCOUNT = 'bank_account'; | ||
case OTHER = 'other'; | ||
|
||
public function labelKeyPrefix(): ?string | ||
{ | ||
return 'enum.payment_method'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace App\Enums; | ||
|
||
use App\Concerns\Enums; | ||
use Filament\Support\Contracts\HasLabel; | ||
|
||
enum ProtectionMeasuringType: string implements HasLabel | ||
{ | ||
use Enums\HasLabel; | ||
use Enums\Arrayable; | ||
use Enums\Comparable; | ||
|
||
case EMERGENCY_PLACEMENT = 'emergency_placement'; | ||
case PLACEMENT_IN_FAMILY = 'placement_in_family'; | ||
case PLACEMENT_AT_FOSTER_CARE = 'placement_at_foster_care'; | ||
case PLACEMENT_IN_RESIDENTIAL_CARE_SERVICE = 'placement_in_residential_care_service'; | ||
case SPECIALIZED_SUPERVISION = 'specialized_supervision'; | ||
case OTHER = 'other'; | ||
|
||
public function labelKeyPrefix(): ?string | ||
{ | ||
return 'enum.protection_measuring_type'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace App\Enums; | ||
|
||
use App\Concerns\Enums; | ||
use Filament\Support\Contracts\HasLabel; | ||
|
||
enum SocialRelationship: string implements HasLabel | ||
{ | ||
use Enums\HasLabel; | ||
use Enums\Arrayable; | ||
use Enums\Comparable; | ||
|
||
case FRIEND = 'friend'; | ||
case COWORKER = 'coworker'; | ||
case SUPPORT_GROUP = 'support_group'; | ||
case OTHER = 'other'; | ||
|
||
public function labelKeyPrefix(): ?string | ||
{ | ||
return 'enum.social_relationship'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.