Skip to content

Commit

Permalink
Adiciona lista de status inativos
Browse files Browse the repository at this point in the history
  • Loading branch information
robertfsousa committed Jun 7, 2023
1 parent f1e48d7 commit df30307
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/Models/RegistrationStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,13 @@ public function getDescriptiveValues(): array
self::DECEASED => 'Falecido',
];
}

public static function getStatusInactive(): array
{
return [
RegistrationStatus::ABANDONED,
RegistrationStatus::TRANSFERRED,
RegistrationStatus::DECEASED
];
}
}

0 comments on commit df30307

Please sign in to comment.