> For the complete documentation index, see [llms.txt](https://delever.gitbook.io/delever/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://delever.gitbook.io/delever/user-guide/admin-panel-1/beta-versiya-v2/admin-dashboard-architecture.md).

# Admin Dashboard Architecture

This document mirrors the Delever Admin SPA's route navigation. Sidebar items and contextual routes are listed separately; their availability depends on the current user's permissions, enabled modules, and business type.

### 1. Dashboard

* 1.1 Dashboard — Open the embedded DataLens/Metabase workspace at `/home/dashboard/datalens`.
* 1.2 Forecasting — View product forecasts at `/home/dashboard/forecasting`.
* 1.3 Order Reports — Open the order-report group at `/home/dashboard/order-reports/all_report`.
  * 1.3.1 All Reports — View the combined order report.
  * 1.3.2 Aggregator Report — View the general aggregator report.
  * 1.3.3 Daily Report — View daily order performance.
  * 1.3.4 Product Report — Analyze orders by product.
  * 1.3.5 Order Report — Analyze order-level data.
  * 1.3.6 External Delivery Report — Analyze external-delivery orders.
  * 1.3.7 Delayed Orders — Review delayed orders.
* 1.4 Personal Reports — Open personnel reporting at `/home/dashboard/personal-reports/operator_report`.
  * 1.4.1 Operator Report — Review operator performance.
  * 1.4.2 Branch Report — Review branch performance.
  * 1.4.3 Courier Report — Review courier performance.
* 1.5 Marketing Reports — Open marketing reporting at `/home/dashboard/marketing-reports/comment_report`.
  * 1.5.1 Comment Report — Review comment activity.
  * 1.5.2 Promocode Report — Review promotion-code activity.
  * 1.5.3 Customer Report — Review customer activity.
* 1.6 Call Reports — Review call-center activity at `/home/dashboard/call-reports`.

### 2. Orders

* 2.1 Orders — List and manage orders at `/home/orders`.
* 2.2 Create Order — Create a new order at `/home/orders/create`.
* 2.3 Edit Order — Update an existing order at `/home/orders/:id`.
* 2.4 Repeat Order — Recreate an existing order at `/home/orders/repeat/:id`.
* 2.5 Track Couriers — Locate active couriers at `/home/track-courier`.
* 2.6 Send Invoice — Send an order invoice at `/home/send-invoice`.

### 3. Clients

* 3.1 Clients — List and maintain customer records at `/home/clients`.

### 4. Catalog

* 4.1 Categories — Organize products into categories at `/home/catalog/category`.
* 4.2 Products — Create and maintain sellable goods at `/home/catalog/goods`.
* 4.3 Menus — Assemble menu configurations at `/home/catalog/menu`.
* 4.4 Tags — Classify catalog items at `/home/catalog/tags`.
* 4.5 Ingredients — Maintain ingredient records at `/home/catalog/ingredients`.

### 5. Marketing

* 5.1 Discounts — Configure discounts at `/home/marketing/discounts`.
* 5.2 Notifications & Newsletter — Publish Telegram and notification messages from `/home/marketing/messages/telegram-post`.
* 5.3 Referral URLs — Manage referrals at `/home/marketing/referal-urls`.
* 5.4 Triggers — Configure SMS triggers from `/home/marketing/triggers/sms-template`.
* 5.5 Loyalty Program — Manage loyalty settings at `/home/marketing/loyalty`.
* 5.6 Review Management — Manage marketing reviews at `/home/marketing/reviews`.

### 6. Content

* 6.1 Stocks — Publish promotional stock content at `/home/content/stocks`.
* 6.2 Popups — Manage popup content at `/home/content/popup`.
* 6.3 Banners — Manage banners at `/home/content/banners`.
* 6.4 News — Publish news at `/home/content/news`.
* 6.5 Careers — Manage vacancies at `/home/content/vacancies`.
* 6.6 Recipes — Publish recipes at `/home/content/recipes`.
* 6.7 Events — Manage gallery and event content at `/home/content/gallery`.
* 6.8 Stories — Publish stories at `/home/content/stories`.
* 6.9 Tenders — Manage tender content at `/home/content/tenders`.
* 6.10 Reviews — Manage site reviews at `/home/content/reviews`.
* 6.11 Completion Reasons — Maintain order-completion reasons at `/home/content/completion-reasons`.
* 6.12 Cancellation Reasons — Maintain order-cancellation reasons at `/home/content/cancel-reasons`.

### 7. Couriers

* 7.1 Couriers — Manage courier records at `/home/couriers/list`.
* 7.2 Courier Attendance — Review attendance at `/home/couriers/courier-attendance`.

### 8. Kitchen

* 8.1 Kitchen Orders — Manage kitchen orders at `/home/kitchen/order`.
* 8.2 Buffer — Manage buffered kitchen orders at `/home/kitchen/buffer`.
* 8.3 VDU — Operate the visual display unit at `/home/kitchen/vdu`.
* 8.4 Product Sales — Review product sales at `/home/kitchen/product-sales`.
* 8.5 Distribution — Manage distribution at `/home/kitchen/distribution`.
* 8.6 Order Pickup — Manage order pickup at `/home/kitchen/order-pickup`.
* 8.7 Stop List — Manage unavailable products at `/home/kitchen/stop-list`.

### 9. Settings

* 9.1 Company — Configure company and branch settings at `/home/settings/company`.
* 9.2 Orders — Configure order settings from `/home/settings/orders/basic-settings`.
* 9.3 Delivery — Configure delivery settings from `/home/settings/delivery/fares`.
* 9.4 Geozones — Configure delivery zones from `/home/settings/geozones/delivery-zones`.
* 9.5 Catalog — Configure catalog settings from `/home/settings/catalog/basic-settings`.
* 9.6 Integrations — Configure connected services at `/home/settings/integrations`.
* 9.7 Users & Roles — Manage users and roles at `/home/settings/users/operator`.
* 9.8 Balance — Review balance settings at `/home/settings/balance`.
* 9.9 Change History — Audit changes at `/home/settings/change-history`.
* 9.10 Partners — Configure aggregator partners at `/home/settings/aggregator` when enabled.

### 10. Contextual Routes

These routes are registered but are not primary sidebar sections.

* 10.1 Deliveries — Manage delivery records at `/home/deliveries`; this is the default route for courier-service business types.
* 10.2 Reservations — Manage reservations at `/home/reservations`; this is reached from the order workflow.
* 10.3 KDS — Use dedicated kitchen-display-system routes under `/home/kds`.
* 10.4 Profile — Manage the signed-in account at `/home/account`.
* 10.5 Call — Start a call at `/home/calls/new`.
* 10.6 Telephony — Access telephony calls at `/home/telephony/calls`; the softphone is available from the sidebar.

### Access and Navigation

* Sidebar sections are shown only when the user has the associated `get` permission.
* Module locks and business-type rules can further restrict access even when a route exists.
