Commit graph

449 commits

Author SHA1 Message Date
Christopher Neugebauer
aacdab7d16 The reporting module now passes flake8 2016-09-02 11:25:50 +10:00
Christopher Neugebauer
4664c4711a Moves staff_views to reporting/views 2016-09-02 11:20:03 +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
372512c6af Adds report to view credit notes. 2016-09-02 10:40:28 +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
960de87343 oops 2016-09-02 10:10:21 +10:00
Christopher Neugebauer
86d1ab7160 Refactors core reporting bits into a reporting package 2016-09-02 10:08:11 +10:00
Christopher Neugebauer
fb022bbc7b Adds a view that shows all reports 2016-09-02 09:55:29 +10:00
Christopher Neugebauer
1e066952e9 Reports now need staff credentials to load. 2016-09-02 09:31:12 +10:00
Christopher Neugebauer
66226663d5 Makes the inventory report even clearer. 2016-08-26 15:53:33 +10:00
Christopher Neugebauer
32b887fed3 Makes the reporting framework a bit more DRY. 2016-08-26 15:11:08 +10:00
Christopher Neugebauer
3607fb19b8 Adds inventory report 2016-08-26 14:59:54 +10:00
Christopher Neugebauer
2a850c49bc Fixes some documentation snafus 2016-08-26 14:17:53 +10:00
Christopher Neugebauer
5c41a3576c re-structures the URLs a bit, puts the items sold report under reports/items_sold 2016-08-26 13:53:40 +10:00
Christopher Neugebauer
db8f428ee1 Makes the sales report keep a total. 2016-08-26 13:40:49 +10:00
Christopher Neugebauer
b7650ca772 Reports now display titles 2016-08-25 21:10:14 +10:00
Christopher Neugebauer
a320f822fc Report for total items sold. 2016-08-25 21:05:02 +10:00
Christopher Neugebauer
d131b547f6 Delete errant prints 2016-08-25 21:01:32 +10:00
Christopher Neugebauer
00476498a8 Very first attempt at a staff-facing report (items sold) 2016-08-25 20:33:19 +10:00
Christopher Neugebauer
3225a353e0 Migrates to the less-deprecated URL syntax 2016-08-25 19:51:36 +10:00
Christopher Neugebauer
d05a41d4f6 Merge branch 'chrisjrn/describe_discount_items'
Fixes #43.
2016-08-24 11:46:38 +10:00
Christopher Neugebauer
0b7396c40f Discount line items now describe the product that the discount applies to. 2016-08-24 11:46:15 +10:00
Christopher Neugebauer
1b40472835 Merge branch 'chrisjrn/long_and_thin'
Fixes #26
2016-08-22 15:03:32 +10:00
Christopher Neugebauer
482fe22d89 Better reporting of errors in long-and-thin categories 2016-08-22 15:03:08 +10:00
Christopher Neugebauer
d52fc6eb9d Adds a formset for dealing with long-and-thin product categories. 2016-08-22 15:00:45 +10:00
Christopher Neugebauer
02e415c104 Adds an implementation for item-quantity forms. 2016-08-22 15:00:38 +10:00
Christopher Neugebauer
d9f9af9827 Modifies the Category model to allow for ITEM_QUANTITY forms 2016-08-22 15:00:38 +10:00
Christopher Neugebauer
c4274817a8 Moves ProductsForm to the top of its file 2016-08-22 10:15:01 +10:00
Christopher Neugebauer
8c34c7498a Factors _ProductsForm into _HasProductsFields 2016-08-22 10:13:02 +10:00
Christopher Neugebauer
64e897919e Merge branch 'chrisjrn/email_invoices' 2016-08-22 09:28:44 +10:00
Christopher Neugebauer
4f16e4b9d0 Oops. 2016-08-21 18:28:16 +10:00
Christopher Neugebauer
7bf372f92a Invoices now send e-mails when created, paid, or refunded. 2016-08-21 17:14:19 +10:00
Christopher Neugebauer
924906d38c Adds test for e-mails being sent when invoices are generated. 2016-08-21 16:56:15 +10:00
Christopher Neugebauer
e946af0f04 Adds functions for mailing invoices when certain events occur. 2016-08-21 16:56:05 +10:00
Christopher Neugebauer
155f6d42d9 Renames patch_datetime to patches, adds e-mail patching bits 2016-08-21 16:39:57 +10:00
Christopher Neugebauer
1faa608425 Adds email framework shamelessly stolen from Symposion 2016-08-21 15:40:05 +10:00
Christopher Neugebauer
1ae9aba44e Merge pull request #55 from parisba/patch-1
Fixed a typo
2016-05-12 09:43:31 -07:00
Paris Buttfield-Addison
9056d5d303 Fixed a typo 2016-05-12 11:31:19 -05:00
Christopher Neugebauer
de83015776 Fixes ordering error in error display 2016-05-02 10:55:29 +10:00
Christopher Neugebauer
ded5114073 Merge branch 'batch_cache' 2016-05-01 19:12:53 +10:00
Christopher Neugebauer
abe8c12b05 Simplifies flag and discount filter functions 2016-05-01 19:12:40 +10:00
Christopher Neugebauer
b9b50c6846 Bug fixes and query optimisations in flag.py and discount.py 2016-05-01 14:56:51 +10:00
Christopher Neugebauer
9ca25e5986 Makes sure that the cache is not disturbed by calling end_batch 2016-05-01 14:56:51 +10:00
Christopher Neugebauer
3ab5ac32ca Part of CartController->BatchController memoisation 2016-05-01 14:56:51 +10:00
Christopher Neugebauer
efb73e7a68 Memoises everything else that needs to be memoised. 2016-05-01 14:56:51 +10:00
Christopher Neugebauer
3d635521eb CartController now uses BatchController memoisation 2016-05-01 14:56:51 +10:00
Christopher Neugebauer
3717adb262 Squash this and last two 2016-05-01 14:56:46 +10:00
Christopher Neugebauer
ad2de6e9d4 Breaks cart batching tests into multiple tests 2016-05-01 14:56:46 +10:00
Christopher Neugebauer
94ceaa3bb1 Adds test case for CartController batching 2016-05-01 14:56:46 +10:00