@extends('layouts.admin') @section('contents')

Approved {{ $kyc_summary['approved'] }}

Pending {{ $kyc_summary['pending'] }}

Rejected {{ $kyc_summary['rejected'] }}

@if ($kyc_records->count() > 0)

All KYC Records

@foreach ($kyc_records as $record)

{{ $record->user->name }} @if ($record->status == 'approved') @elseif ($record->status == 'pending') @else @endif

{{ date('M d, Y', strtotime($record->created_at)) }}

{{ $record->document_type }}

View

@endforeach
{{ $kyc_records->links('paginations.simple') }}
@endif
@endsection