@extends('layouts.app') @section('title', __('Agent Documents')) @section('content')
| {{ __('Agent') }} | {{ __('Document') }} | {{ __('Type') }} | {{ __('Uploaded') }} | {{ __('Size') }} | {{ __('Actions') }} |
|---|---|---|---|---|---|
| {{ $record->agent?->name ?? '—' }} | {{ $record->original_name ?: basename($record->file_path) }} | {{ \Illuminate\Support\Str::headline($record->type) }} | {{ $record->created_at?->format('Y-m-d') ?? '—' }} | {{ $record->size ? number_format($record->size / 1024, 1).' KB' : '—' }} | @if($record->agent){{ __('Download') }}{{ __('Agent') }}@can('agent.edit'){{ __('Edit') }}@endcan @endif |
| {{ __('No agent documents found.') }} | |||||