@if(session()->get('title') == "success")
{{__('messages.success')}}
{{ session()->get('message') }}
@elseif (session()->get('title') == "error")
Error
{{ session()->get('message') }}
@elseif($errors->any())
Error
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@else
@endif
{{-- --}}
{{__('messages.name')}} |
{{__('messages.PHONE')}} |
{{__('messages.EMAIL')}} |
{{__('messages.STATUS')}} |
{{__('messages.ACTION')}} |
@foreach($data as $customer)
{{$customer->name}} |
{{$customer->phone_number}} |
{{$customer->email}} |
@if ($customer->status =='1')
Active |
@else
Inactive |
@endif
{{-- --}}
{{-- --}}
{{-- --}}
|
@endforeach