Changeset 8716


Ignore:
Timestamp:
14 Jun 2012, 06:19:53 (12 years ago)
Author:
Henrik Bettermann
Message:

Remove etrantact module. We don't need it at the moment.

Location:
main/waeup.uniben/trunk/src/waeup/uniben
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser.py

    r8668 r8716  
    154154    form_fields[
    155155        'payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    156     grok.template('payment_view')
     156    #grok.template('payment_view')
    157157
    158     @property
    159     def transaction_code(self):
    160         tcode = self.context.p_id
    161         return tcode[len(tcode)-8:len(tcode)]
     158    #@property
     159    #def transaction_code(self):
     160    #    tcode = self.context.p_id
     161    #    return tcode[len(tcode)-8:len(tcode)]
    162162
    163163class CustomApplicationFeePaymentAddPage(ApplicationFeePaymentAddPage):
     
    174174    form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    175175
    176     @property
    177     def note(self):
    178         if self.context.p_state == 'paid':
    179             return None
    180         tcode = self.context.p_id
    181         tcode = tcode[len(tcode)-8:len(tcode)]
    182         amount = self.context.amount_auth
    183         note = translate(_(
    184             u"""<br /><br /><br />
    185 The tranzaction code is <strong>${a}</strong>.""",
    186             mapping = {'a':tcode}))
    187         return note
     176#    @property
     177#    def note(self):
     178#        if self.context.p_state == 'paid':
     179#            return None
     180#        tcode = self.context.p_id
     181#        tcode = tcode[len(tcode)-8:len(tcode)]
     182#        amount = self.context.amount_auth
     183#        note = translate(_(
     184#            u"""<br /><br /><br />
     185#The tranzaction code is <strong>${a}</strong>.""",
     186#            mapping = {'a':tcode}))
     187#        return note
    188188
    189189class CustomApplicantRegistrationPage(ApplicantRegistrationPage):
Note: See TracChangeset for help on using the changeset viewer.