diff --git a/resources/views/penebusan/index.blade.php b/resources/views/penebusan/index.blade.php index d5c44a1..0d5171f 100644 --- a/resources/views/penebusan/index.blade.php +++ b/resources/views/penebusan/index.blade.php @@ -1248,7 +1248,7 @@ var nowakil = nw; var duitpelanggan = $('#duitPelanggan').val().replace(/[^0-9.-]+/g,""); var bakipelanggan = $('#bakiPelanggan').val().replace(/[^0-9.-]+/g,""); - + console.log('test'); $.ajax({ method:'get', datatype: 'json', diff --git a/resources/views/print/resitansuran_ujrah.blade.php b/resources/views/print/resitansuran_ujrah.blade.php index 9129dea..546952d 100644 --- a/resources/views/print/resitansuran_ujrah.blade.php +++ b/resources/views/print/resitansuran_ujrah.blade.php @@ -6,10 +6,10 @@ @@ -404,19 +404,12 @@ User Image - User Image - - - - -
Salinan Pelanggan
RESIT BAYARAN

@@ -463,7 +456,7 @@ - + @@ -528,7 +521,7 @@
Tempoh Simpan: {{ $gadai['tempoh'] }}: {{ $transaction['beza_tempoh'] }}
: RM {{ number_format($transaction['duit_masuk'], 2) }}
-

+

Marhun: {{ $gadai['marhun'] }}


@@ -555,17 +548,16 @@
+ + +
User Image
- - - - -
Salinan Pejabat
RESIT BAYARAN

@@ -613,7 +605,7 @@ Tempoh Simpan - : {{ $gadai['tempoh'] }} + : {{ $transaction['beza_tempoh'] }} @@ -678,7 +670,7 @@ : RM {{ number_format($transaction['duit_masuk'], 2) }} -

+

Marhun: {{ $gadai['marhun'] }}


@@ -696,6 +688,18 @@ Ar-Rahn
{{ Auth::user()->name }} -
-
+ + + + + + + + + + + + + +
Duit Pelanggan: RM {{ number_format($transaction['duitpelanggan'], 2) }}
Jumlah Perlu Dibayar: RM {{ number_format($transaction['duit_masuk'], 2) }}
Baki: RM {{ number_format($transaction['bakipelanggan'], 2) }}
diff --git a/resources/views/print/resittebus_ujrah.blade.php b/resources/views/print/resittebus_ujrah.blade.php index f3d4338..193f727 100644 --- a/resources/views/print/resittebus_ujrah.blade.php +++ b/resources/views/print/resittebus_ujrah.blade.php @@ -7,8 +7,10 @@ @@ -413,20 +415,12 @@ User Image - User Image - - - - - -
Salinan Pelanggan
RESIT BAYARAN
@@ -476,7 +470,7 @@ Tempoh Simpan - : {{ $gadai['tempoh'] }} + : {{ $transaction_tebus['beza_tempoh'] }} @@ -493,8 +487,8 @@ Masa Bayaran @php - $masa_bayaran = strtotime($transaction_tebus['tarikh_bayaran']); - $masa = date('H:i:s', $masa_bayaran); + $masa_bayaran = strtotime($transaction_tebus['tarikh_bayaran']); + $masa = date('H:i:s', $masa_bayaran); @endphp : {{ $masa }} @@ -505,7 +499,7 @@ - + @@ -513,7 +507,7 @@ - + @@ -521,7 +515,7 @@ - + @@ -533,15 +527,11 @@ - @php - $jumlah_perlu_dibayar = $penebusan['bakipjm'] + $penebusan['onepercent'] - $transaction_tebus['onepercent_rebet'] + $penebusan['ujrah'] - $transaction_tebus['ujrah_rebet']; - @endphp
Baki Pembiayaan: RM {{ number_format($penebusan['bakipjm'], 2) }} : RM {{ number_format($gadai['bakipjm'], 2) }}
Keuntungan
(-) Rebat Untung: RM {{ number_format($transaction_tebus['onepercent_rebet'], 2) }} : RM {{ number_format(($transaction_tebus['onepercent'] - $transaction_tebus['onepercent_rebet']), 2) }}
Ujrah
(-) Rebat Ujrah: RM {{ number_format($transaction_tebus['ujrah_rebet'], 2) }} : RM {{ number_format(($transaction_tebus['ujrah'] - $transaction_tebus['ujrah_rebet']), 2) }}
Jumlah Perlu Dibayar : RM {{ number_format($transaction_tebus['duit_masuk'], 2) }}
- -

+

Marhun: {{ $gadai['marhun'] }}

@@ -565,20 +555,18 @@


-
-
+ + +
User Image
- - - -
Salinan Pejabat
RESIT BAYARAN
@@ -627,7 +615,7 @@ Tempoh Simpan - : {{ $gadai['tempoh'] }} + : {{ $transaction_tebus['beza_tempoh'] }} @@ -644,8 +632,8 @@ Masa Bayaran @php - $masa_bayaran = strtotime($transaction_tebus['tarikh_bayaran']); - $masa = date('H:i:s', $masa_bayaran); + $masa_bayaran = strtotime($transaction_tebus['tarikh_bayaran']); + $masa = date('H:i:s', $masa_bayaran); @endphp : {{ $masa }} @@ -657,7 +645,7 @@ - + @@ -665,7 +653,7 @@ - + @@ -673,7 +661,7 @@ - + @@ -685,15 +673,12 @@ - @php - $jumlah_perlu_dibayar = $penebusan['bakipjm'] + $penebusan['onepercent'] - $transaction_tebus['onepercent_rebet'] + $penebusan['ujrah'] - $transaction_tebus['ujrah_rebet']; - @endphp
Baki Pembiayaan: RM {{ number_format($penebusan['bakipjm'], 2) }} : RM {{ number_format($gadai['bakipjm'], 2) }}
Keuntungan
(-) Rebat Untung: RM {{ number_format($transaction_tebus['onepercent_rebet'], 2) }} : RM {{ number_format(($transaction_tebus['onepercent'] - $transaction_tebus['onepercent_rebet']), 2) }}
Ujrah
(-) Rebat Ujrah: RM {{ number_format($transaction_tebus['ujrah_rebet'], 2) }} : RM {{ number_format(($transaction_tebus['ujrah'] - $transaction_tebus['ujrah_rebet']), 2) }}
Jumlah Perlu Dibayar : RM {{ number_format($transaction_tebus['duit_masuk'], 2) }}
-

+

Marhun: {{ $gadai['marhun'] }}

@@ -714,4 +699,18 @@
+ + + + + + + + + + + + + +
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) }}