Fix color coding issue. #678
This commit is contained in:
parent
80e61bbc92
commit
61c7774da0
1 changed files with 4 additions and 3 deletions
|
|
@ -188,10 +188,11 @@ class ResqJobOrderHandler implements JobOrderHandlerInterface
|
||||||
$service_types = ServiceType::getCollection();
|
$service_types = ServiceType::getCollection();
|
||||||
|
|
||||||
// process rows
|
// process rows
|
||||||
$is_vip = false;
|
|
||||||
$is_emergency = false;
|
|
||||||
$rows = [];
|
$rows = [];
|
||||||
foreach ($obj_rows as $orow) {
|
foreach ($obj_rows as $orow) {
|
||||||
|
$is_vip = false;
|
||||||
|
$is_emergency = false;
|
||||||
|
|
||||||
// check if customer is vip
|
// check if customer is vip
|
||||||
$cust_class = $orow->getCustomer()->getCustomerClassification();
|
$cust_class = $orow->getCustomer()->getCustomerClassification();
|
||||||
if ($cust_class == CustomerClassification::VIP)
|
if ($cust_class == CustomerClassification::VIP)
|
||||||
|
|
@ -201,7 +202,7 @@ class ResqJobOrderHandler implements JobOrderHandlerInterface
|
||||||
$will_not_wait = $orow->getWillWait();
|
$will_not_wait = $orow->getWillWait();
|
||||||
if ($will_not_wait == WillingToWaitContent::NOT_WILLING_TO_WAIT)
|
if ($will_not_wait == WillingToWaitContent::NOT_WILLING_TO_WAIT)
|
||||||
$is_emergency = true;
|
$is_emergency = true;
|
||||||
|
|
||||||
// add row data
|
// add row data
|
||||||
$row['id'] = $orow->getID();
|
$row['id'] = $orow->getID();
|
||||||
$row['customer_name'] = $orow->getCustomer()->getFirstName() . ' ' . $orow->getCustomer()->getLastName();
|
$row['customer_name'] = $orow->getCustomer()->getFirstName() . ' ' . $orow->getCustomer()->getLastName();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue