Ignore:
Timestamp:
11 May 2012, 14:18:47 (13 years ago)
Author:
Henrik Bettermann
Message:

Add methods for approving payments and implement pages for approving payments (work in progress).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py

    r8410 r8420  
    266266            academic_session = grok.getSite()['configuration'][session]
    267267        except KeyError:
    268             details['error'] = u'Session configuration object is not available.'
     268            details['error'] = _(u'Session configuration object is not available.')
    269269            return details
    270270        if category == 'schoolfee':
     
    284284            details['p_item'] = self.getAccommodationDetails(student)['bt']
    285285            details['amount'] = academic_session.booking_fee
     286        if details['amount'] in (0.0, None):
     287            details['error'] = _(u'Amount could not be determined.')
    286288        return details
    287289
Note: See TracChangeset for help on using the changeset viewer.