From f3329373c63cd8a1498214f0c1a06151787e368d Mon Sep 17 00:00:00 2001 From: nurafrinaalimi16 Date: Thu, 23 Jan 2025 11:55:18 +0800 Subject: [PATCH] format document pdflaplelong --- resources/views/pdf/pdflaplelong.blade.php | 456 ++++++++++----------- 1 file changed, 225 insertions(+), 231 deletions(-) diff --git a/resources/views/pdf/pdflaplelong.blade.php b/resources/views/pdf/pdflaplelong.blade.php index 9b083b93..d9eeab6f 100644 --- a/resources/views/pdf/pdflaplelong.blade.php +++ b/resources/views/pdf/pdflaplelong.blade.php @@ -1,255 +1,263 @@ - - - - - +

PERMODALAN KELANTAN BERHAD

+ + + - - + + - -
+

Koperasi Permodalan Kelantan Berhad

+
LAPORAN LELONG KESELURUHAN
LAPORAN LELONG KESELURUHANsss
+ + - - +
+ +
+ + + @foreach ($arrayinfocaw as $laporancaw) + @foreach ($laporancaw['cawangan'] as $details) + + + + {{-- +
Batch Lelong: {{ $lelong_id }}Cawangan : {{ $details['caw_name'] }} + @endforeach + @endforeach + @foreach ($info as $info) +
Tarikh Lelong : @php + $myDateTime = DateTime::createFromFormat('Y-m-d', $info['tarikh_lelong']); + $t_lelong = $myDateTime->format('d-m-Y'); + echo $t_lelong; + @endphp
Fasa: {{$info['fasa']}} --}} + @endforeach +

