Move warranty creation from JO to event listener. #331
This commit is contained in:
parent
88ed88a8da
commit
8a328bf441
1 changed files with 2 additions and 1 deletions
|
|
@ -715,6 +715,7 @@ class ResqJobOrderHandler implements JobOrderHandlerInterface
|
|||
// call rider assignment handler's fulfillJobOrder
|
||||
$this->rah->fulfillJobOrder($obj, $image_url, $rider);
|
||||
|
||||
/*
|
||||
// create the warranty if new battery only
|
||||
if ($this->checkIfNewBattery($obj))
|
||||
{
|
||||
|
|
@ -753,7 +754,7 @@ class ResqJobOrderHandler implements JobOrderHandlerInterface
|
|||
|
||||
$this->wh->createWarranty($serial, $plate_number, $first_name, $last_name, $mobile_number, $batt_list, $date_purchase, $warranty_class);
|
||||
}
|
||||
}
|
||||
} */
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue