@foreach($invoices as $invoice) @endforeach
# {{__('Date')}} {{__('Branch')}} {{__('Patient name')}} {{__('Promo code')}} {{__('Discount')}} {{__('Income')}}
{{$invoice['id']}} {{date('Y-m-d H:i',strtotime($invoice['created_at']))}} @if(isset($invoice['branch'])) {{$invoice['branch']['name_'.app()->getLocale()]}} @endif @if(isset($invoice['patient'])) {{$invoice['patient']['name']}} @endif @if(isset($invoice['promo_code'])) {{$invoice['promo_code']['name']}} @endif {{format_money($invoice['p_c_discount'])}} {{format_money($invoice['total'])}}