Resolve "Fix color coding issues" #1603

Merged
korina.cordero merged 1 commit from 678-fix-color-coding-issues into master 2022-06-07 03:14:59 +00:00

View file

@ -188,10 +188,11 @@ class ResqJobOrderHandler implements JobOrderHandlerInterface
$service_types = ServiceType::getCollection();
// process rows
$is_vip = false;
$is_emergency = false;
$rows = [];
foreach ($obj_rows as $orow) {
$is_vip = false;
$is_emergency = false;
// check if customer is vip
$cust_class = $orow->getCustomer()->getCustomerClassification();
if ($cust_class == CustomerClassification::VIP)
@ -201,7 +202,7 @@ class ResqJobOrderHandler implements JobOrderHandlerInterface
$will_not_wait = $orow->getWillWait();
if ($will_not_wait == WillingToWaitContent::NOT_WILLING_TO_WAIT)
$is_emergency = true;
// add row data
$row['id'] = $orow->getID();
$row['customer_name'] = $orow->getCustomer()->getFirstName() . ' ' . $orow->getCustomer()->getLastName();