@extends('backend.partials.master') @section('title') {{ ___('label.my_documents') }} @endsection @section('maincontent') @foreach($documents as $d) @php $map = ['Verified'=>'success','Pending'=>'warning','Rejected'=>'danger']; $c = $map[$d->status] ?? 'warning'; @endphp {{ $d->title }} {{ admin_label($d->type) }} {{ $d->file_label }} {{ $d->uploaded_on?->translatedFormat('d M Y') }} {{ admin_label($d->status) }} @endforeach @endsection