@foreach($finalData as $key=>$data)
    <div class="card">
        <div class="card-body">
            <div class="location_data-img">
                <img src="vendor/frontend/img/location-img.png" />
            </div>
            <div class="location_data-content">
                <h5 class="title">
                <a href="{{route('detail',['slug'=>$data['slug']])}}">{{ $data['name'] }}</a>
                </h5>
                <span class="ratings">
                    <i class="mdi mdi-star"></i>
                    <i class="mdi mdi-star"></i>
                    <i class="mdi mdi-star"></i>
                    <i class="mdi mdi-star"></i>
                    <i class="mdi mdi-star-outline"></i>
                    <br>
                    <span class="counts">{{ $data['reviewCounts'] }}</span>
                </span>
                <p class="address">{{ $data['fullAddress']['addressLines'][0] }} 
                <?php if(!empty($data['fullAddress']['addressLines'][1])){ ?>
                    <br> {{ $data['fullAddress']['addressLines'][1] }}</p>
                <?php } ?>    
                
            </div>
        </div>
    </div>
@endforeach
