@extends('web_site.account.layout') @section('account_title', trans('site.account.menu.records')) @section('account_content')
@forelse ($records as $record) {{ \Illuminate\Support\Str::limit($record->diagnosis ?: trans('site.records.report'), 80) }} {{ $record->doctor?->name }} · {{ $record->doctor?->specialty?->name }} · {{ $record->published_at->translatedFormat('j F Y') }} @if ($record->prescription) {{ trans('clinic.medical_records.prescription') }}@endif @if ($record->report) {{ trans('clinic.medical_records.report') }}@endif @if ($record->attachment_path) {{ trans('clinic.attachments.file') }}@endif @empty

{{ trans('site.dashboard.no_records') }}

@endforelse
{{ $records->links() }}
@endsection