diff --git a/resources/views/print/resittebus.blade.php b/resources/views/print/resittebus.blade.php index 011ab73..03e3d8d 100644 --- a/resources/views/print/resittebus.blade.php +++ b/resources/views/print/resittebus.blade.php @@ -407,11 +407,11 @@ hr.new5 { -Nama Wakil : @php if(sizeof($wakil) != 0){ echo $wakil['nama'];} else echo ''; @endphp Tempoh Simpan: {{ $gadai['tempoh'] }} + Tempoh Simpan: {{ $gadai['tempoh'] }} -No K/P Wakil : @php if(sizeof($wakil) != 0) echo $wakil['nokp']; else echo ''; @endphp Masa Bayaran + Masa Bayaran @php $masa_bayaran = strtotime($transaction_tebus['tarikh_bayaran']); $masa = date('H:i:s', $masa_bayaran); @@ -423,7 +423,35 @@ hr.new5 {
-

T

+
+

T

+@if (sizeof($wakil) != 0) + + + + + + + + + + + + + + + + + + + + + {{-- + + + --}} +
Maklumat Wakil
Nama: {{ $wakil['nama'] }}
No K/P: {{ $wakil['nokp'] }}
No Telefon: {{ $wakil['telefon'] }}
Alamat: {{ $wakil['alamat1'] }}
No Siri Wakil: S9090232-001
+@endif @@ -456,6 +484,8 @@ hr.new5 {
: RM {{ number_format(($gadai['bakihargajualan'] - $penebusan['rebate']),2) }}
+
+ @@ -486,11 +516,8 @@ hr.new5 {
Marhun: {{ $gadai['marhun'] }}

-

-
-
@@ -511,11 +538,11 @@ hr.new5 { -Nama Wakil : @php if(sizeof($wakil) != 0){ echo $wakil['nama'];} else echo ''; @endphp Tempoh Simpan: {{ $gadai['tempoh'] }} + Tempoh Simpan: {{ $gadai['tempoh'] }} -No K/P Wakil : @php if(sizeof($wakil) != 0) echo $wakil['nokp']; else echo ''; @endphp Masa Bayaran + Masa Bayaran @php $masa_bayaran = strtotime($transaction_tebus['tarikh_bayaran']); $masa = date('H:i:s', $masa_bayaran); @@ -525,7 +552,35 @@ hr.new5 {
-

T

+
+

T

+ @if (sizeof($wakil) != 0) + + + + + + + + + + + + + + + + + + + + + {{-- + + + --}} +
Maklumat Wakil
Nama: {{ $wakil['nama'] }}
No K/P: {{ $wakil['nokp'] }}
No Telefon: {{ $wakil['telefon'] }}
Alamat: {{ $wakil['alamat1'] }}
No Siri Wakil: S9090232-001
+ @endif @@ -558,7 +613,7 @@ hr.new5 {
: RM {{ number_format(($gadai['bakihargajualan'] - $penebusan['rebate']),2) }}
- +
@@ -588,7 +643,21 @@ hr.new5 {
- +
+ + + + + + + + + + + + +
Duit Pelanggan: RM {{ number_format($transaction_tebus['duitpelanggan'], 2) }}
Jumlah Perlu Dibayar: RM {{ number_format($transaction_tebus['duit_masuk'], 2) }}
Baki: RM {{ number_format($transaction_tebus['bakipelanggan'], 2) }}
+ diff --git a/resources/views/print/resittebus_ujrah.blade.php b/resources/views/print/resittebus_ujrah.blade.php index 47a2e5a..50f07c3 100644 --- a/resources/views/print/resittebus_ujrah.blade.php +++ b/resources/views/print/resittebus_ujrah.blade.php @@ -467,15 +467,7 @@ - - - + @@ -483,15 +475,7 @@ - - - + @@ -504,45 +488,75 @@
....................................................
Nama Wakil : @php - if (sizeof($wakil) != 0) { - echo $wakil['nama']; - } else { - echo ''; - } - @endphp Tempoh Simpan
No K/P Wakil : @php - if (sizeof($wakil) != 0) { - echo $wakil['nokp']; - } else { - echo ''; - } - @endphp Masa Bayaran

-

T

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Baki Pembiayaan: RM {{ number_format($gadai['bakipjm'], 2) }}
Keuntungan: RM {{ number_format($penebusan['onepercent'], 2) }}
(-) Rebat Untung: RM - {{ number_format($totalrebate['onepercent'], 2) }} -
Ujrah: RM {{ number_format($penebusan['ujrah'], 2) }}
(-) Rebat Ujrah: RM - {{ number_format($totalrebate['ujrah'], 2) }}
Jumlah Perlu Dibayar: RM {{ number_format($transaction_tebus['duit_masuk'], 2) }}
+
+

T

+ @if (sizeof($wakil) != 0) + + + + + + + + + + + + + + + + + + + + + {{-- + + + --}} +
Maklumat Wakil
Nama: {{ $wakil['nama'] }}
No K/P: {{ $wakil['nokp'] }}
No Telefon: {{ $wakil['telefon'] }}
Alamat: {{ $wakil['alamat1'] }}
No Siri Wakil: S9090232-001
+ @endif + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Baki Pembiayaan: RM {{ number_format($gadai['bakipjm'], 2) }}
Keuntungan: RM {{ number_format($penebusan['onepercent'], 2) }}
(-) Rebat Untung: RM + {{ number_format($totalrebate['onepercent'], 2) }} +
Ujrah: RM {{ number_format($penebusan['ujrah'], 2) }}
(-) Rebat Ujrah: RM + {{ number_format($totalrebate['ujrah'], 2) }}
Jumlah Perlu Dibayar: RM + {{ number_format($transaction_tebus['duit_masuk'], 2) }}
+
@@ -610,15 +624,7 @@ - - - + @@ -626,15 +632,7 @@ - - - + @@ -647,46 +645,75 @@
Marhun: {{ $gadai['marhun'] }}
Nama Wakil : @php - if (sizeof($wakil) != 0) { - echo $wakil['nama']; - } else { - echo ''; - } - @endphp Tempoh Simpan
No K/P Wakil : @php - if (sizeof($wakil) != 0) { - echo $wakil['nokp']; - } else { - echo ''; - } - @endphp Masa Bayaran

-

T

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Baki Pembiayaan: RM {{ number_format($gadai['bakipjm'], 2) }}
Keuntungan: RM {{ number_format($penebusan['onepercent'], 2) }}
(-) Rebat Untung: RM - {{ number_format($totalrebate['onepercent'], 2) }} -
Ujrah: RM {{ number_format($penebusan['ujrah'], 2) }}
(-) Rebat Ujrah: RM - {{ number_format($totalrebate['ujrah'], 2) }}
Jumlah Perlu Dibayar: RM {{ number_format($transaction_tebus['duit_masuk'], 2) }}
+
+

T

+ @if (sizeof($wakil) != 0) + + + + + + + + + + + + + + + + + + + + + {{-- + + + --}} +
Maklumat Wakil
Nama: {{ $wakil['nama'] }}
No K/P: {{ $wakil['nokp'] }}
No Telefon: {{ $wakil['telefon'] }}
Alamat: {{ $wakil['alamat1'] }}
No Siri Wakil: S9090232-001
+ @endif + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Baki Pembiayaan: RM {{ number_format($gadai['bakipjm'], 2) }}
Keuntungan: RM {{ number_format($penebusan['onepercent'], 2) }}
(-) Rebat Untung: RM + {{ number_format($totalrebate['onepercent'], 2) }} +
Ujrah: RM {{ number_format($penebusan['ujrah'], 2) }}
(-) Rebat Ujrah: RM + {{ number_format($totalrebate['ujrah'], 2) }}
Jumlah Perlu Dibayar: RM + {{ number_format($transaction_tebus['duit_masuk'], 2) }}
+
@@ -725,7 +752,7 @@
: RM {{ number_format($transaction_tebus['bakipelanggan'], 2) }}
- +
....................................................