Add rush request JOs to be marked the same color as emergency. #681
This commit is contained in:
parent
4eb35364ca
commit
f8e3e7df2d
1 changed files with 7 additions and 1 deletions
|
|
@ -202,7 +202,13 @@ class ResqJobOrderHandler implements JobOrderHandlerInterface
|
||||||
// check if customer is not willing to wait
|
// check if customer is not willing to wait
|
||||||
$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)
|
||||||
|
{
|
||||||
|
// check if reason is emergency or rush
|
||||||
|
$reason = $orow->getReasonNotWait();
|
||||||
|
if (($reason == CustomerNotWaitReason::EMERGENCY) ||
|
||||||
|
($reason == CustomerNotWaitReason::RUSH_REQUEST))
|
||||||
$is_emergency = true;
|
$is_emergency = true;
|
||||||
|
}
|
||||||
|
|
||||||
// add row data
|
// add row data
|
||||||
$row['id'] = $orow->getID();
|
$row['id'] = $orow->getID();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue