{{ $loop->iteration }} |
{{ $tran->barang->nama }} |
@if ($tampilan == 'rekap')
{{ $tran->barang->satuan }} |
{{ number_format($tran->barang->stok->stok, 0, ',', '.') }} |
{{ number_format($tran->qty_pembelian, 0, ',', '.') }}
|
{{ number_format($tran->qty_penjualan, 0, ',', '.') }}
|
{{ number_format($tran->qty_stok_opname, 0, ',', '.') }}
|
@else
{{ date('d/m/Y', strtotime($tran->transaksi->tanggal_faktur ?? '-')) }} |
{{ $tran->transaksi->no_faktur ?? '-' }} |
{{ isset($tran->transaksi->jenis) ? ($tran->transaksi->jenis == 1 ? 'Penjualan' : ($tran->transaksi->jenis == 2 ? 'Pembelian' : 'Stok Opname')) : '-' }}
|
{{ $tran->transaksi->supplier->nama_perusahaan ?? ($tran->transaksi->customer->nama ?? '-') }}
|
{{ number_format($tran->jumlah, 0, ',', '.') }} |
@endif
@endforeach