Commit graph

390 commits

Author SHA1 Message Date
Sachi King
a2464bd95e ve is scoped to the except block.
We probably want to see a whole bunch of errors collected in errors
anyways.  That should get converted to a string uppon being raised, so
pass errors directly.
2017-04-22 18:40:40 +10:00
Sachi King
17693754de Huge batch of pep8 fixes 2017-04-22 18:39:07 +10:00
Sachi King
bcb63fd1cd Import fixups - not relative 2017-04-17 22:55:48 +10:00
Sachi King
4456398735 Price is not a relation and cannot select_related
This field is ignored in 1.9, however in 1.10+ it is an error.
As this is a no-op in 1.9, removal keeps functionality while
extending compatability going forward.

For full details please see Django Ticket 10414 at:
https://code.djangoproject.com/ticket/10414
2017-04-05 21:07:59 +10:00
Christopher Neugebauer
be0d04c9c4 Correct ordering of badges 2017-01-15 12:20:14 +11:00
Christopher Neugebauer
8ebb371a67 Correct ordering of invoices 2017-01-15 12:16:03 +11:00
Christopher Neugebauer
cb42289f4c Adds “view badge” link 2017-01-15 07:55:52 +11:00
Christopher Neugebauer
e956c4c6a0 Adds manifests 2017-01-15 07:48:43 +11:00
Christopher Neugebauer
66dedfc101 Adds “badges” view, which lets us render multiple users’ badges into a zipfile. 2017-01-09 19:39:27 +11:00
Christopher Neugebauer
4fc494783d Refactors the email form into an InvoicesWithProductAndStatus form 2017-01-09 19:27:47 +11:00
Christopher Neugebauer
78714600bf Refactors badge to have render_badge too. 2017-01-09 19:16:30 +11:00
Christopher Neugebauer
c949a87b8a uses template.render rather than the render shortcut 2017-01-09 19:13:49 +11:00
Christopher Neugebauer
9da41c06de Adds first badge support 2017-01-09 18:57:49 +11:00
Christopher Neugebauer
42711dde69 Renames a tempalte. 2017-01-08 10:45:08 +11:00
Christopher Neugebauer
fd7fff7879 Allows contexts to directly supply a user (so we can access registration data when e-mailing people.) 2017-01-08 10:44:19 +11:00
Christopher Neugebauer
274187b8bf Renames “nag_unpaid” to “invoice_mailout”, better matches current intent. 2017-01-08 09:52:49 +11:00
Christopher Neugebauer
de902a213d Adds invoice status to nag_unpaid 2017-01-08 09:48:48 +11:00
Christopher Neugebauer
3b985d40ac Missing line 2017-01-08 09:47:54 +11:00
Christopher Neugebauer
479bdd36a3 s/InvoiceNagForm/InvoiceEmailForm/ 2017-01-08 09:43:20 +11:00
Christopher Neugebauer
06fe8a8ffa Adds preview function to nag_unpaid 2017-01-08 09:42:40 +11:00
Christopher Neugebauer
221b4d6a22 quiet please 2016-12-07 21:00:47 +11:00
Christopher Neugebauer
056008c6e7 Credit notes can be applied to any invoice.
Fixes #85
2016-12-07 18:04:50 +11:00
Christopher Neugebauer
52376dff59 Adds nag mails to the UI.
Fixes #50
2016-12-07 17:39:13 +11:00
Christopher Neugebauer
19b59d7676 Adds functionality for sending nag e-mails 2016-12-07 17:31:42 +11:00
Christopher Neugebauer
051a942ffe Forms for nag e-mail 2016-12-07 11:52:10 +11:00
Christopher Neugebauer
fcf4e5cffb Adds forms for nag_unpaid 2016-12-07 11:19:30 +11:00
Christopher Neugebauer
37fbc2ee40 Adds some reporting documentation 2016-12-07 10:18:54 +11:00
Christopher Neugebauer
ea07469634 Fixes individual attendee view, which had disappeared. 2016-12-07 10:18:48 +11:00
Christopher Neugebauer
6a37134172 Stops relying on a form 2016-10-14 16:26:36 -07:00
Christopher Neugebauer
ed2327bedd Cleans up the architecture for report views 2016-10-14 16:10:36 -07:00
Christopher Neugebauer
67ac01e599 Adds a tag to take the CSV version of a report 2016-10-14 11:36:31 -07:00
Christopher Neugebauer
517da70536 CSV fixes 2016-10-14 11:19:10 -07:00
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
3f192c2626 Zeroed & paid invoices that are voided now release the cart.
Fixes #95.
2016-10-13 11:23:41 -07:00
Christopher Neugebauer
c9c9d2a2b2 Cancelled presentations no longer enable SpeakerCondition.
Fixes #94
2016-10-13 10:50:48 -07:00
Christopher Neugebauer
17cc088a6e Adds an “invoices” view 2016-10-13 09:32:30 -07:00
Christopher Neugebauer
232dc9e452 Invoices are tested for cart validity before display.
Fixes #99.
2016-10-13 09:19:18 -07:00
Christopher Neugebauer
e05265edd2 Adds test for invoice becoming invalid over time.
Tests for #99
2016-10-13 08:31:11 -07:00
Christopher Neugebauer
3ca2be8c4b Attendee data page is now slightly more useful 2016-10-06 12:49:37 -07:00
Christopher Neugebauer
6dbc303e7c Adds ability for staff to extend a user’s reservations 2016-10-06 12:44:06 -07:00
Christopher Neugebauer
d31d812001 Adds functionality to increase the reservation duration 2016-10-06 12:33:53 -07:00
Christopher Neugebauer
b323c0eb25 Cart reservation durations now take the residual from the last reservation duration into account. 2016-10-06 12:12:50 -07:00
Christopher Neugebauer
360175f86a Adds tests for reservation duration 2016-10-06 11:52:46 -07:00
Christopher Neugebauer
1129a4605c Fixes a bug, hopefully 2016-10-05 13:07:44 -07:00
Christopher Neugebauer
36d658e57f More query optimisation 2016-10-05 12:52:56 -07:00
Christopher Neugebauer
62858b0f6e Optimises some queries on attendee profile page 2016-10-05 12:28:43 -07:00
Christopher Neugebauer
ace7aa3efa Final query optimisation for attendee_data view 2016-10-05 12:17:40 -07:00
Christopher Neugebauer
ffe5194893 Query optimisation on attendee_data form 2016-10-05 12:07:38 -07:00