Voucher Summary

@php $totalTransaksi = 0; $totalQty = 0; $totalRupiah = 0; @endphp @foreach($summary_vouchers as $summary_voucher) {{-- --}} @php // $totalTransaksi += $summary_voucher->total_transaksi; $totalQty += $summary_voucher->total_qty; $totalRupiah += $summary_voucher->total_net; @endphp @endforeach {{-- --}}
Brand Total QTY Total Rupiah
{{ $summary_voucher->name }}{{ $summary_voucher->total_transaksi }}{{ number_format ($summary_voucher->total_qty) }} {{ number_format ($summary_voucher->total_net) }}
TOTAL{{ $totalTransaksi }}{{ $totalQty}} {{ number_format($totalRupiah)}}