DE
Asked
How to display Total Sales - Total Purchase - Total Expense - Profit/Loss on Dashboard as soon as we log into the system??
Something similar to Report section. see attached image here https://eastceylon.com/images/2021/04/14/Opera-Instantane_2021-04-14_155208_spos.tecdiary.net.png
- DEAnswered
I tried copying the code from themes/default/views/reports/daily.php and themes/default/views/reports/monthly.php files to themes/default/views/dashboard.php but it shows 0 as result.
- MSAnswered
Hello,
You will need to modify the controller ‘app/controllers/Welcome.php’ method ‘index’ to get data and pass to view then display it.
Thank you
- Login to Reply