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

@ -21,4 +21,14 @@ class Lang
global $config;
return $config['currency_code'] . ' ' .number_format($var, 0, $config['dec_point'], $config['thousands_sep']);
}
public static function phoneFormat($phone)
{
global $config;
if(Validator::UnsignedNumber($phone) && !empty($config['country_code_phone'])){
return preg_replace('/^0/', $config['country_code_phone'], $phone);
}else{
return $phone;
}
}
}