@extends ('focus.report.pdf.statement') @section('statement_body') @php $fill = false; $balance=0; foreach ($account_details as $account_detail) { foreach ($account_detail as $row) { if ($fill == true) { $flag = ' mfill'; } else { $flag = ''; } $balance += $row['product_qty']; echo ''; $fill = !$fill; } } @endphp
{{trans('general.date')}} {{trans('products.product')}} {{trans('products.price')}} {{trans('products.qty')}} {{trans('general.total')}}
' . dateFormat($row['created_at']) . '' . $row['product_name'] . '' . amountFormat($row['product_price']) .'' . numberFormat($row['product_qty']) . ' '. $row['unit'] . '' . numberFormat($balance) . '


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