@extends ('focus.report.pdf.statement') @section('statement_body') @php $fill = false; $balance=0; foreach ($transactions as $row) { if ($fill == true) { $flag = ' mfill'; } else { $flag = ''; } echo ''; $fill = !$fill; $balance+=$row['total_sales']; } @endphp
{{trans('sales_channel.sales_channel')}} {{trans('general.amount')}}
' . $row['name'] . '' . amountFormat($row['total_sales']) . '


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