convert autodiscount field to entity-keyed json
update discount form to support multiple autodiscounts
fix discounts to work with extended event filters
fix some whitespace
extract contact_id retrieval into a separate function
undo overloading of _get_candidates fn as code has no bearing on other part of the fn & having one fn is not simplifying at this stage
e-notice fix
more on fixing autodiscount to work with multiple options
add caching to discount retrieval
updates to admin form including adding extra auto-filters & putting them in an accordian
Add discount calculator class to move the calculation out of the various hook functions
move discount calculationn to class to simplify the various flows
fix membership type membership calculation
fixups on membership application
minor form re-organisation
Play nice with other hooks
add advanced discount strings
ok - we'll protect agains an api error & return false
prefill filters on discounts
Set Autodiscount to hide code for autodiscounts