Hi there, I've been developing a system using ruby but i'm still new with this language. I want to display a sales report for each month. Means that, user can select the start date and end date that they want to view. Then they will see the list of sales based on month. I've been doing this part for about 2 weeks but still can't finish it. Anybody that can help me with this? Thanks in advance....
What part is giving you trouble? There are several things you have to do:
-
Create a way for the user to specify the date range
-
Do a find with conditions
-
Summarize that array
-
Present it