Resolve "Transition branch for CMB and Resq merging" #1181

Merged
korina.cordero merged 258 commits from 329-transition-branch-for-cmb-and-resq-merging into master 2020-04-03 02:49:26 +00:00
Showing only changes of commit 49d0e6b97e - Show all commits

View file

@ -651,16 +651,9 @@ class RAPIController extends Controller
// TODO: this has to move to JOHandler
$this->updateVehicleBattery($jo);
<<<<<<< HEAD
// create warranty
if ($jo->getServiceType() == ServiceType::BATTERY_REPLACEMENT_NEW)
=======
$em->flush();
// create warranty
if (($jo->getServiceType() == ServiceType::BATTERY_REPLACEMENT_NEW) ||
($jo->getServiceType() == CMBServiceType::BATTERY_REPLACEMENT_NEW))
>>>>>>> 3e2d0db5cd7c0e67f7c41c61f98761d38e424adc
{
$serial = null;
$warranty_class = $jo->getWarrantyClass();