Changeset - 455f721b983a
[Not reviewed]
0 2 0
James Polley - 6 years ago 2018-09-30 03:53:55
jp@jamezpolley.com
Don't show T&Cs on the additional products page
2 files changed with 5 insertions and 2 deletions:
0 comments (0 inline, 0 general)
pinaxcon/settings.py
Show inline comments
...
 
@@ -352,2 +352,3 @@ INVOICE_CURRENCY = "AUD"
 
TICKET_PRODUCT_CATEGORY = 1
 
TERMS_PRODUCT_CATEGORY = 2
 
ATTENDEE_PROFILE_FORM = "pinaxcon.registrasion.forms.ProfileForm"
vendor/registrasion/registrasion/views.py
Show inline comments
...
 
@@ -92,4 +92,5 @@ def guided_registration(request, page_number=None):
 
            2) Ticket type
 
            3) Remaining products
 
            4) Mark registration as complete
 
            3) T&C Consent
 
            4) Remaining products
 
            5) Mark registration as complete
 

	
...
 
@@ -274,2 +275,3 @@ def _guided_registration_products(request, mode):
 
        cats = cats.exclude(id=settings.TICKET_PRODUCT_CATEGORY)
 
        cats = cats.exclude(id=settings.TERMS_PRODUCT_CATEGORY)
 
    elif mode == GUIDED_MODE_EXCLUDE_COMPLETE:
0 comments (0 inline, 0 general)