This commit is contained in:
2023-06-13 11:33:42 +07:00
parent cbc7dfdb99
commit 8f532e655f
10 changed files with 320 additions and 7 deletions

View File

@@ -29,7 +29,8 @@ class MemberResource extends JsonResource
'code' => $currentMemberPlan->plan->code ?? null,
'start' => $currentMemberPlan->start,
'end' => $currentMemberPlan->end,
'limit' => $this->currentPlan->limit_rules
'limit' => $this->currentPlan->limit_rules,
'limit_consultation' => 6
] : null,
'policy_code' => $this->currentPolicy?->code ?? null,
'corporate' => [