@extends('layouts.dashboard-app') @section('main-content')

Hello, Welcome {{ auth()->user()->name }}

@csrf
{{-- @foreach ($data as $user) @endforeach


Users

Add New Users {{-- Download Excel --}}
@foreach ($data as $item) @endforeach
Name Email Role Agent Group Status Action
{{ $item->name }} {{ $item->email }} {{ $item->role }} {{ $item->agent_code }} {{ $item->status }}
@endsection {{-- @@section('name') --}} {{-- @endsection --}}