update
This commit is contained in:
@@ -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' => [
|
||||
|
||||
@@ -224,6 +224,7 @@ class Plan extends Model
|
||||
return $this->belongsTo(CorporatePlan::class);
|
||||
}
|
||||
|
||||
|
||||
// public function Corporate()
|
||||
// {
|
||||
// return $this->belongsTo(Corporate::class);
|
||||
|
||||
Reference in New Issue
Block a user