From 2d706b384aeea5145d45a629ae85dccaf7e80a62 Mon Sep 17 00:00:00 2001 From: Amir Hamzan <62345746+amirhamzan@users.noreply.github.com> Date: Mon, 22 Nov 2021 12:41:58 +0800 Subject: [PATCH] add ui pembayaran, analisa --- .../assets/img/material-kit/waves-white.svg | 324 ++++++++++ public/css/material-kit.css | 2 +- .../views/includes/analisaportal.blade.php | 263 +++++++- .../includes/bayaran/pembayaransag.blade.php | 260 ++++++++ .../bayaran/senaraibayaransag.blade.php | 117 ++++ .../views/includes/main/navigation.blade.php | 4 +- resources/views/layouts/indexfifth.blade.php | 17 + resources/views/layouts/indexforth.blade.php | 66 +- .../views/pembayaran/senaraibayaran.blade.php | 602 +++++++++--------- routes/web.php | 9 + 10 files changed, 1303 insertions(+), 361 deletions(-) create mode 100644 public/assets/img/material-kit/waves-white.svg create mode 100644 resources/views/includes/bayaran/pembayaransag.blade.php create mode 100644 resources/views/includes/bayaran/senaraibayaransag.blade.php create mode 100644 resources/views/layouts/indexfifth.blade.php diff --git a/public/assets/img/material-kit/waves-white.svg b/public/assets/img/material-kit/waves-white.svg new file mode 100644 index 0000000..b2f04fd --- /dev/null +++ b/public/assets/img/material-kit/waves-white.svg @@ -0,0 +1,324 @@ + + + Artboard + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/css/material-kit.css b/public/css/material-kit.css index 20824bf..fae701a 100644 --- a/public/css/material-kit.css +++ b/public/css/material-kit.css @@ -8644,7 +8644,7 @@ fieldset:disabled .btn { } .min-vh-75 { - min-height: 75vh !important; + min-height: 33vh !important; } .min-vh-80 { diff --git a/resources/views/includes/analisaportal.blade.php b/resources/views/includes/analisaportal.blade.php index 7b51dc5..8d36a17 100644 --- a/resources/views/includes/analisaportal.blade.php +++ b/resources/views/includes/analisaportal.blade.php @@ -1,7 +1,262 @@ -@extends('layouts.index') - +@extends('layouts.indexforth') @section('content') -

manan amanana

-@include('layouts.indexforth') + + +
+ pattern-lines +
+
+ +
+
+
+
+
+
+
+
Pembiayaan Semasa (RM)
+ 2,4000 +
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
Bilangan Pembiayaan Aktif
+ 1 +
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
Pembiayaan Melebihi 6 Bulan
+ 0 +
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
Gadaian Akan Dilelong
+ 0 +
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Keseluruhan
+

Jumlah Bayaran

+
+
+ +
+
+
+
+ +
+ + +
+
+
+
+
+
+
+
+
+
Prestasi
+

Pembiayaan (Bulanan)

+
+
+
+
+ +
+ +
+
+
+
+
+
+
+
+ pattern-lines +
+
+
+
+
+
+
+

Pembiayaan Aktif

+
+
+ {{-- See all --}} +
+
+
+
+ + + + + + + + + + {{-- @foreach($belum_tebus as $index1=>$bt) + + + + + @endforeach --}} + + + + + +
No. SAGPinjaman
{{ $bt['norujukan'] }}{{ $bt['pinjaman'] }}
X0301210901-00092400.00
+
+
+
+
+
+
+
+
+

Harga Emas

+
+ {{--
+ See all +
--}} +
+
+
+ + + + + + + + + + + {{-- @foreach($hargaemasterdahulu as $index=>$hm) + + + + @if($hm['percent'] > 0) + + @else + + @endif + + @endforeach --}} + + + + + + + + + + + + + + + + + + + + + +
KaratHarga (RM)Perubahan (%)
{{ $hm['karat'] }}{{ $hm['hargasemasa'] }}({{ number_format($hm['percent'],2) }})({{ number_format($hm['percent']*-1,2) }})
14.0k157.300.47
14.0k157.300.47
14.0k157.300.47
14.0k157.300.47
+
+
+
+
+
+
+ @endsection \ No newline at end of file diff --git a/resources/views/includes/bayaran/pembayaransag.blade.php b/resources/views/includes/bayaran/pembayaransag.blade.php new file mode 100644 index 0000000..fc4a369 --- /dev/null +++ b/resources/views/includes/bayaran/pembayaransag.blade.php @@ -0,0 +1,260 @@ +@extends('layouts.indexfifth') + +@section('content') + +Bayar SAG | Customer Portal +
+
+ +
+ +
+
+
+
+
+
+

Senarai Surat Gadaian

+
+ +
+
+ + + + +
+
+ +
+ + + + + + + + + + + + + + {{-- @php $counter = 1;$jenisbayaran = 'arrahn'; @endphp + @foreach($arraybayar as $index=>$bayar) + @if($bayar['hargajualan'] == '') + @php + $koskeuntungan = Http::get(config('api.url') . '/api/upahbukantawarruq/' . $bayar['kodcaw'] . '/' . $bayar['norujukan'])->json(); + @endphp + + + + + + + + + + {{-- @php $counter++; @endphp + @endif --}} + {{-- @endforeach --}} + +
No.No RujukanPembiayaanTempoh SimpanUpah telah bayarUpah semasaBayaran
+ {{ $counter }} + + {{ $bayar['norujukan'] }} + + {{ number_format($bayar['pinjaman'],2) }} + + {{ number_format($bayar['tempoh'],2) }} + + {{ number_format($bayar['telahbayar'],2) }} + + {{ number_format($koskeuntungan,2) }} + + + + {{-- + + + + + + + --}} +
+
+
+ +
+ +
+ + + + + + + + + + + + + {{-- @php $counter = 1;$jenisbayaran = 'tawarruq'; @endphp + @foreach($arraybayar as $index=>$bayar) + @if($bayar['hargajualan'] != '') + + + + + + + + + + + + @php $counter++; @endphp + @endif + @endforeach --}} +
NoNo RujukanPembiayaan AsalB. PembiayaanTempohKeuntunganBayaran
+ {{ $counter }} + + {{ $bayar['norujukan'] }} + + {{ number_format($bayar['pinjaman'],2) }} + + {{ number_format($bayar['bakipjm'],2) }} + + {{ $bayar['tempoh'] }} + + @php + $upahtawarruq = Http::get(config('api.url') . '/api/upahtawarruq/'. $bayar['kodcaw'] . '/' . $bayar['norujukan'])->json(); + @endphp + {{ $upahtawarruq }} + + + + + + + + + + +
+
+ + +
+ +
+
+
+
+
+
+
+
+

Ringkasan Pembayaran

+
+
+ +
+
+
+
+ +
+ +
+
+ +
+ +
+ RM 0.00 +
+
+
+ +
+
+ +
+ +
+ RM 0.00 +
+
+
+ + + {{--
+
+ +
+ +
+ RM 0.00 +
+
+
--}} + + +
+
+ +
+ +
+ RM 0.00 +
+
+
+ +
+ + +
+ +
+
+
+
+ + + +@endsection \ No newline at end of file diff --git a/resources/views/includes/bayaran/senaraibayaransag.blade.php b/resources/views/includes/bayaran/senaraibayaransag.blade.php new file mode 100644 index 0000000..f1e2154 --- /dev/null +++ b/resources/views/includes/bayaran/senaraibayaransag.blade.php @@ -0,0 +1,117 @@ +@extends('layouts.indexfifth') + +@section('content') +@include('modal.marhun') + +Pembayaran | Customer Portal +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+
+
Ar-Rahn
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
No RujukanPinjamanN. MarhunBerat(gm)JBGUpahJ.TebusT.Tebus
-------
+
+
+ +
+
+
+
+
Tawarruq
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
No RujukanPinjamanN. MarhunBerat(gm)JBGUpahJ.TebusT.Tebus
12122121221212212122121221212212122
+
+
+
+
+ Checkout +
+ +
+ +
+ + +@endsection \ No newline at end of file diff --git a/resources/views/includes/main/navigation.blade.php b/resources/views/includes/main/navigation.blade.php index 17fda08..bea6413 100644 --- a/resources/views/includes/main/navigation.blade.php +++ b/resources/views/includes/main/navigation.blade.php @@ -85,13 +85,13 @@