Add country code to mobile number. #465
This commit is contained in:
parent
d14bb71c77
commit
75ff5bcdbb
1 changed files with 2 additions and 1 deletions
|
|
@ -975,7 +975,8 @@ class ResqJobOrderHandler implements JobOrderHandlerInterface
|
|||
}
|
||||
|
||||
// send SMS to customer
|
||||
$phone_number = $obj->getCustomer()->getPhoneMobile();
|
||||
// prepend country code to number
|
||||
$phone_number = $this->country_code . $obj->getCustomer()->getPhoneMobile();
|
||||
if (!empty($phone_number))
|
||||
$this->sendSMSToCustomer($phone_number);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue