table member dan table benefit

This commit is contained in:
pajri
2022-12-20 17:48:28 +07:00
parent da14589328
commit 88ad144921
17 changed files with 1365 additions and 499 deletions

View File

@@ -24,6 +24,21 @@ class Helper
}
}
public static function genderPerson($anyGenderCode)
{
if ($anyGenderCode == 'M') {
return 'L';
} else if ($anyGenderCode == 'F') {
return 'P';
} else if ($anyGenderCode == 'O') {
return 'others';
} else if ($anyGenderCode == 'U') {
return 'unknown';
} else {
return null;
}
}
public static function paginateResources($resource)
{
return [