@extends('user.layout') @section('content')
@include('user.templates.navbar')
@include('user.templates.top-bar')
@if (session('success'))
{{ session('success') }}
@endif

Patients Test Entries

@if ($entries->count() > 0) @foreach ($entries as $visitId => $tests) @endforeach
Patient Name Age Phone Visit ID Tests Discount Total Action
{{ $tests->first()->patient->patient_name }} {{ $tests->first()->patient->age }} {{ $tests->first()->patient->phone }} {{ $visitId }} @foreach ($tests as $test) {{ $test->healthTest->test_name ?? 'N/A' }} (₹{{ $test->price }})
@endforeach
₹{{ $tests->sum('discount') }} ₹{{ $tests->sum('price') - $tests->sum('discount') }} View Report Generate Bill
@else
Current time No Entry
@endif
@endsection @push('scripts') @endpush