added baki lelong and rugi lelong
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
@props([
|
||||
'title' => '',
|
||||
'subtitle' => '',
|
||||
'icon' => '',
|
||||
'iconState' => 'info',
|
||||
'cardBackgroundState' => 'white',
|
||||
'link' => '#',
|
||||
])
|
||||
|
||||
<div class="col-xl-3 col-lg-6" >
|
||||
<div class="card card-stats mb-4 mb-xl-0 {{ 'bg-'.$cardBackgroundState}}">
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<h6 class="card-title text-uppercase mb-0 {{ $cardBackgroundState == 'white' ? 'text-muted' : 'text-white' }}">{{ $title }}</h6>
|
||||
<span class="h5 font-weight-bold mb-0 {{ $cardBackgroundState == 'white' ? 'text-black' : 'text-white' }}">{{ $subtitle }}</span>
|
||||
</div>
|
||||
<div class="col-auto text-center">
|
||||
<a href="{{ $link }}">
|
||||
<div class="icon icon-shape bg-{{ $iconState }} rounded-circle shadow text-center">
|
||||
<i class="{{ $icon }}"></i>
|
||||
</div>
|
||||
</a>
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -90,6 +90,21 @@
|
||||
@endif
|
||||
<br>
|
||||
|
||||
<div class="d-flex justify-content-center mb-4">
|
||||
<x-dashboard-card-small
|
||||
title="Baki Lelong"
|
||||
:subtitle="number_format($customerLelong['bakilelong'] ?? 0, 2)"
|
||||
icon="fas fa-chart-bar"
|
||||
iconState="danger"
|
||||
/>
|
||||
<x-dashboard-card-small
|
||||
title="Rugi Lelong"
|
||||
:subtitle="number_format($customerLelong['rugilelong'] ?? 0, 2)"
|
||||
icon="fas fa-chart-bar"
|
||||
iconState="warning"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@if (request()->get('filter') == 'pembiayaan-akan-dilelong')
|
||||
<x-dashboard-notification>
|
||||
<x-dashboard-notification.item content="1. Sekiranya Lelongan Anda Dalam Tempoh Kontrak Lanjutan (Mencapai 12 Bulan), Urusan Penebusan Hanya Dibenarkan Di Kaunter Cawangan Selewatnya-lewatnya 3 Hari Sebelum Tarikh Lelong." />
|
||||
|
||||
Reference in New Issue
Block a user