@extends('layouts.master') @section('title') {{ __('sentence.Billing List') }} @endsection @section('content') @if ($errors->any())
@endif @if (session('success'))
{{ session('success') }}
@endif
{{ __('sentence.Billing List') }}
@foreach($invoices as $invoice) @endforeach
ID {{ __('sentence.Patient') }} {{ __('sentence.Date') }} {{ __('sentence.Amount') }} {{ __('sentence.Status') }} {{ __('sentence.Actions') }}
{{ $invoice->id }} {{ $invoice->User->name }} {{ $invoice->created_at->format('d M Y') }} {{ $invoice->Items->sum('invoice_amount')}} {{ App\Setting::get_option('currency') }} @if($invoice->payment_status == 'Unpaid') {{ __('sentence.Unpaid') }} @elseif($invoice->payment_status == 'Paid') {{ __('sentence.Paid') }} @else {{ __('sentence.Cancelled') }} @endif
@endsection