Resolve "Rider app trade-in support" #1723

Merged
arcticzero merged 79 commits from 783-rider-app-trade-in-support into master 2024-04-23 13:11:53 +00:00
Showing only changes of commit 175ac92765 - Show all commits

View file

@ -833,9 +833,10 @@ class RiderAppController extends ApiController
$serial = $req->request->get('serial', '');
if ($jo->getServiceType() == ServiceType::BATTERY_REPLACEMENT_NEW)
{
/*
if (empty($serial))
// TODO: serial is required but disabling for now so old rider app works
//return new APIResponse(false, 'Missing parameter(s): serial');
return new APIResponse(false, 'Missing parameter(s): serial');
*/
}
// set invoice to paid