David Winterbottom
2b0e73192c
Fix issue with None being passed to report formatter
12 years ago
Maik Hoepfel
325eee6830
Ensure Oscar always displays timezone-aware datetimes
In a few cases, django.templatefilters.date was used to format a
datetime as string. This filters expects localtime, but was always
passed time in UTC.
Introduced a helper function that should be used instead of the template
filter.
12 years ago
David Winterbottom
ea99333e32
Use content_type rather than mimetype in responses
12 years ago
David Winterbottom
f47c1d8378
Download orders that use an offer in a CSV file
An extension to the offer detail page. Reminds me how much the
reporting classes need reworking. Some day soon perhaps...
13 years ago
David Winterbottom
7355d5a224
Extend report CSV writer to support utf-8
Using example classes from http://docs.python.org/2/library/csv.html#examples
Fixes #390
13 years ago
David Winterbottom
81a16d08fe
Updated report generator to provide title
13 years ago
David Winterbottom
93fcac8b17
Tidied up templates slightly
13 years ago
Asia Biega
f22ea6f7c7
Paginate html report results
13 years ago
Asia Biega
c3c96d311d
Enable generating reports as html and csv.
13 years ago
Asia Biega
5f1aff6a71
Enable generating reports as html and csv.
13 years ago
David Winterbottom
2ab0c5228a
Added date formatting methods to ensure reports are consistent.
The dates should be picked up correctly by Excel now.
13 years ago
David Winterbottom
42d4080bc0
Added JS datepicker (unstyled) to dashboard forms
13 years ago
David Winterbottom
1b8117b4fe
Moved reporting app into dashboard
14 years ago
David Winterbottom
887d605757
Refactored folder structure to use an 'apps' folder
15 years ago
David Winterbottom
e6078381fd
Added basket reports
15 years ago
David Winterbottom
fa478782ed
Updated reporting code to dynamically handle different forms based
on a set of classes.
15 years ago