Resolve "CAPI calls for Pullout Form System" #1717

Merged
korina.cordero merged 2 commits from 794-capi-calls-for-pullout-form-system into 783-rider-app-trade-in-support 2024-04-05 10:57:14 +00:00
Showing only changes of commit 93c313f111 - Show all commits

View file

@ -120,7 +120,7 @@ class JobOrderController extends ApiController
{
// NOTE: Modify the search for the latest warranty. This seems hacky.
// get latest warranty using plate number
$warranty_results = $this->em->getRepository(Warranty::class)->findBy(
$warranty_results = $em->getRepository(Warranty::class)->findBy(
['plate_number' => $plate_number],
['date_create' => 'desc']
);