Changeset 8263 for main/waeup.uniben/trunk/src/waeup/uniben/applicants
- Timestamp:
- 24 Apr 2012, 15:37:51 (13 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser.py
r8259 r8263 29 29 ApplicantManageFormPage, ApplicantEditFormPage, 30 30 ApplicantRegistrationPage, ApplicantAddFormPage, 31 OnlinePaymentDisplayFormPage, A cceptanceFeePaymentAddPage,31 OnlinePaymentDisplayFormPage, ApplicationFeePaymentAddPage, 32 32 OnlinePaymentBreadcrumb, ExportPDFPaymentSlipPage, 33 33 ApplicantBaseDisplayFormPage) … … 127 127 """ 128 128 grok.context(ICustomApplicantOnlinePayment) 129 form_fields = grok.AutoFields(ICustomApplicantOnlinePayment).omit( 130 'surcharge_1', 'surcharge_2', 'surcharge_3', 'ac') 129 form_fields = grok.AutoFields(ICustomApplicantOnlinePayment).omit('ac') 131 130 form_fields[ 132 131 'creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') … … 140 139 return tcode[len(tcode)-8:len(tcode)] 141 140 142 class CustomA cceptanceFeePaymentAddPage(AcceptanceFeePaymentAddPage):141 class CustomApplicationFeePaymentAddPage(ApplicationFeePaymentAddPage): 143 142 """ Page to add an online payment ticket 144 143 """ … … 146 145 147 146 def _fillCustomFields(self, payment, session_config): 148 payment.surcharge_1 = session_config.surcharge_1 149 payment.surcharge_2 = session_config.surcharge_2 150 payment.surcharge_3 = session_config.surcharge_3 147 # No custom fields at the moment 151 148 return payment 152 149 -
main/waeup.uniben/trunk/src/waeup/uniben/applicants/payment.py
r8247 r8263 17 17 ## 18 18 """ 19 A cceptancefee payment.19 Application fee payment. 20 20 """ 21 21 import grok
Note: See TracChangeset for help on using the changeset viewer.