<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 cards-list" style="height: 70vh">
    @foreach($img as $key=>$row)
        <div class=" col-xs-4 col-sm-3 col-md-2 col-lg-1 " style="padding: 10px">
            <div class="card">
                <input type="checkbox" name="img_id[]" value="{{$row->id}}">
                <div class="card_image"><img src="{{findImg($row->images)}}"/></div>
                <div class="card_title title-white">
                    <p>{{$row->item_code}}</p>
                </div>
            </div>
        </div>
    @endforeach
</div>
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 text-center">
    @if($img->count())
        {!! $img->render() !!}
    @endif
</div>
