user()->role == 'Admin') { $bg = 'bg-primary'; } elseif (auth()->user()->role == 'Owner') { $bg = 'bg-success'; } elseif (auth()->user()->role == 'Kasir') { $bg = 'bg-info'; } elseif (auth()->user()->role == 'Gudang') { $bg = 'bg-warning'; } ?>
@yield('content') {{-- --}}
@if (session('success')) @endif @if (session('error')) @endif @yield('script')