@extends('layouts.app') {{-- Use your layout or remove this line if not needed --}} @section('content')
@php $medicalRecords = [ [ 'id' => 1, 'mrn' => '12345678', 'patient_name' => 'John Doe', 'request_name' => 'Mohd Haris', 'type_report' => 'Full Report', 'date_received' => '10 MAY 2025', 'deposit' => 'YES', 'ic' => 'YES', 'status' => 'PICKUP', 'reject_reason' => null ], [ 'id' => 2, 'mrn' => '87654321', 'patient_name' => 'Jane Smith', 'request_name' => 'Abu Bakar', 'type_report' => 'Form Report', 'date_received' => '11 MAY 2025', 'deposit' => 'NO', 'ic' => 'YES', 'status' => 'PICKUP', 'reject_reason' => null ], [ 'id' => 3, 'mrn' => '01020304', 'patient_name' => 'Ali bin Ahmad', 'request_name' => 'My Cle', 'type_report' => 'Full Report', 'date_received' => '12 MAY 2025', 'deposit' => 'YES', 'ic' => 'NO', 'status' => 'PICKUP', 'reject_reason' => null ], ]; @endphp {{-- table index start --}}
Pickup
@if ($message = Session::get('success')) @endif @if ($message = Session::get('error')) @endif @if ($errors->any()) @endif
@php $counter = 1 @endphp @foreach ($medicalRecords as $record) @endforeach
No. MRN Patient Name Request Name Type Report Date Received Deposit IC Status Already Pickup
{{ $counter++ }} {{ $record['mrn'] }} {{ $record['patient_name'] }} {{ $record['request_name'] }} {{ $record['type_report'] }} {{ $record['date_received'] }} {{ $record['deposit'] }} {{ $record['ic'] }} {{ $record['status'] }} Yes
{{-- table index end --}}
@endsection