@foreach($invoices as $invoice) @endforeach
# {{__('Date')}} {{__('Branch')}} {{__('Patient name')}} {{__('Earned points')}} {{__('Earned amount')}} {{__('Used points')}} {{__('Used points amount')}} {{__('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 {{format_money($invoice['earned_points'])}} {{(setting('points_system')['exchange_rate'])?round($invoice['earned_points']/setting('points_system')['exchange_rate'],2):0}} {{format_money($invoice['paid_points'])}} {{format_money($invoice['paid_points_amount'])}} {{format_money($invoice['total'])}}