Changeset 12594 for main


Ignore:
Timestamp:
11 Feb 2015, 15:07:43 (10 years ago)
Author:
Henrik Bettermann
Message:

Do not require ticking confirmation box if t&c is not set.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser.py

    r12593 r12594  
    14591459    @action(_('Apply now (final submit)'), warning=WARNING_CON)
    14601460    def finalsubmit(self, **data):
    1461         if not self.request.form.get('confirm_tc', False):
     1461        if self.terms_and_conditions and not self.request.form.get(
     1462            'confirm_tc', False):
    14621463            self.flash(_('Please read the terms and conditions and '
    14631464                     'confirm your acceptance of these by ticking '
Note: See TracChangeset for help on using the changeset viewer.