|
|
@@ -18,7 +18,7 @@ public function getActive(): Collection
|
|
|
{
|
|
|
$today = now()->toDateString();
|
|
|
|
|
|
- return FranchiseeContract::with('unit')
|
|
|
+ return FranchiseeContract::with(['unit', 'inhabitantClassification'])
|
|
|
->whereNotNull('start_date')
|
|
|
->whereNotNull('end_date')
|
|
|
->where('start_date', '<=', $today)
|