Update BUMDes
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums\Bumdes;
|
||||
|
||||
enum SifatAuditBumdes: string
|
||||
{
|
||||
case INTERNAL = 'internal';
|
||||
case EKSTERNAL = 'eksternal';
|
||||
|
||||
public function label(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::INTERNAL => 'Internal (pengurus/pengawas BUMDes sendiri)',
|
||||
self::EKSTERNAL => 'Eksternal (Inspektorat, Dinas PMD, akuntan publik/auditor independen)',
|
||||
};
|
||||
}
|
||||
|
||||
public static function options(): array
|
||||
{
|
||||
return collect(self::cases())->mapWithKeys(fn (self $value) => [$value->value => $value->label()])->all();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user