@forelse ($history as $item) @empty

{{ __("You haven't had a consultation") }}

@endforelse
No. {{ __('Date') }} {{ __('Consultation Results') }} Edit
{{ $loop->iteration }} {{ $item->created_at->locale('id')->format('d F Y, H:i') }} @php $hasil = $item->result; if ($hasil != 0 && $hasil != '') { $p = App\Models\Disease::where('id',$hasil)->first(); echo "{$p->name}"; } else { echo "Tidak mengalami gangguan kecemasan"; } @endphp Detail @role('user') @if ($show) @endif @endrole
{{ $history->onEachSide(3)->links() }} {{-- Delete Confirmation --}} {{ __('Delete Consultation History') }} {{ __('Are you sure you want to delete ') }} {{ __("consultation number -") }}{{ $item_position }} ? {{ __('After an consultation history is deleted, all its resources and data will be permanently deleted.') }} {{ __('Delete') }}