@foreach($shops as $key=> $row)
{{ $row->id ?? ''}} {{ $row->name }} {{ $row->phone}} {{ $row->category->name ?? ''}} {{ $row->package->title ?? '' }} {{ \Carbon\Carbon::parse($row->created_at)->format('Y/m/d') }} @if($row->deleted_at) {{ __('dashboard.restore') }} {{ __('dashboard.delete') }} @else {{ __('dashboard.edit') }} {{--
--}} {{--
--}} {{-- status == 1 ? 'checked' : ''}} data-url="{{route('shops.activeShop', $row->id)}}" type="checkbox" class="custom-control-input active_shop" id="active_shop{{$row->id}}">--}} {{-- --}} {{--
--}} {{--
--}} @endif @endforeach @if( count( $shops ) && $shops->hasPages() ) {{ $shops->links() }} @endif