Changeset 6947 for main/waeup.sirp/trunk


Ignore:
Timestamp:
25 Oct 2011, 19:27:02 (13 years ago)
Author:
Henrik Bettermann
Message:

Only getPaymentDetails will be overridden in customization packages. This trick eases customization, see r6948.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py

    r6944 r6947  
    884884    title = 'Payments'
    885885    pnav = 4
     886   
     887    # To be sepezified in customization packages
     888    def getPaymentDetails(self, category, student):
     889        return getPaymentDetails(category, student)
    886890
    887891    @grok.action('Create ticket')
     
    897901            payment.surcharge_2,
    898902            payment.surcharge_3,
    899             error)  = getPaymentDetails(
     903            error)  = self.getPaymentDetails(
    900904            data['p_category'],self.context.__parent__)
    901905        if error:
Note: See TracChangeset for help on using the changeset viewer.