Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.2
Component:
Views integration
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Feb 2012 at 23:19 UTC
Updated:
20 Apr 2012 at 19:39 UTC
I need to generate reports for sales to all my suppliers who are in the database as taxonomy terms. I've then created a views that shows all line items sold within a given time period, filtered by the taxonomy term, and it works just like i intended.
I cannot make the view display a summary with taxes, however. This is important as my supplier need the report with tax added in the summary.
The line item summary does not display this, and i've had no luck including the order total as footer. It just doesn't show.
Is this possible somehow?
Thanks
Comments
Comment #1
rszrama commentedHmm, yeah, the "Order Total" area handler is specifically for a View showing one order, not a View showing line items across multiple orders. Additionally, the price displayed in the line item summary area handler does not support price components at all. What you'd need is a custom area handler, really. You can base it on the line item summary area handler but change the output to show the breakdown by components like the order total area handler does. No way to get around it without custom code, though it's an interesting use case.
Comment #3
b_otho commentedI did manage to make it work with a little workaround, though. By using an attachment with aggregation and a few math fields it was actually quite simple to create my own homemade summary. It works beautifully!
Comment #4
rszrama commentedExcellent, glad to hear it. : )