Christopher Neugebauer
|
64ca477cb8
|
Fixes flake8 snafus
|
2016-09-02 11:43:27 +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
|
efb73e7a68
|
Memoises everything else that needs to be memoised.
|
2016-05-01 14:56:51 +10:00 |
|
Christopher Neugebauer
|
78a41970ea
|
Adds design for BatchController
|
2016-05-01 10:47:06 +10:00 |
|
Christopher Neugebauer
|
162a1f23dd
|
_filtered_discounts is now called _filtered_clauses, and it no longer cares about specific products or categories
|
2016-05-01 09:43:32 +10:00 |
|
Christopher Neugebauer
|
b40505117f
|
Fixes flake8 errors arising from rebase
|
2016-04-29 11:22:56 +10:00 |
|
Christopher Neugebauer
|
02fe88a4e4
|
Tests and fixes for a bug where discount quantities did not respect per-line item quantities.
|
2016-04-29 11:11:59 +10:00 |
|
Christopher Neugebauer
|
162db24817
|
Flake8 fixes
|
2016-04-29 11:08:45 +10:00 |
|
Christopher Neugebauer
|
71de0df5dc
|
Makes DiscountController a class and puts available_discounts inside it
|
2016-04-29 11:08:42 +10:00 |
|
Christopher Neugebauer
|
3f1be0e14e
|
Rearchitected condition processing such that multiple conditions are processed by the database, in bulk. Closes #42.
|
2016-04-29 11:06:58 +10:00 |
|
Christopher Neugebauer
|
8afb31a118
|
Flake8 fix
|
2016-04-26 13:56:10 +10:00 |
|
Christopher Neugebauer
|
63d15a6be3
|
More view documentation
|
2016-04-26 10:52:56 +10:00 |
|
Christopher Neugebauer
|
4cdbdb71ce
|
flake8 fixes
|
2016-04-25 17:37:33 +10:00 |
|
Christopher Neugebauer
|
63dfd353c1
|
Replaces active/released flags in Cart with a single int flag. Closes #41
|
2016-04-25 15:36:55 +10:00 |
|
Christopher Neugebauer
|
875f736d67
|
Consolidates models.py into a directory module.
|
2016-04-22 15:06:24 +10:00 |
|
Christopher Neugebauer
|
8e95bb7469
|
flake8 fixes
|
2016-04-07 13:26:25 +10:00 |
|
Christopher Neugebauer
|
53413388e0
|
Optimises queries through simplifying repeated queries and select_related use
|
2016-04-06 22:59:00 +10:00 |
|
Christopher Neugebauer
|
1e7a2abc7f
|
Refactors testing of enabling conditions so that they are done in bulk in ConditionsController, rather than one product at a time.
|
2016-04-02 18:18:06 +11:00 |
|
Christopher Neugebauer
|
cf85af7719
|
Adds refund function, adds tests, makes sure that refunds are obeyed elsewhere in the codebase
|
2016-03-27 21:04:10 +11:00 |
|
Christopher Neugebauer
|
fb3878ce2e
|
Adds available_discounts, which allows enumeration of the discounts that are available for a given set of products and categories
|
2016-03-25 18:59:34 +11:00 |
|