@foreach ($datacaw as $data)
LAPORAN SIMULASI CAWANGAN: {{ $data['caw_name'] }}
@endforeach
@foreach ($arrayinfo as $laporan)
Batch Lelong: {{ $laporan['laporan']['lelong_id'] }}
Tarikh Lelong : @php $myDateTime = DateTime::createFromFormat('Y-m-d', $laporan['laporan']['tarikh_lelong']); echo $myDateTime->format('d-m-Y'); @endphp
@endforeach
@hasrole('jurulelong') @endhasrole @hasrole('operasi') @if ($laporan['laporan']['tagujrah'] == '0') @elseif($laporan['laporan']['tagujrah'] == '1') @endif @endhasrole @php $bakilelong = 0; @endphp @foreach ($marhuns as $index => $marhun) @hasrole('jurulelong') @endhasrole @hasrole('operasi') @if ($marhun['tagujrah'] == '0') @elseif($marhun['tagujrah'] == '1') @endif @php $baki = $marhun['baki']; $bakilelong += $baki; @endphp @endhasrole @endforeach @hasrole('jurulelong') @endhasrole @hasrole('operasi') @if ($marhun['tagujrah'] == '0') @elseif($marhun['tagujrah'] == '1') @endif @endhasrole
No No Rujukan Berat (gm) Harga Asas (RM)No No Rujukan Tempoh Berat (gm) Nilai Marhun Asal (RM) Pembiayaan (RM)Keuntungan (RM)Keuntungan (RM) 1% (RM) Lain-Lain Caj (RM)Caj Lelong (RM) Harga Asas (RM) Baki Lelong (RM)
{{ $loop->iteration }} {{ $marhun['norujukan'] }} {{ number_format($marhun['berat'], 2, '.', ',') }} {{ number_format($marhun['hargaasas'], 2, '.', ',') }}{{ $loop->iteration }} {{ $marhun['norujukan'] }} {{ number_format($marhun['jbg'], 2, '.', ',') }} {{ number_format($marhun['berat'], 2, '.', ',') }} {{ number_format($marhun['nilaimarhun'], 2, '.', ',') }} {{ number_format($marhun['pinjaman'], 2, '.', ',') }}{{ number_format($marhun['bakiupah'], 2, '.', ',') }}{{ number_format($marhun['bakiupah'], 2, '.', ',') }} {{ number_format($marhun['onepercent'], 2, '.', ',') }} {{ number_format($marhun['ujrah'], 2, '.', ',') }}{{ number_format($marhun['cajlelong'], 2, '.', ',') }} {{ number_format($marhun['hargaasas'], 2, '.', ',') }} @if ($baki > 0) {{ number_format($baki, 2, '.', ',') }} @elseif($baki < 0) ({{ number_format(-$baki, 2, '.', ',') }}) @endif
JUMLAH KESELURUHAN {{ number_format($total_berat, 2, '.', ',') }} {{ number_format($total_hargaasas, 2, '.', ',') }}JUMLAH KESELURUHAN {{ number_format($total_berat, 2, '.', ',') }} {{ number_format($total_nilaimarhun, 2, '.', ',') }} {{ number_format($total_pinjaman, 2, '.', ',') }}{{ number_format($total_bakiupah, 2, '.', ',') }}{{ number_format($total_bakiupah, 2, '.', ',') }} {{ number_format($total_onepercent, 2, '.', ',') }} {{ number_format($total_ujrah, 2, '.', ',') }}{{ number_format($total_cazlelong, 2, '.', ',') }} {{ number_format($total_hargaasas, 2, '.', ',') }} @if ($bakilelong > 0) {{ number_format($bakilelong, 2, '.', ',') }} @else ({{ number_format(-$bakilelong, 2, '.', ',') }}) @endif