Ignore:
Timestamp:
14 Mar 2012, 09:35:47 (13 years ago)
Author:
Henrik Bettermann
Message:

Remove Interswitch view components. This is part of a typical Nigerian customization and should be in waeup.custom only.

File:
1 edited

Legend:

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

    r7876 r7878  
    322322        return self.view.url(self.view.context, self.target)
    323323
    324 class InterswitchActionButton(ManageActionButton):
    325     grok.order(3)
    326     grok.context(IStudentOnlinePayment)
    327     grok.view(OnlinePaymentDisplayFormPage)
    328     grok.require('waeup.payStudent')
    329     icon = 'actionicon_pay.png'
    330     text = _('CollegePAY')
    331     target = 'goto_interswitch'
    332 
    333     @property
    334     def target_url(self):
    335         if self.context.p_state != 'unpaid':
    336             return ''
    337         return self.view.url(self.view.context, self.target)
    338 
    339324class AddBedTicketActionButton(ManageActionButton):
    340325    grok.order(1)
Note: See TracChangeset for help on using the changeset viewer.