$this->id, 'memberId' => $this->member_id, 'fullName' => $this->full_name, $this->mergeWhen($request->input('claimMember') === 'false', [ 'division' => $this->division->name ?? '', 'status' => $this->active ]), 'limit' => [ 'current' => $this->claims_sum_total_claim, 'total' => $this->currentPlan->limit_rules ?? 0, 'percentage' => (!empty($this->currentPlan->limit_rules ?? 0)) ? (($this->claims_sum_total_claim / $this->currentPlan->limit_rules) * 100) : 0 ], ]; } }