Changeset 8292
- Timestamp:
- 27 Apr 2012, 06:29:54 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser.py
r8263 r8292 152 152 """ 153 153 grok.context(ICustomApplicantOnlinePayment) 154 form_fields = grok.AutoFields(ICustomApplicantOnlinePayment) 154 form_fields = grok.AutoFields(ICustomApplicantOnlinePayment).omit('ac') 155 155 form_fields['creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') 156 156 form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') … … 158 158 @property 159 159 def note(self): 160 if self.context.p_state == 'paid': 161 return None 160 162 tcode = self.context.p_id 161 163 tcode = tcode[len(tcode)-8:len(tcode)]
Note: See TracChangeset for help on using the changeset viewer.