(Please do not create feature branch and do not make any commits for this task)
You have to create a static dashboard template for the manager.
(Note that everything about dashboard will be implemented in the panel app)
This means:
create a template named dashboard_manager.html
set up a place where the manager can see these charts:
amount of sales by price (line graph)
count of each foods items sold (bar chart)
count of orders (line graph)
count of sales in each category (pie chart)
(read about charts here: https://www.w3schools.com/ai/ai_chartjs.asp)
(also a sample file will be sent to you to let you see to use them)
Also as this template will be used for day,week,month,total we have to have 4 different sections in this template and only the one that user chose has to be shown to them (look at the second file sent to you as a demonstration)
NOTE: this should look like our own template.
NOTE: as mentioned, this is static, so you have to give a sample data to the charts by yourself. Making this dynamic and able to get data from the view will be configured later on
(Please do not create feature branch and do not make any commits for this task)
You have to create a static dashboard template for the manager.
(Note that everything about dashboard will be implemented in the
panel
app)This means:
dashboard_manager.html
Also as this template will be used for day,week,month,total we have to have 4 different sections in this template and only the one that user chose has to be shown to them (look at the second file sent to you as a demonstration)
NOTE: this should look like our own template.
NOTE: as mentioned, this is static, so you have to give a sample data to the charts by yourself. Making this dynamic and able to get data from the view will be configured later on