fixes in sms control
This commit is contained in:
parent
b7f0cbf914
commit
da2d82cf6d
@ -41,7 +41,7 @@ class DocType:
|
|||||||
d = d.replace(x, '')
|
d = d.replace(x, '')
|
||||||
|
|
||||||
# mobile no validation for erpnext gateway
|
# mobile no validation for erpnext gateway
|
||||||
if webnotes.conn.webnotes.conn.get_value('SMS Settings', None, 'sms_gateway_url'):
|
if webnotes.conn.get_value('SMS Settings', None, 'sms_gateway_url'):
|
||||||
mob_no = d
|
mob_no = d
|
||||||
else:
|
else:
|
||||||
if not d.startswith("0") and len(d) == 10:
|
if not d.startswith("0") and len(d) == 10:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user