Merge branch 'dev' of bitbucket.org:jubilian/nhance into dev
This commit is contained in:
commit
a77250a97e
@ -1458,7 +1458,7 @@ class EmployeeRestController extends AdminController
|
||||
$string = ucwords($string);
|
||||
$result .= ' + '.$string;
|
||||
}else if($value != 0 && $key ==='self') {
|
||||
$result = 'Can Add Self ';
|
||||
$result = 'Allowed memebrs Self ';
|
||||
}else if($value != 0 && $key ==='childrens') {
|
||||
if($value > 1){ $result .= ' + '.$value.' Children'; }else{ $result .= ' + '.$value.' Child'; }
|
||||
}else if($value != 0 && $key ==='elders_count') {
|
||||
@ -1477,7 +1477,7 @@ class EmployeeRestController extends AdminController
|
||||
|
||||
if($first_two_chars == " +"){
|
||||
$modified_string = substr($result, 3);
|
||||
return "Can Add ".$modified_string;
|
||||
return "Allowed memebrs ".$modified_string;
|
||||
}else{
|
||||
return $result;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user