@extends('admin.main') @section('content') @include('admin.reports.dateJs')
| Order ID | P. ID | Name | Service Type | Billed | Discount | T. After Discount | Due | Cash | Bank Transfer | |
|---|---|---|---|---|---|---|---|---|---|---|
| {{$b->id}} | P{{$b->patient_id}} | {{$b->patient->name}} | @if(isset($b->purchase_services)){{ optional($b->purchase_services->first())->service_name }} | @elseOther | @endif{{ $b->base_amount }} | {{ $b->total_discount }} | {{ $b->base_amount - $b->total_discount }} | {{ (float)$b->final_amount - (float)$b->paid_amount }} | {{ $b->cash_amount }} | {{ $b->online_amount }} |