Merge branch '785-no-sms-notification-for-discount' into 'master'

Resolve "No SMS notification for discount"

Closes #785

See merge request jankstudio/resq!896
This commit is contained in:
Ramon Gutierrez 2024-01-30 07:03:47 +00:00
commit ba8ac73c9d

View file

@ -4252,6 +4252,10 @@ class ResqJobOrderHandler implements JobOrderHandlerInterface
if ($rejection->getReason() == JORejectionReason::ADMINISTRATIVE)
return null;
// check if reason is discount
if ($rejection->getReason() == JORejectionReason::DISCOUNT)
return null;
// sms content
// Job Order # - can get from jo
// Order Date and Time - get from jo