@extends('admin.layouts.master') @section('title', 'Customer') @section('content')
@include('admin.includes.msg')
@if(Auth::user()->user_type!=2) @else @endif @if(!empty($alldata) && $alldata->count()>0) @foreach($alldata as $key=>$val) @if($val->user_type!=2) {{-- --}} @if(Auth::user()->user_type!=2) @else @endif @endif @endforeach @endif
Sl.No Image Name Email Phone Locality Customer TypeAgent Visible ActionAddress
{{$key+1}} No Image {{ $val->name}} {{ $val->email}} {{ $val->phone}}{{ $val->groupName }}{{ $val->customer_type}}{{ $val->agent_code}} @if(Auth::user()->role<=4)
status==1) checked @endif>
@endif
@if(Auth::user()->role<=4) Make Agent
{{ method_field('delete') }} {{----}} {{ csrf_field() }}
@endif
{{@$val->address}}
@if(!empty($alldata) && $alldata->count()>0)
Showing {{ $alldata->firstItem() }} to {{ $alldata->lastItem() }} of {{ $alldata->total() }} entries
{{ $alldata->appends(Request::except('page'))->links('pagination::bootstrap-4') }}
@endif
@endsection