- - Batch Lelong: {{$lelong_id}} - @foreach ($arrayinfocaw as $laporancaw) - @foreach ($laporancaw['cawangan'] as $details) - Cawangan : {{$details['caw_name']}} - @endforeach - @endforeach - @foreach ($info as $info) - - Tarikh Lelong : @php - $myDateTime = DateTime::createFromFormat('Y-m-d', $info['tarikh_lelong'] ); - $t_lelong = $myDateTime->format('d-m-Y'); - echo($t_lelong); - @endphp - - {{-- Fasa: {{$info['fasa']}} --}} - @endforeach - - - - -
- - - - - - - - - - - - @if($info['tagujrah'] == '0') - - @elseif($info['tagujrah'] == '1') - - - - @endif - - - - - ) +
NoNo RujukanBerat(gm)Nilai Marhun Asal (RM)Pembiayaan (RM)Margin (%)Keuntungan (RM)Keuntungan (RM)1% (RM)Lain-Lain Caj (RM)Caj Lelong (RM)Harga Lelong (RM)Baki Lelong (RM)Harga Asas (RM)Nama Pembeli
- - - @php $total_baki = 0; @endphp - @foreach ($arraydetails as $laporan) - - - - - - - - @if($laporan['laplelong']['tagujrah'] == '0') - - @elseif($laporan['laplelong']['tagujrah'] == '1') - - - - @endif - - - - - - - - - - - @endforeach - - - - - - - - - - @if($info['tagujrah'] == '0') - + + + + + + + + + @if ($info['tagujrah'] == '0') + @elseif($info['tagujrah'] == '1') + + + + @endif + + + + + ) + + + + @php $total_baki = 0; @endphp + @foreach ($arraydetails as $laporan) + + + + + + + + @if ($laporan['laplelong']['tagujrah'] == '0') + + @elseif($laporan['laplelong']['tagujrah'] == '1') + + + + @endif + + + + + + + + + + + @endforeach + + + + + + + + @if ($info['tagujrah'] == '0') + + @elseif($info['tagujrah'] == '1') - @endif - - - - - - + @endif + + + + + + +
{{ $loop->iteration }}{{ $laporan['laplelong']['norujukan'] }}{{ number_format($laporan['laplelong']['berat'], 2, '.', ',')}}{{ number_format($laporan['laplelong']['nilaimarhun'], 2, '.', ',')}}{{ number_format($laporan['laplelong']['pinjaman'], 2, '.', ',')}}{{ number_format($laporan['margin'], 2, '.', ',')}}{{ number_format($laporan['laplelong']['bakiupah'], 2, '.', ',')}}{{ number_format($laporan['laplelong']['bakiupah'], 2, '.', ',')}}{{ number_format($laporan['laplelong']['onepercent'], 2, '.', ',')}}{{ number_format($laporan['laplelong']['ujrah'], 2, '.', ',')}}{{ number_format($laporan['laplelong']['cajlelong'], 2, '.', ',')}}{{ number_format($laporan['laplelong']['hargabida'], 2, '.', ',')}}@if($laporan['laplelong']['baki'] > 0) - {{number_format($laporan['laplelong']['baki'], 2, '.', ',')}} - @elseif($laporan['laplelong']['baki'] < 0 ) ({{number_format(-($laporan['laplelong']['baki']), 2, '.', ',')}}) @endif {{ number_format($laporan['laplelong']['hargaasas'], 2, '.', ',')}}{{$laporan['laplelong']['nama_bidder']}}
Jumlah Keseluruhan{{ number_format($total_berat, 2, '.', ',') }}{{ number_format($total_nmarhun, 2, '.', ',') }}{{ number_format($total_pembiayaan, 2, '.', ',') }}{{ number_format($total_upahsimpan, 2, '.', ',') }}
NoNo RujukanBerat(gm)Nilai Marhun Asal (RM)Pembiayaan (RM)Margin (%)Keuntungan (RM)Keuntungan (RM)1% (RM)Lain-Lain Caj (RM)Caj Lelong (RM)Harga Lelong (RM)Baki Lelong (RM)Harga Asas (RM)Nama Pembeli
{{ $loop->iteration }}{{ $laporan['laplelong']['norujukan'] }}{{ number_format($laporan['laplelong']['berat'], 2, '.', ',') }}{{ number_format($laporan['laplelong']['nilaimarhun'], 2, '.', ',') }}{{ number_format($laporan['laplelong']['pinjaman'], 2, '.', ',') }}{{ number_format($laporan['margin'], 2, '.', ',') }}{{ number_format($laporan['laplelong']['bakiupah'], 2, '.', ',') }}{{ number_format($laporan['laplelong']['bakiupah'], 2, '.', ',') }}{{ number_format($laporan['laplelong']['onepercent'], 2, '.', ',') }}{{ number_format($laporan['laplelong']['ujrah'], 2, '.', ',') }}{{ number_format($laporan['laplelong']['cajlelong'], 2, '.', ',') }}{{ number_format($laporan['laplelong']['hargabida'], 2, '.', ',') }} + @if ($laporan['laplelong']['baki'] > 0) + {{ number_format($laporan['laplelong']['baki'], 2, '.', ',') }} + @elseif($laporan['laplelong']['baki'] < 0) + ({{ number_format(-$laporan['laplelong']['baki'], 2, '.', ',') }}) + @endif + {{ number_format($laporan['laplelong']['hargaasas'], 2, '.', ',') }}{{ $laporan['laplelong']['nama_bidder'] }}
Jumlah Keseluruhan{{ number_format($total_berat, 2, '.', ',') }}{{ number_format($total_nmarhun, 2, '.', ',') }}{{ number_format($total_pembiayaan, 2, '.', ',') }}{{ number_format($total_upahsimpan, 2, '.', ',') }}{{ number_format($total_upahsimpan, 2, '.', ',') }} {{ number_format($total_onepercent, 2, '.', ',') }} {{ number_format($total_ujrah, 2, '.', ',') }}{{ number_format($total_cajlelong, 2, '.', ',') }}{{ number_format($total_hargalelong, 2,'.',',') }}@if($total_baki > 0) - {{ number_format($total_baki, 2, '.', ',') }} - @else - ({{number_format(-($total_baki), 2, '.', ',')}}) - @endif{{number_format($total_hargaasas, 2, '.', ',')}}
{{ number_format($total_cajlelong, 2, '.', ',') }}{{ number_format($total_hargalelong, 2, '.', ',') }} + @if ($total_baki > 0) + {{ number_format($total_baki, 2, '.', ',') }} + @else + ({{ number_format(-$total_baki, 2, '.', ',') }}) + @endif + {{ number_format($total_hargaasas, 2, '.', ',') }}
- - - - - {{-- + {{--










@@ -261,18 +269,4 @@ tr:nth-child(even) {
--}} - - - - - - - - - - - - - - - +