How saudexgpt/daylizstores-new works
Laravue is a Laravel/Vue enterprise management application with a customer storefront and an administrative dashboard. A principal customer workflow is browsing products, submitting an order, and having inventory reserved; the backend also supports stock receiving and FIFO costing, accounting, reporting, and user/role administration. The graph combines sampled controller/service relationships with documented product scope. Several frontend-to-backend links are dashed because the relevant HTTP wiring was not excerpted.
Main entry points: OrdersController.php Order handling · ReceiptsController.php Stock receiving · TransactionsController.php Transactions · UserController.php User administration
Components 23
Storefront and orders
- Storefront
resources/js/pages/index.vue - Checkout
resources/js/pages/CheckOut.vue - Order screens
resources/js/app/order/Create.vue - Order handling
app/Http/Controllers/Order/OrdersController.php - Order records
app/Models/Order/Order.php
Catalog and inventory
- Catalog screens
resources/js/app/stock/item/ManageItem.vue - Catalog management
app/Http/Controllers/Stock/ItemsController.php - Products and stock
app/Models/Stock/Item.php - Stock receiving
app/Http/Controllers/Costing/ReceiptsController.php - FIFO costing
app/Services/Costing/Costing.php
Finance and reporting
- Accounting screens
resources/js/app/accounting/Overview.vue - Transactions
app/Http/Controllers/Accounting/TransactionsController.php - Ledger service
app/Services/Accounting/Ledger.php - Accounts
app/Models/Accounting/Account.php - Report centre
resources/js/app/reports/ReportCentre.vue - Report generation
app/Http/Controllers/Reports/ReportCenterController.php - Report definitions
app/Services/Reports/ReportRegistry.php
Administration and identity
- Admin dashboard
resources/js/app/dashboard/admin/index.vue - User administration
app/Http/Controllers/UserController.php - Users and roles
app/Laravue/Models/User.php - Access control
app/Laravue/Acl.php
Other components
- Shopper
- Staff user
Connections 25
- Shopper → Storefront: browses
README.md - Storefront → Checkout: opens checkout
- Checkout → Order handling: submits order
- Staff user → Order screens: manages orders
- Order screens → Order handling: requests changes
- Order handling → Order records: reads and writes
app/Http/Controllers/Order/OrdersController.php - Order handling → FIFO costing: requests costing
app/Http/Controllers/Order/OrdersController.php - Staff user → Catalog screens: maintains catalog
- Catalog screens → Catalog management: requests updates
- Catalog management → Products and stock: reads and writes
app/Http/Controllers/Stock/ItemsController.php - Staff user → Stock receiving: records receipts
- Stock receiving → FIFO costing: records stock receipt
app/Http/Controllers/Costing/ReceiptsController.php - Stock receiving → Products and stock: updates stock
app/Http/Controllers/Costing/ReceiptsController.php - FIFO costing → Ledger service: posts entries
app/Services/Costing/Costing.php - Staff user → Accounting screens: uses accounting
- Accounting screens → Transactions: requests transactions
- Transactions → Ledger service: posts transactions
app/Http/Controllers/Accounting/TransactionsController.php - Transactions → Accounts: reads accounts
app/Http/Controllers/Accounting/TransactionsController.php - Staff user → Report centre: runs reports
- Report centre → Report generation: requests report
- Report generation → Report definitions: resolves definitions
app/Http/Controllers/Reports/ReportCenterController.php - Staff user → Admin dashboard: views dashboard
- Staff user → User administration: manages access
- User administration → Users and roles: reads and updates
app/Http/Controllers/UserController.php - User administration → Access control: checks permissions
app/Http/Controllers/UserController.php