Shouldn't it be
$latestPassport = $this->demoRepo->latest('*', 'passport_date','asc',3);
$latestVisa = $this->demoRepo->latest('*', 'visa_date','asc',3);
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community