sarga/packages/Webkul/Admin/src/Config/menu.php

245 lines
8.7 KiB
PHP
Raw Normal View History

<?php
return [
[
2020-02-19 11:39:17 +00:00
'key' => 'dashboard',
'name' => 'admin::app.layouts.dashboard',
'route' => 'admin.dashboard.index',
'sort' => 1,
2020-03-04 06:32:53 +00:00
'icon-class' => 'dashboard-icon',
], [
2020-02-19 11:39:17 +00:00
'key' => 'sales',
'name' => 'admin::app.layouts.sales',
'route' => 'admin.sales.orders.index',
'sort' => 2,
2020-03-04 06:32:53 +00:00
'icon-class' => 'sales-icon',
], [
2020-02-19 11:39:17 +00:00
'key' => 'sales.orders',
'name' => 'admin::app.layouts.orders',
'route' => 'admin.sales.orders.index',
'sort' => 1,
2020-03-04 06:32:53 +00:00
'icon-class' => '',
], [
2020-02-19 11:39:17 +00:00
'key' => 'sales.shipments',
'name' => 'admin::app.layouts.shipments',
'route' => 'admin.sales.shipments.index',
'sort' => 2,
2020-03-04 06:32:53 +00:00
'icon-class' => '',
], [
2020-02-19 11:39:17 +00:00
'key' => 'sales.invoices',
'name' => 'admin::app.layouts.invoices',
'route' => 'admin.sales.invoices.index',
'sort' => 3,
2020-03-04 06:32:53 +00:00
'icon-class' => '',
2019-09-18 13:27:40 +00:00
], [
2020-02-19 11:39:17 +00:00
'key' => 'sales.refunds',
'name' => 'admin::app.layouts.refunds',
'route' => 'admin.sales.refunds.index',
'sort' => 4,
2020-03-04 06:32:53 +00:00
'icon-class' => '',
2019-09-18 13:27:40 +00:00
], [
2020-02-19 11:39:17 +00:00
'key' => 'catalog',
'name' => 'admin::app.layouts.catalog',
'route' => 'admin.catalog.products.index',
'sort' => 3,
2020-03-04 06:32:53 +00:00
'icon-class' => 'catalog-icon',
], [
2020-02-19 11:39:17 +00:00
'key' => 'catalog.products',
'name' => 'admin::app.layouts.products',
'route' => 'admin.catalog.products.index',
'sort' => 1,
2020-03-04 06:32:53 +00:00
'icon-class' => '',
], [
2020-02-19 11:39:17 +00:00
'key' => 'catalog.categories',
'name' => 'admin::app.layouts.categories',
'route' => 'admin.catalog.categories.index',
2020-06-15 02:29:00 +00:00
'sort' => 2,
2020-03-04 06:32:53 +00:00
'icon-class' => '',
], [
2020-02-19 11:39:17 +00:00
'key' => 'catalog.attributes',
'name' => 'admin::app.layouts.attributes',
'route' => 'admin.catalog.attributes.index',
2020-06-15 02:29:00 +00:00
'sort' => 3,
2020-03-04 06:32:53 +00:00
'icon-class' => '',
], [
2020-02-19 11:39:17 +00:00
'key' => 'catalog.families',
'name' => 'admin::app.layouts.attribute-families',
'route' => 'admin.catalog.families.index',
'sort' => 4,
2020-03-04 06:32:53 +00:00
'icon-class' => '',
], [
2020-02-19 11:39:17 +00:00
'key' => 'customers',
'name' => 'admin::app.layouts.customers',
'route' => 'admin.customer.index',
'sort' => 4,
2020-03-04 06:32:53 +00:00
'icon-class' => 'customer-icon',
], [
2020-02-19 11:39:17 +00:00
'key' => 'customers.customers',
'name' => 'admin::app.layouts.customers',
'route' => 'admin.customer.index',
'sort' => 1,
2020-03-04 06:32:53 +00:00
'icon-class' => '',
], [
2020-02-19 11:39:17 +00:00
'key' => 'customers.groups',
'name' => 'admin::app.layouts.groups',
'route' => 'admin.groups.index',
'sort' => 2,
2020-03-04 06:32:53 +00:00
'icon-class' => '',
], [
2020-02-19 11:39:17 +00:00
'key' => 'customers.reviews',
'name' => 'admin::app.layouts.reviews',
'route' => 'admin.customer.review.index',
'sort' => 3,
2020-03-04 06:32:53 +00:00
'icon-class' => '',
], [
2020-02-19 11:39:17 +00:00
'key' => 'configuration',
'name' => 'admin::app.layouts.configure',
'route' => 'admin.configuration.index',
'sort' => 7,
2020-03-04 06:32:53 +00:00
'icon-class' => 'configuration-icon',
], [
2020-02-19 11:39:17 +00:00
'key' => 'settings',
'name' => 'admin::app.layouts.settings',
'route' => 'admin.locales.index',
'sort' => 6,
2020-03-04 06:32:53 +00:00
'icon-class' => 'settings-icon',
], [
2020-02-19 11:39:17 +00:00
'key' => 'settings.locales',
'name' => 'admin::app.layouts.locales',
'route' => 'admin.locales.index',
'sort' => 1,
2020-03-04 06:32:53 +00:00
'icon-class' => '',
], [
2020-02-19 11:39:17 +00:00
'key' => 'settings.currencies',
'name' => 'admin::app.layouts.currencies',
'route' => 'admin.currencies.index',
'sort' => 2,
2020-03-04 06:32:53 +00:00
'icon-class' => '',
], [
2020-02-19 11:39:17 +00:00
'key' => 'settings.exchange_rates',
'name' => 'admin::app.layouts.exchange-rates',
'route' => 'admin.exchange_rates.index',
'sort' => 3,
2020-03-04 06:32:53 +00:00
'icon-class' => '',
], [
2020-02-19 11:39:17 +00:00
'key' => 'settings.inventory_sources',
'name' => 'admin::app.layouts.inventory-sources',
'route' => 'admin.inventory_sources.index',
'sort' => 4,
2020-03-04 06:32:53 +00:00
'icon-class' => '',
], [
2020-02-19 11:39:17 +00:00
'key' => 'settings.channels',
'name' => 'admin::app.layouts.channels',
'route' => 'admin.channels.index',
'sort' => 5,
2020-03-04 06:32:53 +00:00
'icon-class' => '',
], [
2020-02-19 11:39:17 +00:00
'key' => 'settings.users',
'name' => 'admin::app.layouts.users',
'route' => 'admin.users.index',
'sort' => 6,
2020-03-04 06:32:53 +00:00
'icon-class' => '',
], [
2020-02-19 11:39:17 +00:00
'key' => 'settings.users.users',
'name' => 'admin::app.layouts.users',
'route' => 'admin.users.index',
'sort' => 1,
2020-03-04 06:32:53 +00:00
'icon-class' => '',
], [
2020-02-19 11:39:17 +00:00
'key' => 'settings.users.roles',
'name' => 'admin::app.layouts.roles',
'route' => 'admin.roles.index',
'sort' => 2,
2020-03-04 06:32:53 +00:00
'icon-class' => '',
], [
2020-02-19 11:39:17 +00:00
'key' => 'settings.sliders',
'name' => 'admin::app.layouts.sliders',
'route' => 'admin.sliders.index',
'sort' => 7,
2020-03-04 06:32:53 +00:00
'icon-class' => '',
], [
2020-02-19 11:39:17 +00:00
'key' => 'settings.taxes',
'name' => 'admin::app.layouts.taxes',
'route' => 'admin.tax-categories.index',
'sort' => 8,
2020-03-04 06:32:53 +00:00
'icon-class' => '',
], [
2020-02-19 11:39:17 +00:00
'key' => 'settings.taxes.tax-categories',
'name' => 'admin::app.layouts.tax-categories',
'route' => 'admin.tax-categories.index',
'sort' => 1,
2020-03-04 06:32:53 +00:00
'icon-class' => '',
], [
2020-02-19 11:39:17 +00:00
'key' => 'settings.taxes.tax-rates',
'name' => 'admin::app.layouts.tax-rates',
'route' => 'admin.tax-rates.index',
'sort' => 2,
2020-03-04 06:32:53 +00:00
'icon-class' => '',
Cart rule inside promotions, various improvements and fixes. (#964) * Some syntax issue fixes * Adding discount things inside promotions in admin * routes updated for creating discount rules * fixed customer profile redirect parameter issue * added cart and catalog rule routes to admin section * migrations for discount almost to be finished, final revision left * migrations for discounts complete * catalog rule form underway * catalog rule * Made some dynamic form fields in catalog rule create form * made some changes for custom validations used in ProductForm request class * working on prepopulating the values fields in conditions * need another revisit on discount rules tables and then prepare for actions * removed discounts table * catalog rule form changed to muliti attribute set for single condition * new icons added for promotion and customer note. new action for customer added to take notes on the customers * catalog and cart rule designs stable, now moving towards validations on client side and backend * catalog rules migrations added * catalog rule models added with contracts and proxies * fixed customer group bug in customer registration controller * fixed customer registration bug due to last fix * fixed product card image not found issue * catalog rule translations added * Added migrations for cart rules and catalog rule products their contracts and remaining necessary files related to them. * making cart attributes for cart rules * Added more fields for cart rules * working on conditions for cart rule form * minor changes in migrations related to price rules * currency and locale switcher now only available for a channel on storefront when more than on locale and currency are assigned to that channel * part of conditions on the cart rule form added * daily sync * cart rate migrations updated * Added select and multi select attributes options fetching with ajax on catalog rule form * changed some migrations and data being populated at runtime inside catalog rule form * catalog rule create complete, migrations changes, translations added * catalog rule edit form complete * catalog rule form complete, now moving towards catalog rule products * added delete functionality for catalog rules * added cart rule preferences for coupon codes * cart rule submission problem due to repository issue * Cart rule form and migrations complete * Models and Repositories updated for cart rule usage * base sync with master * designing process to get suitable discount rules * cart rule form completed * added helpers in cart and discount to apply rules on cart at checkout or not * cart rule coupon implementation in progress for discount coupon in shop checkout pages * cart rules working * added coupon box on checkout screen * removed the conditions empty bug * Nearing to completion of coupon based rules * made some changes in cart rule coupon application on checkout related to new designs * some bug fixes * calculation for automatic cart rules complete * non couponable cart rules implemented, now moving on to binding them on frontend * some conditions improvements in couponable cart rules * some bug fixes * removed some bugs from summary blade for cart rule * added the table for cart rule cart for managing rules with cart and removed various bug fixes * some bug fixes * Removed bugs and added coupon based cart rule removal functionality * some bug fixes * cart rule labels refactoring in midway * Cart rule labels bug fixed * removed margin classes from shop to UI * Refactoring cart rule on front end * added checks * Discount rule implemented. * cart rule bug fixes * provision to remove the couponable and non couponable rule had been added * Cart rule frontend work done * altered some frontend variables on onepage checkout * Altered cart rules to some extent
2019-06-10 07:49:05 +00:00
], [
2021-01-04 16:10:56 +00:00
'key' => 'marketing',
'name' => 'admin::app.layouts.marketing',
2020-02-19 11:39:17 +00:00
'route' => 'admin.catalog-rules.index',
'sort' => 5,
2020-03-04 06:32:53 +00:00
'icon-class' => 'promotion-icon',
Cart rule inside promotions, various improvements and fixes. (#964) * Some syntax issue fixes * Adding discount things inside promotions in admin * routes updated for creating discount rules * fixed customer profile redirect parameter issue * added cart and catalog rule routes to admin section * migrations for discount almost to be finished, final revision left * migrations for discounts complete * catalog rule form underway * catalog rule * Made some dynamic form fields in catalog rule create form * made some changes for custom validations used in ProductForm request class * working on prepopulating the values fields in conditions * need another revisit on discount rules tables and then prepare for actions * removed discounts table * catalog rule form changed to muliti attribute set for single condition * new icons added for promotion and customer note. new action for customer added to take notes on the customers * catalog and cart rule designs stable, now moving towards validations on client side and backend * catalog rules migrations added * catalog rule models added with contracts and proxies * fixed customer group bug in customer registration controller * fixed customer registration bug due to last fix * fixed product card image not found issue * catalog rule translations added * Added migrations for cart rules and catalog rule products their contracts and remaining necessary files related to them. * making cart attributes for cart rules * Added more fields for cart rules * working on conditions for cart rule form * minor changes in migrations related to price rules * currency and locale switcher now only available for a channel on storefront when more than on locale and currency are assigned to that channel * part of conditions on the cart rule form added * daily sync * cart rate migrations updated * Added select and multi select attributes options fetching with ajax on catalog rule form * changed some migrations and data being populated at runtime inside catalog rule form * catalog rule create complete, migrations changes, translations added * catalog rule edit form complete * catalog rule form complete, now moving towards catalog rule products * added delete functionality for catalog rules * added cart rule preferences for coupon codes * cart rule submission problem due to repository issue * Cart rule form and migrations complete * Models and Repositories updated for cart rule usage * base sync with master * designing process to get suitable discount rules * cart rule form completed * added helpers in cart and discount to apply rules on cart at checkout or not * cart rule coupon implementation in progress for discount coupon in shop checkout pages * cart rules working * added coupon box on checkout screen * removed the conditions empty bug * Nearing to completion of coupon based rules * made some changes in cart rule coupon application on checkout related to new designs * some bug fixes * calculation for automatic cart rules complete * non couponable cart rules implemented, now moving on to binding them on frontend * some conditions improvements in couponable cart rules * some bug fixes * removed some bugs from summary blade for cart rule * added the table for cart rule cart for managing rules with cart and removed various bug fixes * some bug fixes * Removed bugs and added coupon based cart rule removal functionality * some bug fixes * cart rule labels refactoring in midway * Cart rule labels bug fixed * removed margin classes from shop to UI * Refactoring cart rule on front end * added checks * Discount rule implemented. * cart rule bug fixes * provision to remove the couponable and non couponable rule had been added * Cart rule frontend work done * altered some frontend variables on onepage checkout * Altered cart rules to some extent
2019-06-10 07:49:05 +00:00
], [
2021-01-04 16:10:56 +00:00
'key' => 'marketing.promotions',
'name' => 'admin::app.layouts.promotions',
'route' => 'admin.catalog-rules.index',
'sort' => 1,
'icon-class' => '',
], [
'key' => 'marketing.promotions.catalog-rules',
2020-02-19 11:39:17 +00:00
'name' => 'admin::app.promotions.catalog-rules.title',
'route' => 'admin.catalog-rules.index',
'sort' => 1,
2020-03-04 06:32:53 +00:00
'icon-class' => '',
], [
2021-01-04 16:10:56 +00:00
'key' => 'marketing.promotions.cart-rules',
2020-02-19 11:39:17 +00:00
'name' => 'admin::app.promotions.cart-rules.title',
'route' => 'admin.cart-rules.index',
'sort' => 2,
2020-03-04 06:32:53 +00:00
'icon-class' => '',
2021-01-04 16:10:56 +00:00
], [
'key' => 'marketing.email-marketing',
'name' => 'admin::app.layouts.email-marketing',
'route' => 'admin.email-templates.index',
'sort' => 2,
'icon-class' => '',
], [
'key' => 'marketing.email-marketing.email-templates',
'name' => 'admin::app.layouts.email-templates',
'route' => 'admin.email-templates.index',
'sort' => 1,
'icon-class' => '',
], [
'key' => 'marketing.email-marketing.events',
'name' => 'admin::app.layouts.events',
'route' => 'admin.events.index',
'sort' => 2,
'icon-class' => '',
], [
'key' => 'marketing.email-marketing.campaigns',
'name' => 'admin::app.layouts.campaigns',
'route' => 'admin.campaigns.index',
'sort' => 2,
'icon-class' => '',
], [
'key' => 'marketing.email-marketing.subscribers',
'name' => 'admin::app.layouts.newsletter-subscriptions',
'route' => 'admin.customers.subscribers.index',
'sort' => 3,
'icon-class' => '',
], [
2020-02-19 11:39:17 +00:00
'key' => 'cms',
'name' => 'admin::app.layouts.cms',
'route' => 'admin.cms.index',
'sort' => 5,
2020-03-04 06:32:53 +00:00
'icon-class' => 'cms-icon',
], [
2020-02-19 11:39:17 +00:00
'key' => 'cms.pages',
'name' => 'admin::app.cms.pages.pages',
'route' => 'admin.cms.index',
'sort' => 1,
2020-03-04 06:32:53 +00:00
'icon-class' => '',
]
2018-12-20 11:08:47 +00:00
];