@if (session('error'))
Error
{{ session('error') }}
@endif
@if (session('success'))
Success
{{ session('success') }}
@endif
{{-- --}}
Name |
Business Name |
Email |
Status |
Action |
@foreach($data as $user)
{{$user->name}} |
{{$user->business->business_name}} |
{{$user->email}} |
@if ($user->active =='1')
Active |
@else
Inactive |
@endif
{{--
--}}
|
@endforeach