How to display sales report for each month

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…

On Sep 16, 2007, at 9:26 PM, Joen wrote:

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?

What part is giving you trouble? There are several things you have to
do:

  1. Create a way for the user to specify the date range
  2. Do a find with conditions
  3. Summarize that array
  4. Present it

you might also want to use some graphs for presentation…

http://nubyonrails.com/pages/gruff

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs