@if (Auth::user()->can('view-dashboard', App\Other::class))
  • Dashboard
  • @endif @if (($vendor = Auth::user()->isApprovedVendor()) || (Auth::user()->can('read', App\Product::class)) || (Auth::user()->can('delete', App\Product::class)) || (Auth::user()->can('update', App\Product::class)) || (Auth::user()->can('create', App\Product::class)) || (Auth::user()->can('read', App\Brand::class)) || (Auth::user()->can('delete', App\Brand::class)) || (Auth::user()->can('update', App\Brand::class)) || (Auth::user()->can('create', App\Brand::class)) || (Auth::user()->can('read', App\Category::class)) || (Auth::user()->can('delete', App\Category::class)) || (Auth::user()->can('update', App\Category::class)) || (Auth::user()->can('create', App\Category::class)) || Auth::user()->can('read-discount', App\Voucher::class) || Auth::user()->can('create-discount', App\Voucher::class) || Auth::user()->can('update-discount', App\Voucher::class) || Auth::user()->can('delete-discount', App\Voucher::class)) @if (isset( $vendor ) && $vendor)
  • Vendor Dashboard
  • Payments
  • @endif
  • Products
      @if ((isset( $vendor ) && $vendor) || Auth::user()->can('read', App\Product::class))
    • View Products
    • @endif @if ((isset( $vendor ) && $vendor) || Auth::user()->can('create', App\Product::class))
    • Add Product
    • @if(Auth::user()->can('create', App\Product::class))
    • Add Specifications
    • @endif @endif @if ((Auth::user()->can('read', App\Category::class)) || (Auth::user()->can('delete', App\Category::class)) || (Auth::user()->can('update', App\Category::class)) || (Auth::user()->can('create', App\Category::class)))
    • Categories
    • @endif @if (Auth::user()->can('read-discount', App\Voucher::class) || Auth::user()->can('create-discount', App\Voucher::class) || Auth::user()->can('update-discount', App\Voucher::class) || Auth::user()->can('delete-discount', App\Voucher::class))
    • Discounts
    • @endif
    • Collections
    • Delivery Pincode
  • @endif @if ((Auth::user()->can('read', App\Order::class)) || (Auth::user()->can('delete', App\Order::class)) || (Auth::user()->can('update', App\Order::class)) || (Auth::user()->can('create', App\Order::class)) || Auth::user()->can('read-coupon', App\Voucher::class) || Auth::user()->can('create-coupon', App\Voucher::class) || Auth::user()->can('update-coupon', App\Voucher::class) || Auth::user()->can('delete-coupon', App\Voucher::class) || (Auth::user()->can('manage-shipment-orders', App\Other::class)))
  • Orders
      @if ((Auth::user()->can('read', App\Order::class)) || (Auth::user()->can('manage-shipment-orders', App\Other::class))) @if (Auth::user()->can('manage-shipment-orders', App\Other::class))
    • View Orders
    • @endif @if (Auth::user()->can('read', App\Order::class))
    • Pending Orders
    • Invoices
    • @endif @endif @if (Auth::user()->can('read-coupon', App\Voucher::class) || Auth::user()->can('create-coupon', App\Voucher::class) || Auth::user()->can('update-coupon', App\Voucher::class) || Auth::user()->can('delete-coupon', App\Voucher::class))
    • Coupons
        @if (Auth::user()->can('read-coupon', App\Voucher::class))
      • View Coupons
      • @endif @if (Auth::user()->can('create-coupon', App\Voucher::class))
      • Add Coupon
      • @endif
    • @endif
  • @endif @if (Auth::user()->can('view-customers', App\Other::class) || (Auth::user()->can('update-review', App\Review::class)) || (Auth::user()->can('delete-review', App\Review::class)))
  • Customers
      @if (Auth::user()->can('view-customers', App\Other::class))
    • View Customers
    • @endif @if ((Auth::user()->can('update-review', App\Review::class)) || (Auth::user()->can('delete-review', App\Review::class)))
    • Reviews
    • @endif
  • @endif @if ((Auth::user()->can('read', App\Shipment::class)) && ((Auth::user()->can('delete', App\Shipment::class)) || (Auth::user()->can('update', App\Shipment::class)) || (Auth::user()->can('create', App\Shipment::class))))
  • Shipments
      @if (Auth::user()->can('read', App\Shipment::class))
    • View Shipments
    • @endif @if (Auth::user()->can('create', App\Shipment::class))
    • Add Shipment
    • @endif
  • @endif @if (Auth::user()->can('view-sales', App\Other::class) || Auth::user()->can('view-reports', App\Other::class))
  • Report
      @if (Auth::user()->can('view-reports', App\Other::class))
    • Product Sales Reports
    • @endif @if (Auth::user()->can('view-sales', App\Other::class))
    • View Sales
    • @endif
  • @endif @if ((Auth::user()->can('read', App\Deal::class)) || (Auth::user()->can('create', App\Deal::class)))
  • Deals
      @if (Auth::user()->can('read', App\Deal::class))
    • View Deals
    • @endif @if (Auth::user()->can('create', App\Deal::class))
    • Add Deal
    • @endif
  • @endif @if ((Auth::user()->can('read', App\Banner::class)) || (Auth::user()->can('delete', App\Banner::class)) || (Auth::user()->can('update', App\Banner::class)) || (Auth::user()->can('create', App\Banner::class)))
  • Banners
  • @endif
  • Offers
    • View Offers
    • Add Offers
  • Website Pages
    • Footer Pages
    • FAQ
  • @if ((Auth::user()->can('read', App\Testimonial::class)) && ((Auth::user()->can('delete', App\Testimonial::class)) || (Auth::user()->can('update', App\Testimonial::class)) || (Auth::user()->can('create', App\Testimonial::class))))
  • Testimonials
      @if (Auth::user()->can('read', App\Testimonial::class))
    • View Testimonials
    • @endif @if (Auth::user()->can('create', App\Testimonial::class))
    • Add Testimonial
    • @endif
  • @endif @if (Auth::user()->can('view-subscribers', App\Other::class) || Auth::user()->can('update-subscribers-settings', App\Other::class))
  • Subscribers
      @if (Auth::user()->can('view-subscribers', App\Other::class))
    • View Subscribers
    • @endif @if (Auth::user()->can('update-subscribers-settings', App\Other::class))
    • Settings
    • @endif
  • @endif
  • Settings
      @if (Auth::user()->can('update-settings', App\Other::class))
    • Overview
    • @endif
    • Profile
    • @if (Auth::user()->can('update-payment-settings', App\Other::class))
    • Payment
    • @endif @if (Auth::user()->can('update-business-settings', App\Other::class))
    • Business
    • @endif @if (Auth::user()->can('update-email-settings', App\Other::class))
    • Email
    • @endif @if (Auth::user()->can('update-sms-settings', App\Other::class))
    • SMS
    • @endif @if (Auth::user()->can('update-css-settings', App\Other::class))
    • Custom CSS
    • @endif