- Timestamp:
- 24 Feb 2013, 17:46:22 (12 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/applicants/payment.py
r8928 r9993 41 41 return 42 42 43 CustomApplicantOnlinePayment = attrs_to_fields(CustomApplicantOnlinePayment) 43 CustomApplicantOnlinePayment = attrs_to_fields( 44 CustomApplicantOnlinePayment, omit=['display_item']) 44 45 45 46 # Applicant online payments must be importable. So we might need a factory. -
main/waeup.uniben/trunk/src/waeup/uniben/students/browser.py
r9971 r9993 71 71 grok.context(ICustomStudentOnlinePayment) 72 72 form_fields = grok.AutoFields(ICustomStudentOnlinePayment).omit( 73 'provider_amt', 'gateway_amt', 'thirdparty_amt' )73 'provider_amt', 'gateway_amt', 'thirdparty_amt', 'p_item') 74 74 form_fields[ 75 75 'creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') … … 108 108 grok.context(ICustomStudentOnlinePayment) 109 109 form_fields = grok.AutoFields(ICustomStudentOnlinePayment).omit( 110 'provider_amt', 'gateway_amt', 'thirdparty_amt' )110 'provider_amt', 'gateway_amt', 'thirdparty_amt', 'p_item') 111 111 form_fields['creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') 112 112 form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') -
main/waeup.uniben/trunk/src/waeup/uniben/students/payments.py
r8741 r9993 47 47 return self.__parent__.__parent__ 48 48 49 CustomStudentOnlinePayment = attrs_to_fields(CustomStudentOnlinePayment) 49 CustomStudentOnlinePayment = attrs_to_fields( 50 CustomStudentOnlinePayment, omit=['display_item']) 50 51 51 52 class CustomStudentOnlinePaymentFactory(StudentOnlinePaymentFactory):
Note: See TracChangeset for help on using the changeset viewer.