CHNAGE_ floter text : GWM
This commit is contained in:
parent
547c1b36ee
commit
76562e1f38
@ -1458,7 +1458,7 @@ class EmployeeRestController extends AdminController
|
|||||||
$string = ucwords($string);
|
$string = ucwords($string);
|
||||||
$result .= ' + '.$string;
|
$result .= ' + '.$string;
|
||||||
}else if($value != 0 && $key ==='self') {
|
}else if($value != 0 && $key ==='self') {
|
||||||
$result = 'Can Add Self ';
|
$result = 'Allowed memebrs Self ';
|
||||||
}else if($value != 0 && $key ==='childrens') {
|
}else if($value != 0 && $key ==='childrens') {
|
||||||
if($value > 1){ $result .= ' + '.$value.' Children'; }else{ $result .= ' + '.$value.' Child'; }
|
if($value > 1){ $result .= ' + '.$value.' Children'; }else{ $result .= ' + '.$value.' Child'; }
|
||||||
}else if($value != 0 && $key ==='elders_count') {
|
}else if($value != 0 && $key ==='elders_count') {
|
||||||
@ -1477,7 +1477,7 @@ class EmployeeRestController extends AdminController
|
|||||||
|
|
||||||
if($first_two_chars == " +"){
|
if($first_two_chars == " +"){
|
||||||
$modified_string = substr($result, 3);
|
$modified_string = substr($result, 3);
|
||||||
return "Can Add ".$modified_string;
|
return "Allowed memebrs ".$modified_string;
|
||||||
}else{
|
}else{
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user