@extends('admin.layouts.app') @section('content')

{{__("Vendor Requests")}}

@include('admin.message')
@if(!empty($rows))
{{csrf_field()}}
@endif

{{__('Found :total items',['total'=>$rows->total()])}}

@if($rows->total() > 0) @foreach($rows as $row) @endforeach @else @endif
{{__('Name')}} {{__('Email')}} {{ __('Role request')}} {{ __('Date request')}} {{ __('Date approved')}} {{ __('Approved By')}} {{__('Status')}}
{{@$row->user->getDisplayName()}} {{$row->user->email}} @php $role = $row->role; if(!empty($role)){ echo e(ucfirst($role->name)); } @endphp {{ display_date($row->created_at)}} {{ $row->approved_time ? display_date($row->approved_time) : ''}} {{ $row->approvedBy->getDisplayName()}} {{ $row->status }} @if($row->status!='approved') {{__('Approve')}} @endif
{{__("No data")}}
{{$rows->appends(request()->query())->links()}}
@endsection @section('script.body') @endsection