Add Customer now all field shown

This commit is contained in:
Ibnu Maksum
2023-08-09 14:54:38 +07:00
parent 56cea36a33
commit e3b736e222
5 changed files with 65 additions and 35 deletions

View File

@ -26,7 +26,8 @@ switch ($do) {
$cpassword = _post('cpassword');
$address = _post('address');
if(!empty($config['sms_url'])){
$phonenumber = $username;
$phonenumber = Lang::phoneFormat($username);
$username = $phonenumber;
}else if(strlen($username)<21){
$phonenumber = $username;
}