Changeset 15685
- Timestamp:
- 15 Oct 2019, 20:13:06 (5 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r15664 r15685 2000 2000 form = self.request.form 2001 2001 p_category = form.get('form.p_category', None) 2002 p_combi = form.get('form.p_combi', None)2002 p_combi = form.get('form.p_combi', []) 2003 2003 if isinstance(form.get('form.p_combi', None), unicode): 2004 2004 p_combi = [p_combi,] … … 2117 2117 grok.name('index') 2118 2118 grok.require('waeup.viewStudent') 2119 form_fields = grok.AutoFields(IStudentOnlinePayment).omit('p_item') 2119 form_fields = grok.AutoFields(IStudentOnlinePayment).omit( 2120 'p_item', 'p_combi') 2120 2121 form_fields[ 2121 2122 'creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') … … 2170 2171 grok.name('payment_slip.pdf') 2171 2172 grok.require('waeup.viewStudent') 2172 form_fields = grok.AutoFields(IStudentOnlinePayment).omit('p_item') 2173 form_fields = grok.AutoFields(IStudentOnlinePayment).omit( 2174 'p_item', 'p_combi') 2173 2175 form_fields['creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') 2174 2176 form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le') -
main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
r15664 r15685 403 403 404 404 def setPaymentDetails(self, category, student, 405 previous_session, previous_level, combi ):405 previous_session, previous_level, combi=[]): 406 406 """Create a payment ticket and set the payment data of a 407 407 student for the payment category specified. … … 521 521 payment.p_current = p_current 522 522 payment.amount_auth = amount 523 payment.p_combi = combi 523 524 return None, payment 524 525 -
main/waeup.kofa/trunk/src/waeup/kofa/utils/utils.py
r15664 r15685 184 184 'transcript': 'Transcript Fee', 185 185 'late_registration': 'Late Course Registration Fee', 186 'combi': 'Combi Payment s',186 'combi': 'Combi Payment', 187 187 } 188 188
Note: See TracChangeset for help on using the changeset viewer.