EcumenicalHungerProgram / FoodBank

A Salesforce application suitable for running a food bank
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Report 4: Create Demographics Report #17

Open dhanasuresh opened 10 years ago

cmumford commented 10 years ago

Is maybe 3/4 complete with the commit of abef260. Still need to:

  1. Calculate percentages.
  2. Integrate a way to specify the date range.
rmsu commented 10 years ago

I think for option 2, since we're using visualforce, I was going to just have two URL params, then use ApexPages.currentPage().getParameters().get('start_date') where start_date is some int that turns into a salesforce date, and the same for end_date.

Does that sound reasonable?

cmumford commented 10 years ago

Yes, I agree on the two parameters. Also, it's currently written as an Apex page, but maybe we want to make it a component. I think we'll want a second page to support printing, and don't want to duplicate that code, nor do I want date controls to show up in the printed report.

rmsu commented 9 years ago

Two things need to be fixed for this report: 1) Divide by 0 error occurs if there are no matching families 2) Fix formatting.