<?php

return [
    [
        'title' => 'Orders',
        'as' => 'Order',
        'to' => 'admin.orders.index',
        'icon' => 'fas fa-shopping-basket',
        'permissions' => ['order-list',"order-create","order-show","order-update","order-delete","order-set-status"],
        'active' => true,
        "sub-menus" => [
            [
                'title' => 'New',
                'as' => 'New_Order',
                'to' => 'admin.orders.create',
                'icon' => 'fas fa-cart-plus',
                'permissions' => [
                    "order-create",
                ],
                'active' => true,
            ],
            [
                'title' => 'Manage',
                'as' => 'Manage_Orders',
                'to' => 'admin.orders.index',
                'icon' => 'fas fa-list',
                'permissions' => ["order-set-status",'order-list',],
                'active' => true,
            ]
        ]
    ],
    [
        'title' => 'Sales',
        'as' => 'Sales',
        'to' => 'admin.sales.index',
        'icon' => 'fa fa-line-chart',
        'permissions' => ["order-list"],
        'active' => true,
    ],
    [
        'title' => 'Users',
        'as' => 'User',
        'to' => 'admin.users.index',
        'icon' => 'fas fa-users',
        'permissions' => ['user-list',"user-create","user-show","user-update","user-delete"],
        'active' => true,
    ],

    [
        'title' => 'Customers',
        'as' => 'Customer',
        'to' => 'admin.customers.index',
        'icon' => 'fas fa-id-card-alt',
        'permissions' => ['customer-list',"customer-create","customer-show","customer-update","customer-delete"],
        'active' => true,
    ],
    [
        'title' => 'Categories',
        'as' => 'Category',
        'to' => 'admin.categories.index',
        'icon' => 'fas fa-bars',
        'permissions' => ['category-list',"category-create","category-show","category-update","category-delete"],
        'active' => true,
    ],
    [
        'title' => 'Products',
        'as' => 'Product',
        'to' => 'admin.products.index',
       // 'icon' => 'fas fa-tshirt',
        'icon' => 'fas fa-suitcase',
        'permissions' => ['product-list',"product-create","product-show","product-update","product-delete"],
        'active' => true,
    ],
    [
        'title' => 'Product Reviews',
        'as' => 'Review',
        'to' => 'admin.reviews.index',
        'icon' => 'fas fa-comment',
        'permissions' => ['review-list',"review-create","review-show","review-update","review-delete"],
        'active' => true,
    ],
    [
        'title' => 'Tags',
        'as' => 'Tag',
        'to' => 'admin.tags.index',
        'icon' => 'fas fa-tags',
        'permissions' => ['tag-list',"tag-create","tag-show","tag-update","tag-delete"],
        'active' => true,
    ],
    [
        'title' => 'Billing Desks',
        'as' => 'Billing Desks',
        'to' => 'admin.billing-desks.index',
        'icon' => 'fas fa-cash-register',
        'permissions' => ['pos-list',"pos-create","tag-show","pos-update","pos-delete"],
        'active' => true,
    ],

    [
        'title' => 'Stocks',
        'as' => 'Stock',
        'to' => 'admin.stocks.index',
        'icon' => 'fas fa-inbox',
        'permissions' => [
            "st-stock-create","st-stock-update","st-stock-delete","st-stock-show","st-stock-list",
            "st-request-create","st-request-update","st-request-delete","st-request-show","st-request-list","st-request-set-status",
            "st-importations-create","st-importations-update","st-importations-delete","st-importations-show","st-importations-list",
            "st-adjustment-create","st-adjustment-show","st-adjustment-list",
            "st-warehouse-create","st-warehouse-update","st-warehouse-delete","st-warehouse-show","st-warehouse-list",
        ],
        'active' => true,
        "sub-menus" => [
            [
                'title' => 'Manage',
                'as' => 'Stock',
                'to' => 'admin.stocks.index',
                'icon' => 'fas fa-inbox',
                'permissions' => [
                    "st-stock-create","st-stock-update","st-stock-delete","st-stock-show","st-stock-list",
                    "st-request-create","st-request-update","st-request-delete","st-request-show","st-request-list","st-request-set-status",
                    "st-importations-create","st-importations-update","st-importations-delete","st-importations-show","st-importations-list",
                    "st-adjustment-create","st-adjustment-show","st-adjustment-list",
                ],
                'active' => true,
            ],
            [
                'title' => 'Warehouses',
                'as' => 'Warehouses',
                'to' => 'admin.stocks.warehouses.index',
                'icon' => 'fas fa-pallet',
                'permissions' => ["st-warehouse-create","st-warehouse-update","st-warehouse-delete","st-warehouse-show","st-warehouse-list"],
                'active' => true,
            ]
        ]
    ],
    [
        'title' => 'Coupons',
        'as' => 'Coupon',
        'to' => 'admin.coupons.index',
        'icon' => 'fas fa-gift',
        'permissions' => ['coupon-list',"coupon-create","coupon-show","coupon-update","coupon-delete"],
        'active' => true,
    ],
    [
        'title' => 'Countries',
        'as' => 'Country',
        'to' => 'admin.countries.index',
        'icon' => 'far fa-flag',
        'permissions' => ['country-list',"country-create","country-show","country-update","country-delete"],
        'active' => true,
    ],
    [
        'title' => 'States',
        'as' => 'State',
        'to' => 'admin.states.index',
        'icon' => 'fas fa-map-marker-alt',
        'permissions' => ['state-list',"state-create","state-show","state-update","state-delete"],
        'active' => true,
    ],
    [
        'title' => 'Cities',
        'as' => 'City',
        'to' => 'admin.cities.index',
        'icon' => 'fas fa-city',
        'permissions' => ['city-list',"city-create","city-show","city-update","city-delete"],
        'active' => true,
    ],

    [
        'title' => 'Adresses',
        'as' => 'Address',
        'to' => 'admin.user_addresses.index',
        'icon' => 'fas fa-address-book',
        'permissions' => ['user-address-list',"user-address-create","user-address-show","user-address-update","user-address-delete"],
        'active' => true,
    ],
    [
        'title' => 'Shipping Companies',
        'as' => 'Shipping',
        'to' => 'admin.shipping_companies.index',
        'icon' => 'fas fa-shipping-fast',
        'permissions' => ['shipping-company-list',"shipping-company-create","shipping-company-show","shipping-company-update","shipping-company-delete"],
        'active' => true,
    ],

    [
        'title' => 'Payments',
        'as' => 'Payments',
        'to' => 'admin.payments.index',
        'icon' => 'fas fa-money-check-alt',
        'permissions' => [
            'payment-list',"payment-create","payment-show","payment-update","payment-delete",
            'payment-method-list',"payment-method-create",
            "payment-method-show","payment-method-update","payment-method-delete"
        ],
        'active' => true,
        "sub-menus" => [
            [
                'title' => 'Manage',
                'as' => 'Payment_Manage',
                'to' => 'admin.payments.index',
                'icon' => 'fas fa-money-check-alt',
                'permissions' => [
                    'payment-list',"payment-create","payment-show","payment-update","payment-delete"
                ],
                'active' => true,
            ],
            [
                'title' => 'Payments Method',
                'as' => 'Payment_Method',
                'to' => 'admin.payment_methods.index',
                'icon' => 'fas fa-table',
                'permissions' => [
                    'payment-method-list',"payment-method-create",
                    "payment-method-show","payment-method-update","payment-method-delete"
                ],
                'active' => true,
            ],
        ]
    ],
    [
        'title' => 'Contacts',
        'as' => 'Contact',
        'to' => 'admin.contacts.index',
        'icon' => 'far fa-comment',
        'permissions' => ['contact-list',"contact-create","contact-show","contact-update","contact-delete"],
        'active' => true,
    ],
    [
        'title' => 'Pages',
        'as' => 'Page',
        'to' => 'admin.pages.index',
        'icon' => 'far fa-file',
        'permissions' => ['page-list',"page-create","page-show","page-update","page-delete"],
        'active' => false,
    ],
    [
        'title' => 'Roles',
        'as' => 'Role',
        'to' => 'admin.roles.index',
        'icon' => 'far fa-id-badge',
        'permissions' => ['role-list',"role-create","role-show","role-update","role-delete"],
        'active' => true,
    ],

];
