@can('create_pos_sales')
  • POS System
  • @endcan @can('show_notifications')
  • @php $low_quantity_products = \Modules\Product\Entities\Product::select('id', 'product_quantity', 'product_stock_alert', 'product_code')->whereColumn('product_quantity', '<=', 'product_stock_alert')->get(); echo $low_quantity_products->count(); @endphp
    {{ $low_quantity_products->count() }} Notifications
    @forelse($low_quantity_products as $product) Product: "{{ $product->product_code }}" is low in quantity! @empty No notifications available. @endforelse
  • @endcan
  • Profile Image
    {{ auth()->user()->name }} Online
    Account
    Profile Logout
    @csrf