@include('admin.layout.laravel_errors')
Id |
Name |
Email |
Phone |
Address |
Image |
Created By |
Created At |
Updated At |
Edit |
Delete |
@forelse($shops as $t=>$shop)
{{ $t+1 }} |
{{ $shop->name }} |
{{ ($shop->email) ? $shop->email : '--' }} |
{{ ($shop->phone) ? $shop->phone : '--' }} |
{{ ($shop->address) ? $shop->address : '--' }} |
@if(!empty($shop->image))
@else
--
@endif
|
{{ ($shop->createdby) ? $shop->createdby->name : '--' }} |
{{ Carbon\Carbon::parse($shop->created_at)->format('d-m-Y h:i') }} |
{{ ($shop->updated_at) ? Carbon\Carbon::parse($shop->updated_at)->format('d-m-Y h:i') : '--' }} |
|
|
{{-- update modal--}}
@empty
@endforelse