List of Hospitals with more than {{$unitsrequired}} units of blood Total Found: {{count($hospitallist)}} hospitals
@php
$names = $hospitallist[$i]->hospitalname;
$words = explode(' ', $names);
if (count($words) >= 2) {
echo mb_strtoupper(
mb_substr($words[0], 0, 1, 'UTF-8') .
mb_substr(end($words), 0, 1, 'UTF-8'),
'UTF-8');
}
else if (count($words) == 1) {
echo mb_strtoupper(
mb_substr($words[0], 0, 1, 'UTF-8'),
'UTF-8');
}
@endphp
{{$hospitallist[$i]->hospitalname}}
-
{{round($hospitallist[$i]->distance,0)}}kms from you
-
{{$hospitallist[$i]->phone}} its not
@endfor