@extends('admin.layout.master') @section('title') Manage Shops @endsection @section('content')
@include('admin.layout.laravel_errors')
Manage Shops
@forelse($shops as $t=>$shop) {{-- update modal--}} @empty @endforelse
Id Name Email Phone Address Image Created By Created At Updated At Edit Delete
{{ $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') : '--' }}
@endsection @section('script') @endsection