Customer Statement
{{ ucfirst($business_name)}}
{{$customer->display_name}} statement From {{ !empty($from) ? date('d F Y', strtotime($from)) : '' }} till {{ !empty($to) ? date('d F Y', strtotime($to)) : '' }}
@foreach($customerStatement as $key => $customerStatementdata) @endforeach
Serial Date Reference Debit Credit Balance
Opening Balance {{ number_format($oppenig_balance ,$decimal_point ) }}
{{ $i }} {{ !empty($customerStatementdata->created_at) ? date("d M Y",strtotime($customerStatementdata->created_at)) : '' }} {{ !empty($customerStatementdata->invoice_no) ? $customerStatementdata->invoice_no : number_format(0,$decimal_point) }} {{ !empty($customerStatementdata->debit) ? number_format($customerStatementdata->debit,$decimal_point) : number_format(0,$decimal_point)}} {{ !empty($customerStatementdata->credit) ? number_format($customerStatementdata->credit,$decimal_point) : number_format(0,$decimal_point) }} {{ !empty($balance) ? number_format($balance, $decimal_point): number_format(0,$decimal_point)}}
           
    {{ number_format($total_debit, $decimal_point) }} {{ number_format($total_credit, $decimal_point) }} {{ number_format($last_balance , $decimal_point) }}