<table class="table table-hover table-bordered">
    <thead>
    <tr>

        <th scope="col">{{ __('providers.name') }}</th>
        <th scope="col">{{ __('providers.email') }}</th>
        <th scope="col">{{ __('providers.phone') }}</th>
        <th scope="col">{{ __('providers.store') }}</th>
        <th scope="col">{{ __('dashboard.created_at') }}</th>
    </tr>
    </thead>
    <tbody>
    @foreach($providers as $row)
        <tr>
            <td>{{ $row->name }}</td>
            <td>{{ $row->email }}</td>
            <td>{{ $row->phone }}</td>
            <td>{{ $row->store->name }}</td>
            <td>{{ \Carbon\Carbon::parse($row->created_at)->format('Y/m/d') }}</td>
        </tr>
    @endforeach
    </tbody>
</table>
