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