@if($locations->count() > 0)
@foreach($locations as $location)
{{$location->title}}
{{$location->description}}
@if($location->start_date!='' || $location->end_date!='')
@endif
@if($location->end_date!='')
{{$location->end_date}}
@endif
@if($location->start_date!='')
{{$location->start_date}}
@endif
@if($location->times()->whereRaw('(time_from <> "" or time_to <> "")')->count()>0)
@endif
@foreach($location->times as $key=> $time)
@if(($time->time_from!='') && ($time->time_to!=''))
{{$time->time_from}} - {{$time->time_to}}
@elseif($time->time_from!='')
{{$time->time_from}}
@elseif($time->time_to!='')
{{$time->time_to}}
@endif
@endforeach
@if($location->lat!='' && $location->lng!='')
الخريطة
@else
@endif
@endforeach
@else
@endif