Ignore:
Timestamp:
13 Jun 2012, 13:58:05 (12 years ago)
Author:
Henrik Bettermann
Message:

Do not show transaction code (temporarily disabled).

File:
1 edited

Legend:

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

    r8567 r8711  
    149149    form_fields[
    150150        'payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    151     grok.template('payment_view')
     151    #grok.template('payment_view')
    152152
    153     @property
    154     def transaction_code(self):
    155         tcode = self.context.p_id
    156         return tcode[len(tcode)-8:len(tcode)]
     153    #@property
     154    #def transaction_code(self):
     155    #    tcode = self.context.p_id
     156    #    return tcode[len(tcode)-8:len(tcode)]
    157157
    158158class CustomApplicationFeePaymentAddPage(ApplicationFeePaymentAddPage):
     
    169169    form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    170170
    171     @property
    172     def note(self):
    173         if self.context.p_state == 'paid':
    174             return None
    175         tcode = self.context.p_id
    176         tcode = tcode[len(tcode)-8:len(tcode)]
    177         amount = self.context.amount_auth
    178         note = translate(_(
    179             u"""<br /><br /><br />
    180 The tranzaction code is <strong>${a}</strong>.""",
    181             mapping = {'a':tcode}))
    182         return note
     171#    @property
     172#    def note(self):
     173#        if self.context.p_state == 'paid':
     174#            return None
     175#        tcode = self.context.p_id
     176#        tcode = tcode[len(tcode)-8:len(tcode)]
     177#        amount = self.context.amount_auth
     178#        note = translate(_(
     179#            u"""<br /><br /><br />
     180#The tranzaction code is <strong>${a}</strong>.""",
     181#            mapping = {'a':tcode}))
     182#        return note
Note: See TracChangeset for help on using the changeset viewer.