Commit graph

15 commits

Author SHA1 Message Date
Christopher Neugebauer
2637930996 Adds CSV output support 2016-10-14 11:11:27 -07:00
Christopher Neugebauer
ea7a8d9ae7 Indentation 2016-10-14 10:28:38 -07:00
Christopher Neugebauer
320f6ab6eb First step refactoring ReportView into a class 2016-10-14 10:27:22 -07:00
Christopher Neugebauer
f0730b4de9 Flake8 fixes for reports 2016-09-13 18:54:28 +10:00
Christopher Neugebauer
12b665acb8 DRYs QuerysetReport’s headers 2016-09-13 18:47:51 +10:00
Christopher Neugebauer
bbce369a38 Allows for callable attributes to be specified in QuerysetReports. 2016-09-13 18:44:13 +10:00
Christopher Neugebauer
fa717dee65 Adds QuerysetReport, which allows directly adding a queryset to a report rather than having to preprocess it into a list. 2016-09-13 16:19:18 +10:00
Christopher Neugebauer
53e6278116 Adds a Links report type, which can be used to generate a list of links to display with a report. 2016-09-13 16:02:18 +10:00
Christopher Neugebauer
f3e419d66d Refactors reports so that rendering of links is done within Python code, not templates. 2016-09-13 15:32:55 +10:00
Christopher Neugebauer
48a036204d Reporting framework can now display multiple sections. 2016-09-02 15:14:54 +10:00
Christopher Neugebauer
aacdab7d16 The reporting module now passes flake8 2016-09-02 11:25:50 +10:00
Christopher Neugebauer
f9e26a2e49 Adds the link_view concept to reports; adds a link_view to credit notes report 2016-09-02 11:05:38 +10:00
Christopher Neugebauer
499c4209cf Makes form_type *properly* optional 2016-09-02 10:30:12 +10:00
Christopher Neugebauer
f1c8e90b77 Makes the form type optional for reports 2016-09-02 10:28:24 +10:00
Christopher Neugebauer
86d1ab7160 Refactors core reporting bits into a reporting package 2016-09-02 10:08:11 +10:00