|
@@ -122,6 +122,7 @@ class Institution extends Base {
|
|
|
return '';
|
|
|
}
|
|
|
$local_name = DB::table('institution')->where('id',$id)->value('name');
|
|
|
+ $parent = explode(',',$parent);
|
|
|
foreach ($parent as $k=>$v){
|
|
|
$data = DB::table('remote_contact')->where('hospital_id',$id)->where('super_hospital_id',$v)->find();
|
|
|
if(!empty($data)){
|