Update RAPIController.php
This commit is contained in:
parent
c9185e6139
commit
3eb7c2c426
1 changed files with 2 additions and 1 deletions
|
|
@ -934,7 +934,8 @@ class RAPIController extends Controller
|
|||
protected function updateVehicleBattery(JobOrder $jo)
|
||||
{
|
||||
// check if new battery
|
||||
if ($jo->getServiceType() != ServiceType::BATTERY_REPLACEMENT_NEW)
|
||||
if (($jo->getServiceType() != ServiceType::BATTERY_REPLACEMENT_NEW) ||
|
||||
($jo->getServiceType() != CMBServiceType::BATTERY_REPLACEMENT_NEW))
|
||||
return;
|
||||
|
||||
// customer vehicle
|
||||
|
|
|
|||
Loading…
Reference in a new issue