Medical Diagnostic Center
Address: 123, Health Street, City Name | Phone: +91-9876543210
@php $patient = $tests->first()->patient; @endphp
Patient Name:
{{ $patient->patient_name }}
Age:
{{ $patient->age }}
Phone:
{{ $patient->phone }}
Visit ID:
{{ $visitId }}
Bill Date:
{{ \Carbon\Carbon::now()->format('d/m/Y') }}
#
Test Name
Price (₹)
Discount (₹)
Net Amount (₹)
@php $total = 0; @endphp @foreach ($tests as $index => $test) @php $net = $test->price - $test->discount; $total += $net; @endphp
{{ $index + 1 }}
{{ $test->healthTest->test_name }}
₹{{ $test->price }}
₹{{ $test->discount }}
₹{{ number_format($net, 2) }}
@endforeach
Grand Total:
₹{{ number_format($total, 2) }}