Bussiness Owners
@if (Session::has('success'))
{{ Session::get('success') }}
@endif
@foreach ($owners as $owner) --}} @else {{-- --}} {{-- --}} @endif {{ csrf_field() }} {{ method_field('POST') }} {{-- @else @endif {{ csrf_field() }} {{ method_field('POST') }} --}} @endforeach
S.No Name Company Name Email Contact Lorries Drivers Orders Status Action View
{{ $loop->iteration }} {{ $owner->user->first_name }} {{ $owner->company }} {{ $owner->user->email }} {{ $owner->user->mobile }} {{ \App\Lorry::where('owner_id', $owner->id)->count() }} {{ \App\Driver::where('owner_id', $owner->id)->count() }} {{ \App\Order::where('owner_id', $owner->id)->count() }} @if($owner->user->status) {{-- --}} {{-- @if($owner->user->status)