DashboardController
extends AbstractController
in package
Dashboard controller (home page of the web application).
Aggregates, for the point of sale of the authenticated user, the main indicators: sales, customers, products, suppliers, purchase orders and revenue per period.
Attributes
- #[IsGranted]
- 'IS_AUTHENTICATED_FULLY'
Table of Contents
Methods
- dashboard() : Response
- This method is used to render the dashboard page with various statistics and information
Methods
dashboard()
This method is used to render the dashboard page with various statistics and information
public
dashboard(EntityManagerInterface $entityManager) : Response
Parameters
- $entityManager : EntityManagerInterface
Attributes
- #[IsGranted]
- 'IS_AUTHENTICATED'
- #[Route]
- '/'
- $name: 'dashboard'