feat: legal sections

This commit is contained in:
2026-05-24 13:20:04 +02:00
parent 3a74c2c34d
commit 8b162c8e4c
24 changed files with 1145 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
namespace App\Enums;
use Filament\Support\Contracts\HasLabel;
enum LegalDocumentType: string implements HasLabel
{
case PRIVACY_POLICY = 'privacy_policy';
case TERMS = 'terms';
public function getLabel(): string
{
return match ($this) {
self::PRIVACY_POLICY => __('enums.legal_document_type.privacy_policy'),
self::TERMS => __('enums.legal_document_type.terms'),
};
}
}