@extends ('focus.report.pdf.statement') @section('statement_body') @php $fill = false; $balance=0; foreach ($transactions as $row) { if ($fill == true) { $flag = ' mfill'; } else { $flag = ''; } $balance += $row->invoice['total']; echo ''; $fill = !$fill; } @endphp
{{trans('general.date')}} {{$lang['bill_type']}} {{trans('general.amount')}} {{trans('accounts.balance')}}
' . dateFormat($row->invoice['invoicedate']) . '' . $row->invoice['tid'] . '' . amountFormat($row->invoice['total']) . '' . amountFormat($balance) . '


{{trans('general.summary')}}
{{trans('accounts.balance')}}: {{amountFormat($balance)}}
@endsection