|
|
|
@ -22,22 +22,19 @@
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
|
|
<!-- Divider --> |
|
|
|
|
|
|
|
|
|
<hr class="sidebar-divider"> |
|
|
|
|
|
|
|
|
|
@php |
|
|
|
|
$isTransaksiActive = in_array($active, ['menu-user', 'menu-role']); |
|
|
|
|
@endphp |
|
|
|
|
|
|
|
|
|
<!-- Transaction --> |
|
|
|
|
<li class="nav-item"> |
|
|
|
|
<a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapsetransaktion" |
|
|
|
|
aria-expanded="{{ $isTransaksiActive ? 'true' : 'false' }}" aria-controls="collapsetransaktion"> |
|
|
|
|
<li |
|
|
|
|
class="nav-item {{ $active == 'menu-peminjaman' || $active == 'menu-pengembalian' || $active == 'menu-transfer' ? 'active' : '' }}"> |
|
|
|
|
<a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseTransaksi" |
|
|
|
|
aria-expanded="true" aria-controls="collapseTransaksi"> |
|
|
|
|
<i class="fas fa-fw fa-exchange-alt"></i> |
|
|
|
|
<span>Transaksi</span> |
|
|
|
|
</a> |
|
|
|
|
<div id="collapsetransaktion" class="collapse" aria-labelledby="headingTransaktion" |
|
|
|
|
data-parent="#accordionSidebar"> |
|
|
|
|
<div id="collapseTransaksi" |
|
|
|
|
class="collapse {{ $active == 'menu-peminjaman' || $active == 'menu-pengembalian' || $active == 'menu-transfer' ? 'show' : '' }}" |
|
|
|
|
aria-labelledby="headingTransaksi" data-parent="#accordionSidebar"> |
|
|
|
|
<div class="bg-white py-2 collapse-inner rounded"> |
|
|
|
|
<a class="collapse-item {{ $active == 'menu-peminjaman' ? 'active' : '' }}" |
|
|
|
|
href="{{ route('dashboard.peminjaman.index') }}">Peminjaman</a> |
|
|
|
@ -49,6 +46,7 @@
|
|
|
|
|
</div> |
|
|
|
|
</li> |
|
|
|
|
|
|
|
|
|
<!-- Disposal --> |
|
|
|
|
<li class="nav-item {{ $active == 'menu-disposal' ? 'active' : '' }}"> |
|
|
|
|
<a class="nav-link" href="{{ route('dashboard.disposal.index') }}"> |
|
|
|
|
<i class="fas fa-fw fa-trash"></i> |
|
|
|
@ -57,13 +55,16 @@
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
|
|
<!-- Histories --> |
|
|
|
|
<li class="nav-item"> |
|
|
|
|
<li |
|
|
|
|
class="nav-item {{ $active == 'history-peminjaman' || $active == 'history-pengembalian' || $active == 'history-transfer' ? 'active' : '' }}"> |
|
|
|
|
<a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapsehistory" |
|
|
|
|
aria-expanded="{{ $isTransaksiActive ? 'true' : 'false' }}" aria-controls="collapsehistory"> |
|
|
|
|
aria-controls="collapsehistory"> |
|
|
|
|
<i class="fas fa-history"></i> |
|
|
|
|
<span>History</span> |
|
|
|
|
</a> |
|
|
|
|
<div id="collapsehistory" class="collapse" aria-labelledby="headingHistory" data-parent="#accordionSidebar"> |
|
|
|
|
<div id="collapsehistory" |
|
|
|
|
class="collapse {{ $active == 'history-peminjaman' || $active == 'history-pengembalian' || $active == 'history-transfer' ? 'show' : '' }}" |
|
|
|
|
aria-labelledby="headingHistory" data-parent="#accordionSidebar"> |
|
|
|
|
<div class="bg-white py-2 collapse-inner rounded"> |
|
|
|
|
<a class="collapse-item {{ $active == 'history-peminjaman' ? 'active' : '' }}" |
|
|
|
|
href="{{ route('dashboard.history.historyPeminjaman') }}">Peminjaman</a> |
|
|
|
@ -83,17 +84,16 @@
|
|
|
|
|
Master Data |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
@php |
|
|
|
|
$isUserActive = in_array($active, ['menu-user', 'menu-role']); |
|
|
|
|
@endphp |
|
|
|
|
|
|
|
|
|
<li class="nav-item"> |
|
|
|
|
<a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseTwo" |
|
|
|
|
aria-expanded="{{ $isUserActive ? 'true' : 'false' }}" aria-controls="collapseTwo"> |
|
|
|
|
<!-- User --> |
|
|
|
|
<li class="nav-item {{ $active == 'menu-user' || $active == 'menu-role' ? 'active' : '' }}"> |
|
|
|
|
<a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseUser" |
|
|
|
|
aria-expanded="true" aria-controls="collapseUser"> |
|
|
|
|
<i class="fas fa-fw fa-users"></i> |
|
|
|
|
<span>Manajemen User</span> |
|
|
|
|
</a> |
|
|
|
|
<div id="collapseTwo" class="collapse" aria-labelledby="headingTwo" data-parent="#accordionSidebar"> |
|
|
|
|
<div id="collapseUser" |
|
|
|
|
class="collapse {{ $active == 'menu-user' || $active == 'menu-role' ? 'show' : '' }}" |
|
|
|
|
aria-labelledby="headingUser" data-parent="#accordionSidebar"> |
|
|
|
|
<div class="bg-white py-2 collapse-inner rounded"> |
|
|
|
|
<a class="collapse-item {{ $active == 'menu-user' ? 'active' : '' }}" |
|
|
|
|
href="{{ route('dashboard.user.index') }}">User</a> |
|
|
|
@ -102,23 +102,26 @@
|
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</li> |
|
|
|
|
|
|
|
|
|
<!-- Customer --> |
|
|
|
|
<li class="nav-item {{ $active == 'menu-customer' ? 'active' : '' }}"> |
|
|
|
|
<a class="nav-link" href="{{ route('dashboard.customer.index') }}"> |
|
|
|
|
<i class="fas fa-fw fa-user"></i> |
|
|
|
|
<span>Customer</span> |
|
|
|
|
</a> |
|
|
|
|
</li> |
|
|
|
|
@php |
|
|
|
|
$isPetiActive = in_array($active, ['menu-user', 'menu-role']); |
|
|
|
|
@endphp |
|
|
|
|
|
|
|
|
|
<li class="nav-item"> |
|
|
|
|
<a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapsepeti" |
|
|
|
|
aria-expanded="{{ $isPetiActive ? 'true' : 'false' }}" aria-controls="collapsepeti"> |
|
|
|
|
<!-- Peti --> |
|
|
|
|
<li |
|
|
|
|
class="nav-item {{ $active == 'menu-typepeti' || $active == 'enu-kondisipeti' || $active == 'menu-peti' ? 'active' : '' }}"> |
|
|
|
|
<a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapsePeti" |
|
|
|
|
aria-expanded="true" aria-controls="collapsePeti"> |
|
|
|
|
<i class="fas fa-fw fa-box"></i> |
|
|
|
|
<span>Manajemen Peti</span> |
|
|
|
|
</a> |
|
|
|
|
<div id="collapsepeti" class="collapse" aria-labelledby="headingTwo" data-parent="#accordionSidebar"> |
|
|
|
|
<div id="collapsePeti" |
|
|
|
|
class="collapse {{ $active == 'menu-typepeti' || $active == 'menu-kondisipeti' || $active == 'menu-peti' ? 'show' : '' }}" |
|
|
|
|
aria-labelledby="headingPeti" data-parent="#accordionSidebar"> |
|
|
|
|
<div class="bg-white py-2 collapse-inner rounded"> |
|
|
|
|
<a class="collapse-item {{ $active == 'menu-typepeti' ? 'active' : '' }}" |
|
|
|
|
href="{{ route('dashboard.typepeti.index') }}">Tipe Peti</a> |
|
|
|
@ -130,6 +133,8 @@
|
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</li> |
|
|
|
|
|
|
|
|
|
<!-- Warehouse --> |
|
|
|
|
<li class="nav-item {{ $active == 'menu-warehouse' ? 'active' : '' }}"> |
|
|
|
|
<a class="nav-link" href="{{ route('dashboard.warehouse.index') }}"> |
|
|
|
|
<i class="fas fa-fw fa-warehouse"></i> |
|
|
|
@ -137,13 +142,16 @@
|
|
|
|
|
</a> |
|
|
|
|
</li> |
|
|
|
|
|
|
|
|
|
<li class="nav-item"> |
|
|
|
|
<li |
|
|
|
|
class="nav-item {{ $active == 'menu-Pettern_Lot_Peti' || $active == 'menu-Stok_Opname' || $active == 'menu-ReportCustomer' || $active == 'menu-ReportWarehouse' || $active == 'menu-ReportKondisiPeti' || $active == 'menu-ReportTypePeti' ? 'active' : '' }}"> |
|
|
|
|
<a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapsereport" |
|
|
|
|
aria-expanded="{{ $isUserActive ? 'true' : 'false' }}" aria-controls="collapseTwo"> |
|
|
|
|
aria-expanded="true" aria-controls="collapsereport"> |
|
|
|
|
<i class="fas fa-fw fa-file-alt"></i> |
|
|
|
|
<span>Report</span> |
|
|
|
|
</a> |
|
|
|
|
<div id="collapsereport" class="collapse" aria-labelledby="headingTwo" data-parent="#accordionSidebar"> |
|
|
|
|
<div id="collapsereport" |
|
|
|
|
class="collapse {{ $active == 'menu-Pettern_Lot_Peti' || $active == 'menu-Stok_Opname' || $active == 'menu-ReportCustomer' || $active == 'menu-ReportWarehouse' || $active == 'menu-ReportKondisiPeti' || $active == 'menu-ReportTypePeti' ? 'show' : '' }}" |
|
|
|
|
aria-labelledby="headingreport" data-parent="#accordionSidebar"> |
|
|
|
|
<div class="bg-white py-2 collapse-inner rounded"> |
|
|
|
|
<a class="collapse-item {{ $active == 'menu-Pettern_Lot_Peti' ? 'active' : '' }}" |
|
|
|
|
href="{{ route('dashboard.Pettern_Lot_Peti.index') }}">PATTERN LOT |
|
|
|
@ -161,12 +169,6 @@
|
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</li> |
|
|
|
|
{{-- <li class="nav-item {{ $active == 'menu-Recycle_Data' ? 'active' : '' }}"> |
|
|
|
|
<a class="nav-link" href="{{ route('dashboard.recycle_data.index') }}"> |
|
|
|
|
<i class="fas fa-fw fa-recycle"></i> |
|
|
|
|
<span>Recycle Data</span> |
|
|
|
|
</a> |
|
|
|
|
</li> --}} |
|
|
|
|
@else |
|
|
|
|
@include('pages.layouts.sidebar_user') |
|
|
|
|
@endif |
|
|
|
|