add switch corporate & fix table & fix policy

This commit is contained in:
Muhammad Fajar
2022-12-08 08:51:25 +07:00
parent df34c3919d
commit 0c9362334c
17 changed files with 227 additions and 174 deletions

View File

@@ -16,9 +16,13 @@ class MemberResources extends JsonResource
{
return [
'memberId' => $this->member_id,
'full_name' => $this->full_name,
'fullName' => $this->full_name,
'division' => $this->division->name,
'employeeLimit' => '',
'limit' => [
'current' => 2000000,
'total' => 4000000,
'percentage' => (2000000 / 4000000) * 100
],
'status' => $this->active
];
}