2 replies [Last post]
jrust's picture
Offline
Joined: 12/19/2007
Juice: 121
Was this information Helpful?

My customer needs the sales report (i.e. /admin/store/reports/sales/year) to contain both the Total revenue and the Total revenue minus shipping+tax (i.e. Gross and Net revenue).

My question is if others have done this or discussed it, and if not, is this of interest to the Ubercart team? I don't want to hack core unless there's a possibility of it being committed. Otherwise I'll use hook_menu_alter() and just override the page.

kfish's picture
Offline
Joined: 06/30/2009
Juice: 23
Re: How Best to Customize Sales Report?

I'm surprised this doesn't exist. Good accounting means you need to be able to separate each piece. Has anyone found a way for someone without any coding experience to do this or is there a plan to include this at some point?

fp
fp's picture
Offline
Joined: 04/29/2008
Juice: 3
Use products report

One easy way to do this (although not as sexy as having right there in the sales report) is to export the products report to CSV and tally up the sales.

Furthermore, on a "standard" install, the difference between the total of the sales report and the total produced from the products report should be the total for the taxes or the taxes and shipping.