@extends('admin.main') @section('content')

Bill Details @can('create.patient.bill') @endcan

@include('admin.msg')
@foreach ($bills as $i => $bill_details) @endforeach
# Name Gross Amount Total Discount Total Tax Final Amount Status Date Action
{{ $loop->index + 1 }} {{ ucfirst( $bill_details->patient->name ) }} @if(!empty($bill_details->patient->patientCategory)) - @endif {{ $bill_details->base_amount }} {{ ucfirst( $bill_details->total_discount ) }} {{ $bill_details->total_tax }} {{ $bill_details->final_amount }} @if ($bill_details->status == 'paid') {{ ucfirst($bill_details->status) }} @else {{ ucfirst($bill_details->status) }} @endif {{ $bill_details->created_at }} @can('update.patient.bill') @endcan
{{ $bills->links('pagination::bootstrap-4') }}
@endsection