|
|
@ -18,53 +18,42 @@ |
|
|
|
|
|
|
|
|
|
|
|
<!-- Nav Item - Alerts --> |
|
|
|
<!-- Nav Item - Alerts --> |
|
|
|
<li class="nav-item dropdown no-arrow mx-1"> |
|
|
|
<li class="nav-item dropdown no-arrow mx-1"> |
|
|
|
|
|
|
|
@php |
|
|
|
|
|
|
|
$notification = \App\Models\asset_status::whereNull('enter_at') |
|
|
|
|
|
|
|
->whereDate('est_pengembalian', \Carbon\Carbon::today()) |
|
|
|
|
|
|
|
->get(); |
|
|
|
|
|
|
|
$totalNotification = $notification->count(); |
|
|
|
|
|
|
|
@endphp |
|
|
|
<a class="nav-link dropdown-toggle" href="#" id="alertsDropdown" role="button" data-toggle="dropdown" |
|
|
|
<a class="nav-link dropdown-toggle" href="#" id="alertsDropdown" role="button" data-toggle="dropdown" |
|
|
|
aria-haspopup="true" aria-expanded="false"> |
|
|
|
aria-haspopup="true" aria-expanded="false"> |
|
|
|
<i class="fas fa-bell fa-fw"></i> |
|
|
|
<i class="fas fa-bell fa-fw"></i> |
|
|
|
<!-- Counter - Alerts --> |
|
|
|
<!-- Counter - Alerts --> |
|
|
|
<span class="badge badge-danger badge-counter">3+</span> |
|
|
|
<span class="badge badge-danger badge-counter">{{ $totalNotification }}</span> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<!-- Dropdown - Alerts --> |
|
|
|
<!-- Dropdown - Alerts --> |
|
|
|
<div class="dropdown-list dropdown-menu dropdown-menu-right shadow animated--grow-in" |
|
|
|
<div class="dropdown-list dropdown-menu dropdown-menu-right shadow animated--grow-in" |
|
|
|
aria-labelledby="alertsDropdown"> |
|
|
|
aria-labelledby="alertsDropdown"> |
|
|
|
<h6 class="dropdown-header"> |
|
|
|
<h6 class="dropdown-header"> |
|
|
|
Alerts Center |
|
|
|
Notifikasi Siopas |
|
|
|
</h6> |
|
|
|
</h6> |
|
|
|
<a class="dropdown-item d-flex align-items-center" href="#"> |
|
|
|
@foreach ($notification as $data_notification) |
|
|
|
|
|
|
|
<a class="dropdown-item d-flex align-items-center" |
|
|
|
|
|
|
|
href="{{ route('dashboard.pengembalian.edit', $data_notification->id) }}"> |
|
|
|
<div class="mr-3"> |
|
|
|
<div class="mr-3"> |
|
|
|
<div class="icon-circle bg-primary"> |
|
|
|
<div class="icon-circle bg-primary"> |
|
|
|
<i class="fas fa-download text-white"></i> |
|
|
|
<i class="fas fa-download text-white"></i> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<div class="small text-gray-500">December 12, 2019</div> |
|
|
|
<div class="small text-gray-500"> |
|
|
|
<span class="font-weight-bold">A new monthly report is ready to |
|
|
|
{{ \Carbon\Carbon::parse($data_notification->exit_at)->format('F j, Y') }}</div> |
|
|
|
download!</span> |
|
|
|
<span class="font-weight-bold">Peti dengan kode |
|
|
|
|
|
|
|
{{ $data_notification->peti->fix_lot }} berhasil di pinjam</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<a class="dropdown-item d-flex align-items-center" href="#"> |
|
|
|
@endforeach |
|
|
|
<div class="mr-3"> |
|
|
|
<a class="dropdown-item text-center small text-gray-500" |
|
|
|
<div class="icon-circle bg-success"> |
|
|
|
href="{{ route('dashboard.navbarList.notification') }}">Show All |
|
|
|
<i class="fas fa-upload text-white"></i> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div> |
|
|
|
|
|
|
|
<div class="small text-gray-500">December 7, 2019</div> |
|
|
|
|
|
|
|
$290.29 has been deposited into your account! |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
<a class="dropdown-item d-flex align-items-center" href="#"> |
|
|
|
|
|
|
|
<div class="mr-3"> |
|
|
|
|
|
|
|
<div class="icon-circle bg-warning"> |
|
|
|
|
|
|
|
<i class="fas fa-exclamation-triangle text-white"></i> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div> |
|
|
|
|
|
|
|
<div class="small text-gray-500">December 2, 2019</div> |
|
|
|
|
|
|
|
Spending Alert: We've noticed unusually high spending for your account. |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
<a class="dropdown-item text-center small text-gray-500" href="#">Show All |
|
|
|
|
|
|
|
Alerts</a> |
|
|
|
Alerts</a> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|