@extends('layouts.layout') @section('content')
@can('invoice-create')

+ @lang('Invoice')

@endcan

@lang('Invoice List')

@if(request()->isFilterActive) @lang('Clear') @endif
@foreach ($invoices as $invoice) @endforeach
@lang('ID') @lang('Patient Name') @lang('Date') @lang('Grand Total') @lang('Paid Amount') @lang('Due Amount') @lang('Actions')
{{ $invoice->id }} {{ optional($invoice->user)->name ?? 'Deleted Patient' }} {{ date($companySettings->date_format ?? 'Y-m-d', strtotime($invoice->invoice_date)) }} {{ $invoice->grand_total }} {{ $invoice->paid }} {{ $invoice->due }}    @can('invoice-update')    @endcan @can('invoice-delete') @endcan
{{ $invoices->withQueryString()->links() }}
@include('layouts.delete_modal') @endsection @push('footer') @endpush