@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', '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', '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', 'reject_reason' => null ], [ 'id' => 4, 'mrn' => '55667788', 'patient_name' => 'Farah Nazira', 'request_name' => 'Dr. Zaki', 'type_report' => 'Form Report', 'date_received' => '14 MAY 2025', 'deposit' => 'NO', 'ic' => 'YES', 'reject_reason' => null ], [ 'id' => 5, 'mrn' => '99887766', 'patient_name' => 'Muhammad Aiman', 'request_name' => 'Pn. Siti Hajar', 'type_report' => 'Full Report', 'date_received' => '15 MAY 2025', 'deposit' => 'YES', 'ic' => 'NO', 'reject_reason' => null ], [ 'id' => 6, 'mrn' => '33445566', 'patient_name' => 'Nurul Izzah', 'request_name' => 'Encik Kamal', 'type_report' => 'Form Report', 'date_received' => '16 MAY 2025', 'deposit' => 'YES', 'ic' => 'YES', 'reject_reason' => null ], [ 'id' => 7, 'mrn' => '22110033', 'patient_name' => 'Hakim Roslan', 'request_name' => 'Pn. Aina', 'type_report' => 'Full Report', 'date_received' => '17 MAY 2025', 'deposit' => 'NO', 'ic' => 'NO', 'reject_reason' => null ], ]; @endphp {{-- table index start --}}
Request Form
@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 Action
{{ $counter++ }} {{ $record['mrn'] }} {{ $record['patient_name'] }} {{ $record['request_name'] }} {{ $record['type_report'] }} {{ $record['date_received'] }} {{ $record['deposit'] }} {{ $record['ic'] }}
{{-- table index end --}}
@endsection