Changeset 13891 for main/waeup.kwarapoly


Ignore:
Timestamp:
7 Jun 2016, 20:36:04 (9 years ago)
Author:
Henrik Bettermann
Message:

Adjust to changes in base package.

Location:
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interfaces.py

    r13122 r13891  
    3838        )
    3939
    40     application_fee = schema.Float(
    41         title = _(u'Application Fee (fallback)'),
    42         default = 0.0,
    43         required = True,
    44         )
    45 
    4640    clearance_fee = schema.Float(
    4741        title = _(u'Clearance Fee'),
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students/tests/test_browser.py

    r13653 r13891  
    483483        self.browser.getControl(name="form.p_category").value = ['schoolfee']
    484484        self.browser.getControl("Create ticket").click()
    485         self.assertMatches('...Payment temporarily disabled...',
     485        self.assertMatches('...This category of payments has been disabled...',
    486486                           self.browser.contents)
    487487        self.app['configuration']['2005'].payment_disabled = ['sf_non_pg']
     
    489489        self.browser.getControl(name="form.p_category").value = ['schoolfee']
    490490        self.browser.getControl("Create ticket").click()
    491         self.assertMatches('...Payment temporarily disabled...',
     491        self.assertMatches('...This category of payments has been disabled...',
    492492                           self.browser.contents)
    493493        # ... but PG can pay.
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students/utils.py

    r13653 r13891  
    265265            #category = 'schoolfee'
    266266        if self._isPaymentDisabled(p_session, category, student):
    267             return _('Payment temporarily disabled.'), None
     267            return _('This category of payments has been disabled.'), None
    268268        payment = createObject(u'waeup.StudentOnlinePayment')
    269269        timestamp = ("%d" % int(time()*10000))[1:]
Note: See TracChangeset for help on using the changeset viewer.