Changeset 8839 for main/waeup.uniben/trunk/src/waeup
- Timestamp:
- 27 Jun 2012, 12:36:10 (12 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben
- Files:
-
- 2 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser.py
r8803 r8839 44 44 UG_OMIT_RESULT_SLIP_FIELDS) 45 45 from waeup.uniben.interfaces import MessageFactory as _ 46 47 #class RequestCallbackActionButton(RequestCallbackActionButton):48 # """ Display the base package callback button in custom pages.49 # """50 # grok.context(ICustomApplicantOnlinePayment)51 52 #class CustomOnlinePaymentCallbackPage(OnlinePaymentCallbackPage):53 # """ Activate callback simulation view54 # """55 # grok.context(ICustomApplicantOnlinePayment)56 46 57 47 class CustomOnlinePaymentBreadcrumb(OnlinePaymentBreadcrumb): … … 174 164 form_fields[ 175 165 'payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') 176 #grok.template('payment_view')177 178 #@property179 #def transaction_code(self):180 # tcode = self.context.p_id181 # return tcode[len(tcode)-8:len(tcode)]182 166 183 167 class CustomApplicationFeePaymentAddPage(ApplicationFeePaymentAddPage): … … 194 178 form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') 195 179 196 # @property197 # def note(self):198 # if self.context.p_state == 'paid':199 # return None200 # tcode = self.context.p_id201 # tcode = tcode[len(tcode)-8:len(tcode)]202 # amount = self.context.amount_auth203 # note = translate(_(204 # u"""<br /><br /><br />205 #The tranzaction code is <strong>${a}</strong>.""",206 # mapping = {'a':tcode}))207 # return note208 209 180 class CustomApplicantRegistrationPage(ApplicantRegistrationPage): 210 181 """Captcha'd registration page for applicants. -
main/waeup.uniben/trunk/src/waeup/uniben/students/browser.py
r8720 r8839 42 42 from waeup.uniben.interfaces import MessageFactory as _ 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.