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/students/browser.py

    r8600 r8711  
    166166    form_fields[
    167167        'payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    168     grok.template('payment_view')
    169 
    170     @property
    171     def transaction_code(self):
    172         tcode = self.context.p_id
    173         return tcode[len(tcode)-8:len(tcode)]
     168    #grok.template('payment_view')
     169
     170    #@property
     171    #def transaction_code(self):
     172    #    tcode = self.context.p_id
     173    #    return tcode[len(tcode)-8:len(tcode)]
    174174
    175175class CustomOnlinePaymentAddFormPage(OnlinePaymentAddFormPage):
     
    200200    form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    201201
    202     @property
    203     def note(self):
    204         tcode = self.context.p_id
    205         tcode = tcode[len(tcode)-8:len(tcode)]
    206         amount = self.context.amount_auth
    207         note = translate(_(
    208             u"""<br /><br /><br />
    209 The tranzaction code for eTranzact payments is <strong>${a}</strong>.""",
    210             mapping = {'a':tcode}))
    211         return note
     202#    @property
     203#    def note(self):
     204#        tcode = self.context.p_id
     205#        tcode = tcode[len(tcode)-8:len(tcode)]
     206#        amount = self.context.amount_auth
     207#        note = translate(_(
     208#            u"""<br /><br /><br />
     209#The tranzaction code for eTranzact payments is <strong>${a}</strong>.""",
     210#            mapping = {'a':tcode}))
     211#        return note
Note: See TracChangeset for help on using the changeset viewer.