@extends('layouts.app') @section('content')
{{-- table index start --}}
Pending Payment
@if ($message = Session::get('success')) @endif @if ($message = Session::get('error')) @endif @if ($errors->any()) @endif @php $reports = [ [ 'id' => 1, 'mrn' => '12345678', 'patient_name' => 'John Doe', 'request_name' => 'Mohd Haris', 'report_type' => 'Full report', 'date_received' => '10 MAY 2025', 'deposit' => 'YES', 'status' => 'pending_payment', 'duration' => '14 days', 'assigned_staff' => 'Mr. Ahmad', 'price' => '150.00', 'remarks' => 'Complete medical report with all test results included.', 'receipt_uploaded' => false, ], [ 'id' => 2, 'mrn' => '87654321', 'patient_name' => 'Jane Smith', 'request_name' => 'Abu Bakar', 'report_type' => 'Form report', 'date_received' => '11 MAY 2025', 'deposit' => 'YES', 'status' => 'pending_payment', 'duration' => '10 days', 'assigned_staff' => 'Ms. Siti Aminah', 'price' => '80.00', 'remarks' => 'Standard form report as requested.', 'receipt_uploaded' => false, ], ]; @endphp
@php $counter = 1 @endphp @foreach ($reports as $report) @if($report['status'] === 'pending_payment') @endif @endforeach
No. MRN Patient Name Request Name Type Report Date Received Deposit Status Duration Assign Staff Price (RM) Remarks Report Receipt
{{ $counter++ }} {{ $report['mrn'] }} {{ $report['patient_name'] }} {{ $report['request_name'] }} {{ $report['report_type'] }} {{ $report['date_received'] }} {{ $report['deposit'] }} PENDING PAYMENT {{ $report['duration'] }} {{ $report['assigned_staff'] }} RM {{ number_format($report['price'], 2) }} {{ $report['remarks'] }}
{{-- table index end --}}
@endsection