Merge branch '398-filter-numbers-for-sms-warranty-sending' into 'master'

Resolve "Filter numbers for sms warranty sending"

Closes #398

See merge request jankstudio/resq!449
This commit is contained in:
Kendrick Chan 2020-05-05 03:09:11 +00:00
commit 906fc76ff3

View file

@ -69,6 +69,10 @@ class WarrantySMSCommand extends Command
if (!is_numeric($num))
continue;
// should not be 9900000000
if ($num == '9900000000')
continue;
// add 63 prefix
$num = '63' . $num;