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

{{translate($title)}}

{{translate('KYC Log List')}}
@forelse($reports as $report) @empty @endforelse
{{ translate('Date') }} {{ translate('Seller/Deliveryman') }} {{ translate('Status') }} {{ translate('Action') }}
{{ diff_for_humans($report->created_at) }}
{{ get_date_time($report->created_at) }}
@if(@$report->seller) {{@$report->seller->name}} - {{ translate('Seller') }}
{{(@$report->seller->email)}} @elseif(@$report->deliveryMan) {{@$report->deliveryMan->first_name}} - {{ translate('Deliveryman') }}
{{(@$report->deliveryMan->email)}} @endif
@if ($report->status == App\Enums\KYCStatus::APPROVED->value) {{ translate('Approved') }} @elseif($report->status == App\Enums\KYCStatus::REQUESTED->value) {{ translate('Requested') }} @elseif($report->status == App\Enums\KYCStatus::HOLD->value) {{ translate('Hold') }} @elseif($report->status == App\Enums\KYCStatus::REJECTED->value) {{ translate('Rejected') }} @endif
@include('admin.partials.not_found')
{{$reports->appends(request()->all())->links()}}
@endsection