@extends('layouts.admin_template') @section('content')
@foreach (['danger', 'warning', 'success', 'info'] as $msg) @if(Session::has('alert-' . $msg)) @endif @endforeach

Document Listing

@if(count($userdata) > 0) @foreach($userdata as $user) @endforeach @endif
User Name Email Phone Requested Date Approved Date Action
{{ $user->name }} {{ $user->email }} {{ $user->phone }} {{ $user->created_at }} {{ $user->updated_at }}
@endsection