@extends('admin.layouts.master') @section('title', 'Chanel Partner') @section('content')
@include('admin.includes.msg')
@if(!empty($alldata) && $alldata->count()>0) @foreach($alldata as $key=>$val) @endforeach @else @endif
Sl.No Image Name Type Email Phone Locality Products Visible Action
{{$key+1}} No Image {{ $val->name}} @if($val->role==1) Admin @endif @if($val->role==2) Marketing @endif @if($val->role==3) Auditor @endif @if($val->role==4) C&F @endif @if($val->role==5) Super stockist @endif @if($val->role==6) Distributor @endif @if($val->role==7) Retailers @endif {{ $val->email}} {{ $val->phone}} @php $cat=json_decode($val->localityId,true); if($cat){ foreach($cat as $c){ if(isset($locality[$c])){ echo "
  • "; echo $locality[$c]; echo "
  • "; } } } @endphp
    Products
    status==1) checked @endif>
    {{ method_field('delete') }} {{----}} {{ csrf_field() }}
    -- No Records Found --
    @endsection