Member Statement
{{ ucfirst($business_name)}}
{{$member->fname}} statement From {{ !empty($from) ? date('d F Y', strtotime($from)) : '' }} till {{ !empty($to) ? date('d F Y', strtotime($to)) : '' }}
@foreach($memberStatement as $key => $memberStatementData) @php($total_credit +=$memberStatementData->credit) @endforeach
Serial Date Reference Debit Credit Balance
Opening Balance {{ number_format(0 ,$decimal_point ) }}
{{ $i }} {{ !empty($memberStatementData->invoice_date) ? date("d M Y",strtotime($memberStatementData->invoice_date)) : '' }} {{ !empty($memberStatementData->invoice_no) ? $memberStatementData->invoice_no:''}} {{ number_format(0,$decimal_point) }} {{ !empty($memberStatementData->credit) ? number_format($memberStatementData->credit,$decimal_point) : number_format(0,$decimal_point) }} {{ !empty($balance) ? number_format($balance, $decimal_point): number_format(0,$decimal_point)}}
           
    {{ number_format(0, $decimal_point) }} {{ number_format($total_credit, $decimal_point) }} {{ number_format($last_balance , $decimal_point) }}