Merge branch 'dev' of bitbucket.org:jubilian/nhance into dev

This commit is contained in:
VENKATESHWARAN 2024-10-17 14:50:13 +05:30
commit a77250a97e

View File

@ -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;
}