Total baris ditemukan : {{ count($mutasi['Data']) }}
@if(count($mutasi['Data']) > 0) @php $subtotal = $mutasi['StartBalance']; @endphp @foreach($mutasi['Data'] as $key => $detail) @php if($detail['TransactionType'] == 'D') $subtotal -= $detail['TransactionAmount']; else $subtotal += $detail['TransactionAmount']; @endphp @endforeach @else @endif
No Tanggal Keterangan Cab. Mutasi Saldo
{{ $key+1 }} {{ $detail['TransactionDate'] }} {!! preg_replace_callback(['/(\d+\.\d+)/'], function($matches){return '
'.no_format($matches[0]).'
';}, $detail['Trailer']) !!}
{{ $detail['BranchCode'] }} {{ no_format($detail['TransactionAmount']) }} {{ $detail['TransactionType'] }} {{ no_format($subtotal, 2) }}
Tidak Ada Data