Implement tenant announcements and audit log fixes
This commit is contained in:
17
app/Enums/TenantAnnouncementSegment.php
Normal file
17
app/Enums/TenantAnnouncementSegment.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
enum TenantAnnouncementSegment: string
|
||||
{
|
||||
case ACTIVE_PACKAGE = 'active_package';
|
||||
case ACTIVE_STATUS = 'active_status';
|
||||
|
||||
public function label(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::ACTIVE_PACKAGE => __('Aktives Paket'),
|
||||
self::ACTIVE_STATUS => __('Aktiv (nicht gesperrt/gelöscht)'),
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user