Merge remote-tracking branch 'origin/master' into mhmfajar

This commit is contained in:
Muhammad Fajar
2022-12-12 08:46:02 +07:00
17 changed files with 1202 additions and 689 deletions

View File

@@ -19,7 +19,7 @@ class MemberResources extends JsonResource
'memberId' => $this->member_id,
'fullName' => $this->full_name,
$this->mergeWhen($request->input('claimMember') === 'false', [
'division' => $this->division->name,
'division' => $this->division->name ?? '',
'status' => $this->active
]),
'limit' => [