Creating a Custom Page that fetch data from another resource
I wanted to make a Sales Page that displays a simple sales tracker like Latest Sales, Total Sales, Total All Product Sales and more . I Planned it will be something like this:
- The data will be fetch from the TradingProfiles as inside the TradingProfile model there are a column of Customer Details , Product and Price
- The Product in TradingProfiles just keep integer value where it refers to Product Model for the value description like 0 = product0
- I would like it to display the table for each sales in each product , i dont think we will have any edit action for each row probably just view button to view more details of the product etc etc
- I will also add some widgets to track up certain general value such as Total All Product Sales etc etc
