Changeset 5231
- Timestamp:
- 24 Jun 2010, 11:58:58 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_aaua/getPaymentsFolderInfo.py
r5193 r5231 45 45 parttime = student_record.mode and student_record.mode.endswith('_pt') 46 46 fulltime = student_record.mode and student_record.mode.endswith('_ft') 47 sandwich = student_record.mode and student_record.mode.endswith('_sw') 47 48 48 49 … … 57 58 58 59 if review_state in ('returning',) and info['next_session'] != session: 59 if session in ('06',) :60 if session in ('06',) or sandwich: 60 61 info['payment_method'] = "online_payment" 61 62 else: 62 63 info['payment_method'] = "first_instalment" 63 64 elif review_state in ('cleared_and_validated',): 64 if session in ('06','07',) :65 if session in ('06','07',) or sandwich: 65 66 info['payment_method'] = "online_payment" 66 67 else: 67 68 info['payment_method'] = "first_instalment" 68 elif session in ('08','09',) and review_state in ('school_fee_paid','courses_registered','courses_validated',) :69 elif session in ('08','09',) and review_state in ('school_fee_paid','courses_registered','courses_validated',) and not sandwich: 69 70 second_instalment_records = aq_payments(Eq('student_id',student_id) & Eq('category','schoolfee2') & Eq('session_id',session) & Eq('status','paid')) 70 71 if not second_instalment_records:
Note: See TracChangeset for help on using the changeset viewer.