{{-- Header --}}
Bermadani
{{-- Workspace Switcher (Admin Only) --}} @if(!auth()->user()->isKasir())
@endif
@if(auth()->user()->isKasir()) {{-- KASIR: SIMPLE VIEW (Unchanged) --}}

Main

Dashboard POS System Riwayat Transaksi Riwayat Shift

Supplier

Terima Barang
@php $pendingBatch = \App\Models\ConsignmentBatch::where('status','REQUESTED')->count(); @endphp @if($pendingBatch > 0) {{ $pendingBatch }} @endif
Laporan Supplier @else {{-- ADMIN --}} {{-- DASHBOARD (ALWAYS VISIBLE) --}} Dashboard {{-- WORKSPACE: RETAIL --}}
POS System @php $pendingProductsCount = \App\Models\Product::where('approvalStatus', 'PENDING')->count(); $actionableConsignmentBatches = \App\Models\ConsignmentBatch::whereIn('status', ['REQUESTED', 'PENDING_SETTLEMENT'])->count(); @endphp
Produk
@if($pendingProductsCount > 0) {{ $pendingProductsCount }} @endif
Inventori
Suplai
@if($actionableConsignmentBatches > 0) {{ $actionableConsignmentBatches }} @endif
Keuangan Monitoring Kasir Member Retail
{{-- WORKSPACE: CORE (KOPERASI) --}}
Anggota Koperasi Simpan Pinjam Laporan Keuangan
{{-- SYSTEM (ADMIN ONLY) --}} @if(auth()->user()->isSuperAdmin() || auth()->user()->isDeveloper() || auth()->user()->isAdmin())

System

Settings & Logs
@endif @endif
Ciutkan
{{ strtoupper(substr(auth()->user()->name, 0, 2)) }}

{{ auth()->user()->name }}

{{ auth()->user()->role }}

@csrf