@foreach($payments as $payment) @endforeach
# {{__('Date')}} {{__('Branch')}} {{__('Cashier')}} #{{__('Visit')}} {{__('Visit date')}} {{__('Patient')}} {{__('Amount')}} {{__('Payment method')}} {{__('Transaction ID')}}
{{$payment['id']}} {{$payment['date']}} @if(isset($payment['invoice'])&&isset($payment['invoice']['branch'])) {{$payment['invoice']['branch']['name_'.app()->getLocale()]}} @endif @if(isset($payment['user'])) {{$payment['user']['name']}} @endif {{$payment['invoice_id']}} {{date('Y-m-d H:i',strtotime($payment['invoice']['created_at']))}} @if(isset($payment['invoice'])&&isset($payment['invoice']['patient'])) {{$payment['invoice']['patient']['name']}} @endif {{format_money($payment['amount'])}} @if(isset($payment['payment_method'])) {{$payment['payment_method']['name']}} @endif {{$payment['kent_id']}}