Changeset 8842 for main/waeup.fceokene/trunk/src/waeup/fceokene/students
- Timestamp:
- 27 Jun 2012, 12:47:42 (13 years ago)
- Location:
- main/waeup.fceokene/trunk/src/waeup/fceokene
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/src/waeup/fceokene
- Property svn:mergeinfo changed
/main/waeup.uniben/trunk/src/waeup/uniben merged: 8839
- Property svn:mergeinfo changed
-
main/waeup.fceokene/trunk/src/waeup/fceokene/students/browser.py
r8722 r8842 42 42 from waeup.kofa.students.workflow import ADMITTED 43 43 44 #class RequestCallbackActionButton(RequestCallbackActionButton):45 # """ Display the base package callback button in custom pages.46 # """47 # grok.context(ICustomStudentOnlinePayment)48 49 #class CustomOnlinePaymentCallbackPage(OnlinePaymentCallbackPage):50 # """ Activate callback simulation view51 # """52 # grok.context(ICustomStudentOnlinePayment)53 54 44 class CustomOnlinePaymentBreadcrumb(OnlinePaymentBreadcrumb): 55 45 """A breadcrumb for payments. … … 168 158 form_fields[ 169 159 'payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') 170 #grok.template('payment_view')171 172 #@property173 #def transaction_code(self):174 # tcode = self.context.p_id175 # return tcode[len(tcode)-8:len(tcode)]176 160 177 161 class CustomOnlinePaymentAddFormPage(OnlinePaymentAddFormPage): … … 201 185 form_fields['creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') 202 186 form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') 203 204 # @property205 # def note(self):206 # tcode = self.context.p_id207 # tcode = tcode[len(tcode)-8:len(tcode)]208 # amount = self.context.amount_auth209 # note = translate(_(210 # u"""<br /><br /><br />211 #The tranzaction code is <strong>${a}</strong>.""",212 # mapping = {'a':tcode}))213 # return note214 187 215 188 class StudentPassportActionButton(StudentPassportActionButton):
Note: See TracChangeset for help on using the changeset viewer.