|
Tahun Ada Transaksi
{{ $yearlyReport->count() }}
|
Total Transaksi
{{ number_format(
$yearlyReport->sum('transaction_count'),
0,
',',
'.'
) }}
|
Total Detail
{{ number_format(
$yearlyReport->sum('detail_count'),
0,
',',
'.'
) }}
|
Total Qty Masuk
{{ number_format(
$yearlyReport->sum('total_qty'),
2,
',',
'.'
) }}
|
| No | Tahun | Jumlah Transaksi | Jumlah Detail | Jenis Produk | Total Qty Masuk |
|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $row['year'] }} | {{ number_format( $row['transaction_count'], 0, ',', '.' ) }} | {{ number_format( $row['detail_count'], 0, ',', '.' ) }} | {{ number_format( $row['total_product'], 0, ',', '.' ) }} | {{ number_format( $row['total_qty'], 2, ',', '.' ) }} |
| TOTAL | {{ number_format( $yearlyReport->sum('transaction_count'), 0, ',', '.' ) }} | {{ number_format( $yearlyReport->sum('detail_count'), 0, ',', '.' ) }} | {{ number_format( $yearlyReport->sum('total_product'), 0, ',', '.' ) }} | {{ number_format( $yearlyReport->sum('total_qty'), 2, ',', '.' ) }} | |