@extends('admin.main') @section('content') @include('admin.reports.dateJs')
| Bill Date | ID | Name | Invoice No | Billed | Paid | Discount | Tax | Refund | Due | Item Price | Service Name |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $b->created_at->format('D j M') }} | P{{ $b->patient_id }} | {{ $b->patient->name }} | {{ $b->id }} | {{ $b->base_amount }} | {{ $b->paid_amount }} | {{ $b->total_discount }} | {{ $b->total_tax }} | {{ $b->refund_amount }} | {{ (float)$b->final_amount - (float)$b->paid_amount }} | {{ $b->base_amount }} | {{ optional($b->purchase_services->first())->service_name ?? 'Others' }} |