From dbaafceefc852bd058bbfae05e275af66ea6c2e1 Mon Sep 17 00:00:00 2001 From: fifi97 <46933637+fifi97@users.noreply.github.com> Date: Mon, 24 Jan 2022 11:26:10 +0800 Subject: [PATCH] fix rekodsag --- app/Http/Controllers/SemakController.php | 66 +- public/argon/img/brand/pkb.png | Bin 0 -> 5066 bytes .../views/includes/analisaportal.blade.php | 18 +- .../includes/bayaran/pembayaransag.blade.php | 6 +- .../bayaran/senaraibayaransag.blade.php | 12 +- .../views/includes/rekod/rekodsag.blade.php | 75 ++- .../views/modal/historybayaran.blade.php | 69 ++ resources/views/resit/resitansuran.blade.php | 557 +++++++++++++++++ .../views/resit/resitansuransebelum.blade.php | 568 +++++++++++++++++ .../views/resit/resittambahpinjam.blade.php | 574 +++++++++++++++++ resources/views/resit/resittebus.blade.php | 583 +++++++++++++++++ .../resit/resittebusautotawarruq.blade.php | 565 +++++++++++++++++ .../views/resit/resittebussebelum.blade.php | 573 +++++++++++++++++ .../views/resit/resittebusseparuh.blade.php | 590 ++++++++++++++++++ .../resit/resittebusseparuhbelum.blade.php | 565 +++++++++++++++++ routes/web.php | 5 + 16 files changed, 4777 insertions(+), 49 deletions(-) create mode 100644 public/argon/img/brand/pkb.png create mode 100644 resources/views/modal/historybayaran.blade.php create mode 100644 resources/views/resit/resitansuran.blade.php create mode 100644 resources/views/resit/resitansuransebelum.blade.php create mode 100644 resources/views/resit/resittambahpinjam.blade.php create mode 100644 resources/views/resit/resittebus.blade.php create mode 100644 resources/views/resit/resittebusautotawarruq.blade.php create mode 100644 resources/views/resit/resittebussebelum.blade.php create mode 100644 resources/views/resit/resittebusseparuh.blade.php create mode 100644 resources/views/resit/resittebusseparuhbelum.blade.php diff --git a/app/Http/Controllers/SemakController.php b/app/Http/Controllers/SemakController.php index 3e98528..219cee0 100644 --- a/app/Http/Controllers/SemakController.php +++ b/app/Http/Controllers/SemakController.php @@ -29,6 +29,7 @@ class SemakController extends Controller public function SenaraiSAG(Request $request) { + $api_url = config('api.url'); $validated = $request->validate([ 'sltcawangan' => 'required', @@ -41,7 +42,7 @@ class SemakController extends Controller $sudah_tebus = Http::get(config('api.url') . '/api/customers/'. $auth_user['icno'] . '/gadai/' . 'sudah_tebus/' . $request->sltcawangan)->json(); // return view('semak.senaraisag', compact('belum_tebus','sudah_tebus')); - return view('includes.rekod.rekodsag', compact('belum_tebus','sudah_tebus', 'validated')); + return view('includes.rekod.rekodsag', compact('belum_tebus','sudah_tebus', 'validated','api_url')); } public function PenyataSummary($kodcaw,$norujukan) @@ -108,4 +109,67 @@ class SemakController extends Controller return view('penyata.penyata',compact('cawangan_detail','transaction','customer','gadai','api_url')); } + + public function resittebus($kodcaw,$norujukan) + { + + $auth_user = Auth::user(); + + $cawangan_info = Http::get(config('api.url') . '/api/cawangan/'. $kodcaw)->json(); + + $gadai = Http::get(config('api.url') . '/api/gadai/norujukan/'. $norujukan)->json(); + + $totaltransaction = 0; + + $transaction = Http::get(config('api.url') . '/api/transaction/'. $norujukan)->json(); + + foreach($transaction as $trans) + { + $totaltransaction += $trans['duit_masuk']; + } + + + if(sizeof($gadai) != 0) + $gadai = $gadai[0][0]; + + $customers_info = Http::get(config('api.url') . '/api/customers/'. $gadai['nokp'])->json(); + + $penebusan = Http::get(config('api.url') . '/api/listpenebusanhistory/' . $kodcaw,[ "norujukan" => $norujukan])->json(); + + if(sizeof($penebusan) != 0) + $penebusan = $penebusan[0]; + + $wakil = Http::get(config('api.url') . '/api/getwakil/' . $kodcaw . '/code/' . $penebusan['nowakil'])->json(); + + $totalBayaranAnsuran = Http::get(config('api.url') . '/api/transaction/norujukan/total/ansuran',['norujukan'=>$norujukan])->json(); + + // dd($wakil); + if(sizeof($wakil) != 0) + $wakil = $wakil[0]; + + return view('resit.resittebus',compact('transaction','gadai','cawangan_info','customers_info','penebusan','wakil','totaltransaction','totalBayaranAnsuran')); + } + + public function resit($id) + { + + $totaltransaction = 0; + + $transaction = Http::get(config('api.url') . '/api/transaction/id/'. $id)->json(); + + if(sizeof($transaction) != 0) + $transaction = $transaction[0]; + + $gadai = Http::get(config('api.url') . '/api/gadai/norujukan/'. $transaction['norujukan'])->json(); + + if(sizeof($gadai) != 0) + $gadai = $gadai[0][0]; + + $customers_info = Http::get(config('api.url') . '/api/customers/'. $gadai['nokp'])->json(); + + // if(sizeof($customers_info) != 0) + // $customers_info = $customers_info[0]; + + return view('resit.resitansuran',compact('transaction','gadai','customers_info')); + } } diff --git a/public/argon/img/brand/pkb.png b/public/argon/img/brand/pkb.png new file mode 100644 index 0000000000000000000000000000000000000000..5d03d4a6d12a9495e71b55a79db554e7c7808f6b GIT binary patch literal 5066 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 literal 0 HcmV?d00001 diff --git a/resources/views/includes/analisaportal.blade.php b/resources/views/includes/analisaportal.blade.php index 3df6afc..c6e4af6 100644 --- a/resources/views/includes/analisaportal.blade.php +++ b/resources/views/includes/analisaportal.blade.php @@ -106,7 +106,7 @@
-
+
@@ -144,7 +144,7 @@
-
+
@@ -170,7 +170,7 @@
-
+
@@ -180,11 +180,11 @@
- - +
+ - + @@ -204,7 +204,7 @@
-
+
@@ -214,8 +214,8 @@
-
No. SAGPinjamanPembiayaan (RM)
- +
+ diff --git a/resources/views/includes/bayaran/pembayaransag.blade.php b/resources/views/includes/bayaran/pembayaransag.blade.php index b16e4d2..a0f5b91 100644 --- a/resources/views/includes/bayaran/pembayaransag.blade.php +++ b/resources/views/includes/bayaran/pembayaransag.blade.php @@ -362,7 +362,7 @@ $("select[name=sltbayaran]").change(function(e) { let selected = $('option:selected', this).attr('value'); let jenis = $(this).data('jenis'); - let upah = $(this).data('upah'); + let upah = parseFloat($(this).data('upah').replace(",","")); let taglel = $(this).data('taglel'); if (selected === 'fixed') { @@ -383,7 +383,7 @@ $("input[name=txtbayaranarrahn]").change(function(e) { - let upah = $(this).data('upah'); + let upah = parseFloat($(this).data('upah').replace(",","")); let pinjaman = $(this).data('pinjaman'); let jenis = $(this).data('jenis'); let nm = $(this).data('nm'); @@ -414,7 +414,7 @@ $("input[name=txtbayarantawarruq]").change(function(e) { - let upah = $(this).data('upah'); + let upah = parseFloat($(this).data('upah').replace(",","")); let bakipinjam = $(this).data('bakipjm'); let jenis = $(this).data('jenis'); let nm = $(this).data('nm'); diff --git a/resources/views/includes/bayaran/senaraibayaransag.blade.php b/resources/views/includes/bayaran/senaraibayaransag.blade.php index 8d7cb91..0aef399 100644 --- a/resources/views/includes/bayaran/senaraibayaransag.blade.php +++ b/resources/views/includes/bayaran/senaraibayaransag.blade.php @@ -58,13 +58,11 @@ @csrf
-
- -
- + + Maksimum pilihan untuk pembayaran SAG tidak lebih daripada 3 SAG sahaja..
-
Karat Harga (RM)
- +
+ @@ -146,8 +144,6 @@
# Ar-Rahn

-
-
diff --git a/resources/views/includes/rekod/rekodsag.blade.php b/resources/views/includes/rekod/rekodsag.blade.php index e00e1f1..a3ba570 100644 --- a/resources/views/includes/rekod/rekodsag.blade.php +++ b/resources/views/includes/rekod/rekodsag.blade.php @@ -1,6 +1,6 @@ @extends('layouts.indexthird') - @section('content') +@include('modal.historybayaran') Senarai SAG | Customer Portal @@ -27,7 +27,7 @@
Cawangan : {{ $validated['namacawangan'] }}
- +
--}}
Transaksi Bayaran
- - +
+ @@ -108,7 +108,8 @@ @@ -148,8 +149,8 @@
-
No Rujukan Pembiayaan Asal
- +
+ @@ -168,7 +169,7 @@ @@ -191,7 +192,7 @@ {{ $st['sttebus'] }} @endif @@ -204,24 +205,10 @@ @endsection \ No newline at end of file diff --git a/resources/views/modal/historybayaran.blade.php b/resources/views/modal/historybayaran.blade.php new file mode 100644 index 0000000..7c40282 --- /dev/null +++ b/resources/views/modal/historybayaran.blade.php @@ -0,0 +1,69 @@ + + {{--
No Rujukan Pinjaman - {{ $st['t_update'] }} + {{ date("d-m-Y", strtotime($st['t_update'])) }}
+ + + + + + + + + + + +
BilTarikh BayaranBayaranAction
+
+ + +
+
+
--}} + + + + + diff --git a/resources/views/resit/resitansuran.blade.php b/resources/views/resit/resitansuran.blade.php new file mode 100644 index 0000000..d7586aa --- /dev/null +++ b/resources/views/resit/resitansuran.blade.php @@ -0,0 +1,557 @@ + + + + + + + + + + + + + + + + + + + + + + + + +
User Image User Image
+ + + + + + + + + + +
Salinan Pelanggan
RESIT BAYARAN
+ +
+ + + + + + + + + + + + + + + + + + + + +
Marhun : {{ $gadai['marhun'] }} No SAG: {{ $transaction['norujukan'] }}
Nama : {{ $customers_info['nama'] }} Tarikh Bayar: @php $time = new DateTime($transaction['created_at']); $date = $time->format('d/m/Y'); echo $date; @endphp
No K/P : @php if($customers_info['kpbaru'] == '') echo $customers_info['kplama']; else echo $customers_info['kpbaru']; @endphp Tempoh Simpanan: {{ $gadai['tempoh'] }}
Nama Wakil :
No K/P Wakil :
+
+ +

A

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Harga Jualan/Baki: RM {{ number_format(($transaction['bakiharga'] + $transaction['duit_masuk']),2) }} Pembiayaan/Baki: RM {{ number_format(($gadai['bakipjm']+$transaction['bayaran_pembiayaan']),2) }}
Bayaran Harga Jualan: RM {{ number_format($transaction['duit_masuk'],2) }} Ansuran Pembiyaan: RM {{ number_format($transaction['bayaran_pembiayaan'],2) }}
Baki Harga Jualan: RM {{ number_format($transaction['bakiharga'],2) }}Baki Pembiayaan: RM {{ number_format($gadai['bakipjm'],2) }}
Keuntungan: RM {{ number_format($transaction['bayaran_keuntungan'],2) }}
+

* Keuntungan sebenar atas setiap baki pembiayaan akan direbat semasa penebusan

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
.................................................... .................................................... .................................................... ....................................................
DiSemak Cagaran Di KeluarkanCagaran Diterima Ar-Rahn
{{ Auth::user()->name }}
+
+
+
+ +
+
+ + + + + + + + + + + + + +
Salinan Pejabat
RESIT BAYARAN
+ +
+ + + + + + + + + + + + + + + + + + + + +
Marhun : {{ $gadai['marhun'] }} No SAG: {{ $transaction['norujukan'] }}
Nama : {{ $customers_info['nama'] }} Tarikh Bayar: @php $time = new DateTime($transaction['created_at']); $date = $time->format('d/m/Y'); echo $date; @endphp
No K/P : @php if($customers_info['kpbaru'] == '') echo $customers_info['kplama']; else echo $customers_info['kpbaru']; @endphp Tempoh Simpan: {{ $gadai['tempoh'] }}
Nama Wakil :
No K/P Wakil :
+
+ +

A

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Harga Jualan/Baki: RM {{ number_format(($transaction['bakiharga'] + $transaction['duit_masuk']),2) }} Pembiayaan/Baki: RM {{ number_format(($gadai['bakipjm']+$transaction['bayaran_pembiayaan']),2) }}
Bayaran Harga Jualan: RM {{ number_format($transaction['duit_masuk'],2) }} Ansuran Pembiyaan: RM {{ number_format($transaction['bayaran_pembiayaan'],2) }}
Baki Harga Jualan: RM {{ number_format($transaction['bakiharga'],2) }}Baki Pembiayaan: RM {{ number_format($gadai['bakipjm'],2) }}
Keuntungan: RM {{ number_format($transaction['bayaran_keuntungan'],2) }}
+

* Keuntungan sebenar atas setiap baki pembiayaan akan direbat semasa penebusan

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
.................................................... .................................................... .................................................... ....................................................
DiSemak Cagaran Di KeluarkanCagaran Diterima Ar-Rahn
{{ Auth::user()->name }}
+
diff --git a/resources/views/resit/resitansuransebelum.blade.php b/resources/views/resit/resitansuransebelum.blade.php new file mode 100644 index 0000000..1c4b76b --- /dev/null +++ b/resources/views/resit/resitansuransebelum.blade.php @@ -0,0 +1,568 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
User Image User Image
+ + + + + + + + + + +
Salinan Pelanggan
RESIT BAYARAN
+ +
+ + + + + + + + + + + + + + + + + + + + +
Marhun : {{ $gadai['marhun'] }} No SAG: {{ $penebusan['norujukan'] }}
Nama : {{ $customers_info['nama'] }} Tarikh Bayar: @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp
No K/P : @php if($customers_info['kpbaru'] == '') echo $customers_info['kplama']; else echo $customers_info['kpbaru']; @endphp Tempoh Simpan: {{ $gadai['jbg'] }}
Nama Wakil : @php if(sizeof($wakil) != 0){ echo $wakil['nama'];} else echo ''; @endphp
No K/P Wakil : @php if(sizeof($wakil) != 0) echo $wakil['nokp']; else echo ''; @endphp
+
+ +

A

+ + + + + + + + + + + + + + + + + +
Tarikh Bayaran : @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp
Pembiayaan : RM {{ number_format($gadai['pinjaman'],2) }}
(-) Bayaran Pelanggan : RM {{ number_format($penebusan['ansuran'],2) }}
Baki Pembiayaan : RM {{ number_format(($gadai['pinjaman'] - $penebusan['ansuran']),2) }}
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
.................................................... .................................................... .................................................... ....................................................
DiSemak Cagaran Di KeluarkanCagaran Diterima Ar-Rahn
+
+
+
+ +
+
+ + + + + + + + + + + + + +
Salinan Pejabat
RESIT BAYARAN
+ +
+ + + + + + + + + + + + + + + + + + + + +
Marhun : {{ $gadai['marhun'] }} No SAG: {{ $penebusan['norujukan'] }}
Nama : {{ $customers_info['nama'] }} Tarikh Bayar: @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('n/j/Y'); echo $date; @endphp
No K/P : @php if($customers_info['kpbaru'] == '') echo $customers_info['kplama']; else echo $customers_info['kpbaru']; @endphp Tempoh Simpan: {{ $gadai['jbg'] }}
Nama Wakil : @php if(sizeof($wakil) != 0){ echo $wakil['nama'];} else echo ''; @endphp
No K/P Wakil : @php if(sizeof($wakil) != 0) echo $wakil['nokp']; else echo ''; @endphp
+
+ +

A

+ + + + + + + + + + + + + + + + + +
Tarikh Bayaran : @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('n/j/Y'); echo $date; @endphp
Pembiayaan : RM {{ number_format($gadai['pinjaman'],2) }}
(-) Bayaran Pelanggan : RM {{ number_format($penebusan['ansuran'],2) }}
Baki Pembiayaan : RM {{ number_format(($gadai['pinjaman'] - $penebusan['ansuran']),2) }}
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
.................................................... .................................................... .................................................... ....................................................
DiSemak Cagaran Di KeluarkanCagaran Diterima Ar-Rahn
+
\ No newline at end of file diff --git a/resources/views/resit/resittambahpinjam.blade.php b/resources/views/resit/resittambahpinjam.blade.php new file mode 100644 index 0000000..5f3ffa4 --- /dev/null +++ b/resources/views/resit/resittambahpinjam.blade.php @@ -0,0 +1,574 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
User Image User Image
+ + + + + + + + + + +
Salinan Pelanggan
RESIT BAYARAN
+ +
+ + + + + + + + + + + + + + + + + + + + +
Marhun : {{ $gadai['marhun'] }} : No SAG {{ $gadai['norujukan'] }}
Nama : {{ $customers_info['nama'] }} : Tarikh Bayar@php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp
No K/P : @php if($customers_info['kpbaru'] == '') echo $customers_info['kplama']; else echo $customers_info['kpbaru']; @endphp : Tempoh Simpan {{ $gadai['tempoh'] }}
Nama Wakil : @php if(sizeof($wakil) != 0){ echo $wakil['nama'];} else echo ''; @endphp
No K/P Wakil : @php if(sizeof($wakil) != 0) echo $wakil['nokp']; else echo ''; @endphp
+
+ +

P

+ + + + + + + + + + + + + + + + + + + + +
Tarikh Bayaran : @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp
Pembiayaan : RM {{ number_format($gadai['bakipjm'],2) }}
(+) Tambah Pembiayaan : RM {{ number_format($penebusan['addpinjaman'],2) }}
Pembiayaan Baru : RM {{ number_format($gadai['bakipjm'] + $penebusan['addpinjaman'],2) }}
Bayaran Keuntungan : RM {{ number_format($penebusan['bakiupah'],2) }}
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
.................................................... .................................................... .................................................... ....................................................
DiSemak Cagaran Di KeluarkanCagaran Diterima Ar-Rahn
{{ Auth::user()->name }}
+
+
+
+ +
+
+ + + + + + + + + + + + + +
Salinan Pejabat
RESIT BAYARAN
+ +
+ + + + + + + + + + + + + + + + + + + +
Marhun : {{ $gadai['marhun'] }} : No SAG {{ $gadai['norujukan'] }}
Nama : {{ $customers_info['nama'] }} : Tarikh Bayar @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp
No K/P : @php if($customers_info['kpbaru'] == '') echo $customers_info['kplama']; else echo $customers_info['kpbaru']; @endphp : Tempoh Simpan {{ $gadai['tempoh'] }}
Nama Wakil : @php if(sizeof($wakil) != 0){ echo $wakil['nama'];} else echo ''; @endphp
No K/P Wakil : @php if(sizeof($wakil) != 0) echo $wakil['nokp']; else echo ''; @endphp
+
+ +

P

+ + + + + + + + + + + + + + + + + + + + + +
Tarikh Bayaran : @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp
Pembiayaan : RM {{ number_format($gadai['bakipjm'],2) }}
(+) Tambah Pembiayaan : RM {{ number_format($penebusan['addpinjaman'],2) }}
Pembiayaan Baru : RM {{ number_format($gadai['bakipjm'] + $penebusan['addpinjaman'],2) }}
Bayaran Keuntungan : RM {{ number_format($penebusan['bakiupah'],2) }}
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
.................................................... .................................................... .................................................... ....................................................
DiSemak Cagaran Di KeluarkanCagaran Diterima Ar-Rahn
{{ Auth::user()->name }}
+
\ No newline at end of file diff --git a/resources/views/resit/resittebus.blade.php b/resources/views/resit/resittebus.blade.php new file mode 100644 index 0000000..830076f --- /dev/null +++ b/resources/views/resit/resittebus.blade.php @@ -0,0 +1,583 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
User Image User Image
+ + + + + + + + + + +
Salinan Pelanggan
RESIT BAYARAN
+ +
+ + + + + + + + + + + + + + + + + + + + + +
Marhun : {{ $gadai['marhun'] }} No SAG: {{ $gadai['norujukan'] }}
Nama : {{ $customers_info['nama'] }} Tarikh Bayar: @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp
No K/P : @php if($customers_info['kpbaru'] == '') echo $customers_info['kplama']; else echo $customers_info['kpbaru']; @endphp Tempoh Simpan: {{ $gadai['tempoh'] }}
Nama Wakil : @php if(sizeof($wakil) != 0){ echo $wakil['nama'];} else echo ''; @endphp
No K/P Wakil : @php if(sizeof($wakil) != 0) echo $wakil['nokp']; else echo ''; @endphp
+
+ +

T

+ + + + + + + + + + + + + + + + + + + + + + +
Harga Jualan: RM {{ number_format(($gadai['hargajualan']),2) }}
(-) Jumlah Ansuran Telah Dibayar: RM {{ number_format($totalBayaranAnsuran,2) }}
Baki Harga Jualan: RM {{ number_format($gadai['bakihargajualan'],2) }}
(-) Ibra' (Rebat): RM {{ number_format($penebusan['rebate'],2) }}
Tebus Keseluruhan: RM {{ number_format(($gadai['bakihargajualan'] - $penebusan['rebate']),2) }}
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
.................................................... .................................................... .................................................... ....................................................
DiSemak Cagaran Di KeluarkanCagaran Diterima Ar-Rahn
{{ Auth::user()->name }}
+
+
+
+ +
+
+ + + + + + + + + + + + + +
Salinan Pejabat
RESIT BAYARAN
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
Marhun : {{ $gadai['marhun'] }} No SAG: {{ $gadai['norujukan'] }}
Nama : {{ $customers_info['nama'] }} Tarikh Bayar: @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp
No K/P : @php if($customers_info['kpbaru'] == '') echo $customers_info['kplama']; else echo $customers_info['kpbaru']; @endphp Tempoh Simpan: {{ $gadai['tempoh'] }}
Nama Wakil : @php if(sizeof($wakil) != 0){ echo $wakil['nama'];} else echo ''; @endphp
No K/P Wakil : @php if(sizeof($wakil) != 0) echo $wakil['nokp']; else echo ''; @endphp
+
+ +

T

+ + + + + + + + + + + + + + + + + + + + + + +
Harga Jualan: RM {{ number_format(($gadai['hargajualan']),2) }}
(-) Jumlah Ansuran Telah Dibayar: RM {{ number_format($totalBayaranAnsuran,2) }}
Baki Harga Jualan: RM {{ number_format($gadai['bakihargajualan'],2) }}
(-) Ibra' (Rebat): RM {{ number_format($penebusan['rebate'],2) }}
Tebus Keseluruhan: RM {{ number_format(($gadai['bakihargajualan'] - $penebusan['rebate']),2) }}
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
.................................................... .................................................... .................................................... ....................................................
DiSemak Cagaran Di KeluarkanCagaran Diterima Ar-Rahn
{{ Auth::user()->name }}
+
\ No newline at end of file diff --git a/resources/views/resit/resittebusautotawarruq.blade.php b/resources/views/resit/resittebusautotawarruq.blade.php new file mode 100644 index 0000000..03dce05 --- /dev/null +++ b/resources/views/resit/resittebusautotawarruq.blade.php @@ -0,0 +1,565 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
User Image User Image
+ + + + + + + + + + +
Salinan Pelanggan
RESIT BAYARAN
+ +
+ + + + + + + + + + + + + + + + + + + + + +
Marhun : {{ $gadai['marhun'] }} No SAG: {{ $gadai['norujukan'] }}
Nama : {{ $customers_info['nama'] }} Tarikh Bayar: @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp
No K/P : @php if($customers_info['kpbaru'] == '') echo $customers_info['kplama']; else echo $customers_info['kpbaru']; @endphp Tempoh Simpan: {{ $gadai['tempoh'] }}
Nama Wakil : @php if(sizeof($wakil) != 0){ echo $wakil['nama'];} else echo ''; @endphp
No K/P Wakil : @php if(sizeof($wakil) != 0) echo $wakil['nokp']; else echo ''; @endphp
+
+ +

AT

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Pinjaman : RM {{ number_format($gadai['pinjaman'],2) }}
(-) Bayaran Pinjaman : RM {{ number_format($transaction_keuntungan['bayaran_pembiayaan'],2) }}
Bayaran Upah : RM {{ number_format($transaction_keuntungan['bayaran_keuntungan'],2) }}
Pembiyaan Baru : RM {{ number_format($gadai['pinjaman']-$transaction_keuntungan['bayaran_pembiayaan'],2) }}
Jumlah Bayaran : RM {{ number_format($transaction_keuntungan['bayaran_pembiayaan']+$transaction_keuntungan['bayaran_keuntungan'],2) }}
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
.................................................... .................................................... .................................................... ....................................................
DiSemak Cagaran Di KeluarkanCagaran Diterima Ar-Rahn
{{ Auth::user()->name }}
+
+
+
+ +
+
+ + + + + + + + + + + + + +
Salinan Pejabat
RESIT BAYARAN
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
Marhun : {{ $gadai['marhun'] }} No SAG: {{ $gadai['norujukan'] }}
Nama : {{ $customers_info['nama'] }} Tarikh Bayar: @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/y'); echo $date; @endphp
No K/P : @php if($customers_info['kpbaru'] == '') echo $customers_info['kplama']; else echo $customers_info['kpbaru']; @endphp Tempoh Simpan: {{ $gadai['tempoh'] }}
Nama Wakil : @php if(sizeof($wakil) != 0){ echo $wakil['nama'];} else echo ''; @endphp
No K/P Wakil : @php if(sizeof($wakil) != 0) echo $wakil['nokp']; else echo ''; @endphp
+
+ +

AT

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Pinjaman : RM {{ number_format($gadai['pinjaman'],2) }}
(-) Bayaran Pinjaman : RM {{ number_format($transaction_keuntungan['bayaran_pembiayaan'],2) }}
Bayaran Upah : RM {{ number_format($transaction_keuntungan['bayaran_keuntungan'],2) }}
Pembiyaan Baru : RM {{ number_format($gadai['pinjaman']-$transaction_keuntungan['bayaran_pembiayaan'],2) }}
Jumlah Bayaran : RM {{ number_format($transaction_keuntungan['bayaran_pembiayaan']+$transaction_keuntungan['bayaran_keuntungan'],2) }}
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
.................................................... .................................................... .................................................... ....................................................
DiSemak Cagaran Di KeluarkanCagaran Diterima Ar-Rahn
{{ Auth::user()->name }}
+
\ No newline at end of file diff --git a/resources/views/resit/resittebussebelum.blade.php b/resources/views/resit/resittebussebelum.blade.php new file mode 100644 index 0000000..451287e --- /dev/null +++ b/resources/views/resit/resittebussebelum.blade.php @@ -0,0 +1,573 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
User Image User Image
+ + + + + + + + + + +
Salinan Pelanggan
RESIT BAYARAN
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
Marhun : {{ $gadai['marhun'] }} No SAG: {{ $gadai['norujukan'] }}
Nama : {{ $customers_info['nama'] }} Tarikh Bayar: @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp
No K/P : @php if($customers_info['kpbaru'] == '') echo $customers_info['kplama']; else echo $customers_info['kpbaru']; @endphp Tempoh Simpan: {{ $gadai['tempoh'] }}
Nama Wakil : @php if(sizeof($wakil) != 0){ echo $wakil['nama'];} else echo ''; @endphp
No K/P Wakil : @php if(sizeof($wakil) != 0) echo $wakil['nokp']; else echo ''; @endphp
+
+ +

T

+ + + + + + + + + + + + + + + + + +
Tarikh Bayaran : @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp
Pembiayaan : RM {{ number_format(($gadai['pinjaman']),2) }}
Jumlah Upah : RM {{ number_format($penebusan['bakiupah'],2) }}
Tebus Keseluruhan : RM {{ number_format(($gadai['pinjaman'] + $penebusan['bakiupah']),2) }}
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
.................................................... .................................................... .................................................... ....................................................
DiSemak Cagaran Di KeluarkanCagaran Diterima Ar-Rahn
{{ Auth::user()->name }}
+
+
+
+ +
+
+ + + + + + + + + + + + + +
Salinan Pejabat
RESIT BAYARAN
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
Marhun : {{ $gadai['marhun'] }} No SAG: {{ $gadai['norujukan'] }}
Nama : {{ $customers_info['nama'] }} Tarikh Bayar: @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/y'); echo $date; @endphp
No K/P : @php if($customers_info['kpbaru'] == '') echo $customers_info['kplama']; else echo $customers_info['kpbaru']; @endphp Tempoh Simpan: {{ $gadai['tempoh'] }}
Nama Wakil : @php if(sizeof($wakil) != 0){ echo $wakil['nama'];} else echo ''; @endphp
No K/P Wakil : @php if(sizeof($wakil) != 0) echo $wakil['nokp']; else echo ''; @endphp
+
+ +

T

+ + + + + + + + + + + + + + + + + +
Tarikh Bayaran : @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/y'); echo $date; @endphp
Pembiayaan : RM {{ number_format(($gadai['pinjaman']),2) }}
Jumlah Upah : RM {{ number_format($penebusan['bakiupah'],2) }}
Tebus Keseluruhan : RM {{ number_format(($gadai['pinjaman'] + $penebusan['bakiupah']),2) }}
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
.................................................... .................................................... .................................................... ....................................................
DiSemak Cagaran Di KeluarkanCagaran Diterima Ar-Rahn
{{ Auth::user()->name }}
+
diff --git a/resources/views/resit/resittebusseparuh.blade.php b/resources/views/resit/resittebusseparuh.blade.php new file mode 100644 index 0000000..bbfa8fb --- /dev/null +++ b/resources/views/resit/resittebusseparuh.blade.php @@ -0,0 +1,590 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
User Image User Image
+ + + + + + + + + + +
Salinan Pelanggan
RESIT BAYARAN
+ +
+ + + + + + + + + + + + + + + + + + + + + +
Marhun : {{ $gadai['marhun'] }} No SAG: {{ $gadai['norujukan'] }}
Nama : {{ $customers_info['nama'] }} Tarikh Bayar: @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp
No K/P : @php if($customers_info['kpbaru'] == '') echo $customers_info['kplama']; else echo $customers_info['kpbaru']; @endphp Tempoh Simpan: {{ $gadai['tempoh'] }}
Nama Wakil : @php if(sizeof($wakil) != 0){ echo $wakil['nama'];} else echo ''; @endphp
No K/P Wakil : @php if(sizeof($wakil) != 0) echo $wakil['nokp']; else echo ''; @endphp
+
+ +

S

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Tarikh Bayaran : @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp
Harga Jualan : RM {{ number_format(($gadai['hargajualan']),2) }}
(-) Bayaran Pelanggan : RM {{ number_format($totaltransaction,2) }}
Baki Harga Jualan : RM {{ number_format($gadai['bakihargajualan'],2) }}
(-) Rebate : RM {{ number_format($penebusan['rebate'],2) }}
Jumlah Bayaran : RM {{ number_format($penebusan['bakipjm'],2) }}
Pembiayaan Baru : RM {{ number_format(($gadai['bakihargajualan'] - $penebusan['rebate']-$penebusan['bakipjm']),2) }}
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
.................................................... .................................................... .................................................... ....................................................
DiSemak Cagaran Di KeluarkanCagaran Diterima Ar-Rahn
{{ Auth::user()->name }}
+
+
+
+ +
+
+ + + + + + + + + + + + + +
Salinan Pejabat
RESIT BAYARAN
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
Marhun : {{ $gadai['marhun'] }} No SAG: {{ $gadai['norujukan'] }}
Nama : {{ $customers_info['nama'] }} Tarikh Bayar: @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/y'); echo $date; @endphp
No K/P : @php if($customers_info['kpbaru'] == '') echo $customers_info['kplama']; else echo $customers_info['kpbaru']; @endphp Tempoh Simpan: {{ $gadai['tempoh'] }}
Nama Wakil : @php if(sizeof($wakil) != 0){ echo $wakil['nama'];} else echo ''; @endphp
No K/P Wakil : @php if(sizeof($wakil) != 0) echo $wakil['nokp']; else echo ''; @endphp
+
+ +

S

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Tarikh Bayaran : @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/y'); echo $date; @endphp
Harga Jualan : RM {{ number_format(($gadai['hargajualan']),2) }}
(-) Bayaran Pelanggan : RM {{ number_format($totaltransaction,2) }}
Baki Harga Jualan : RM {{ number_format($gadai['bakihargajualan'],2) }}
(-) Rebate : RM {{ number_format($penebusan['rebate'],2) }}
Jumlah Bayaran : RM {{ number_format($penebusan['bakipjm'],2) }}
Pembiayaan Baru : RM {{ number_format(($gadai['bakihargajualan'] - $penebusan['rebate']-$penebusan['bakipjm']),2) }}
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
.................................................... .................................................... .................................................... ....................................................
DiSemak Cagaran Di KeluarkanCagaran Diterima Ar-Rahn
{{ Auth::user()->name }}
+
\ No newline at end of file diff --git a/resources/views/resit/resittebusseparuhbelum.blade.php b/resources/views/resit/resittebusseparuhbelum.blade.php new file mode 100644 index 0000000..827ba3b --- /dev/null +++ b/resources/views/resit/resittebusseparuhbelum.blade.php @@ -0,0 +1,565 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
User Image User Image
+ + + + + + + + + + +
Salinan Pelanggan
RESIT BAYARAN
+ +
+ + + + + + + + + + + + + + + + + + + + + +
Marhun : {{ $gadai['marhun'] }} No SAG: {{ $gadai['norujukan'] }}
Nama : {{ $customers_info['nama'] }} Tarikh Bayar: @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp
No K/P : @php if($customers_info['kpbaru'] == '') echo $customers_info['kplama']; else echo $customers_info['kpbaru']; @endphp Tempoh Simpan: {{ $gadai['jbg'] }}
Nama Wakil : @php if(sizeof($wakil) != 0){ echo $wakil['nama'];} else echo ''; @endphp
No K/P Wakil : @php if(sizeof($wakil) != 0) echo $wakil['nokp']; else echo ''; @endphp
+
+ +

S

+ + + + + + + + + + + + + + + + + + +
Tarikh Bayaran : @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp
Pembiayaan : RM {{ number_format(($gadai['pinjaman']),2) }}
Jumlah Upah : RM {{ number_format($penebusan['bakiupah'],2) }}
Tebus Keseluruhan : RM {{ number_format(($gadai['pinjaman'] + $penebusan['bakiupah']),2) }}
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
.................................................... .................................................... .................................................... ....................................................
DiSemak Cagaran Di KeluarkanCagaran Diterima Ar-Rahn
+
+
+
+ +
+
+ + + + + + + + + + + + + +
Salinan Pejabat
RESIT BAYARAN
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
Marhun : {{ $gadai['marhun'] }} No SAG: {{ $gadai['norujukan'] }}
Nama : {{ $customers_info['nama'] }} Tarikh Bayar: @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp
No K/P : @php if($customers_info['kpbaru'] == '') echo $customers_info['kplama']; else echo $customers_info['kpbaru']; @endphp Tempoh Simpan: {{ $gadai['jbg`'] }}
Nama Wakil : @php if(sizeof($wakil) != 0){ echo $wakil['nama'];} else echo ''; @endphp
No K/P Wakil : @php if(sizeof($wakil) != 0) echo $wakil['nokp']; else echo ''; @endphp
+
+ +

S

+ + + + + + + + + + + + + + + + + +
Tarikh Bayaran : @php $time = new DateTime($penebusan['t_tebus']); $date = $time->format('d/m/Y'); echo $date; @endphp
Pembiayaan : RM {{ number_format(($gadai['pinjaman']),2) }}
Jumlah Upah : RM {{ number_format($penebusan['bakiupah'],2) }}
Tebus Keseluruhan : RM {{ number_format(($gadai['pinjaman'] + $penebusan['bakiupah']),2) }}
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
.................................................... .................................................... .................................................... ....................................................
DiSemak Cagaran Di KeluarkanCagaran Diterima Ar-Rahn
+
\ No newline at end of file diff --git a/routes/web.php b/routes/web.php index cfd2ae7..ff46ea0 100644 --- a/routes/web.php +++ b/routes/web.php @@ -91,6 +91,11 @@ Route::group(['middleware' => 'auth','verified'], function () { Route::get('/penyata/{kodcaw}/{norujukan}', 'App\Http\Controllers\SemakController@Penyata')->name('penyata.show'); Route::get('/penyata/summary/{kodcaw}/{norujukan}', 'App\Http\Controllers\SemakController@PenyataSummary')->name('penyata.summary'); Route::get('/penyata/summaryarrahn/{kodcaw}/{norujukan}', 'App\Http\Controllers\SemakController@PenyataSummaryUpah')->name('penyata.summaryupah'); + + Route::get('/resit/tebus/{kodcaw}/{norujukan}',['as'=>'resit.tebus','uses'=>'App\Http\Controllers\SemakController@resittebus']); + Route::get('/resit/{id}',['as'=>'resit.ansuran','uses'=>'App\Http\Controllers\SemakController@resit']); + + Route::post('/paymentaction', 'App\Http\Controllers\BayaranController@PembayaranAction')->name('payment.action');