Changeset 3960
- Timestamp:
- 12 Feb 2009, 06:03:29 (16 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_aaua/getAccommodationInfo.py
r3690 r3960 66 66 info['student_status'] = '' 67 67 return info 68 69 try: 70 arrived = int(student_record.session) == int(session[0]) 71 except: 72 arrived = False 73 logger.info('%s has invalid session %s' % (student_id,student_record.session)) 68 74 69 if review_state in ('school_fee_paid','courses_registered', 'courses_validated',) and student_record.session == session[0]:75 if review_state in ('school_fee_paid','courses_registered', 'courses_validated',) and arrived: 70 76 info['booking_allowed'] = True 71 77 info['online_payment'] = True -
WAeUP_SRP/trunk/skins/waeup_accommodation/getAccommodationInfo.py
r3863 r3960 77 77 ) 78 78 79 new = student_record.entry_session == session[0] 80 arrived = student_record.session == session[0] 79 try: 80 new = int(student_record.entry_session) == int(session[0]) 81 except: 82 logger.info('%s has invalid entry_session %s' % (student_id,student_record.entry_session)) 83 try: 84 arrived = int(student_record.session) == int(session[0]) 85 except: 86 logger.info('%s has invalid session %s' % (student_id,student_record.session)) 81 87 82 88 level = None -
WAeUP_SRP/trunk/skins/waeup_epayment/getSchoolFee.py
r3709 r3960 27 27 '06': ('22200','23700'), 28 28 '07': ('22200','23700'), 29 '08': ('22200','23700'), 30 '1': ('22200','23700'), 31 '2': ('22200','23700'), 32 '3': ('22200','23700'), 33 '4': ('22200','23700'), 34 '5': ('22200','23700'), 35 '6': ('22200','23700'), 36 '7': ('22200','23700'), 37 '8': ('22200','23700'), 29 38 } 30 39 pt_fees = { -
WAeUP_SRP/trunk/skins/waeup_fceokene/getAccommodationInfo.py
r3690 r3960 67 67 return info 68 68 69 if review_state in ('school_fee_paid','courses_registered', 'courses_validated',) and student_record.session == session[0]: 69 try: 70 arrived = int(student_record.session) == int(session[0]) 71 except: 72 arrived = False 73 logger.info('%s has invalid session %s' % (student_id,student_record.session)) 74 75 if review_state in ('school_fee_paid','courses_registered', 'courses_validated',) and arrived: 70 76 info['booking_allowed'] = True 71 77 info['online_payment'] = True -
WAeUP_SRP/trunk/skins/waeup_fceoyo/getAccommodationInfo.py
r3714 r3960 66 66 info['student_status'] = '' 67 67 return info 68 69 try: 70 arrived = int(student_record.session) == int(session[0]) 71 except: 72 arrived = False 73 logger.info('%s has invalid session %s' % (student_id,student_record.session)) 68 74 69 if review_state in ('school_fee_paid','courses_registered', 'courses_validated',) and student_record.session == session[0]:75 if review_state in ('school_fee_paid','courses_registered', 'courses_validated',) and arrived: 70 76 info['booking_allowed'] = True 71 77 info['online_payment'] = True -
WAeUP_SRP/trunk/skins/waeup_futminna/getAccommodationInfo.py
r3843 r3960 69 69 return info 70 70 71 if review_state in ('cleared_and_validated','school_fee_paid','courses_registered', 'courses_validated',) and student_record.session == session[0]: 71 try: 72 arrived = int(student_record.session) == int(session[0]) 73 except: 74 arrived = False 75 logger.info('%s has invalid session %s' % (student_id,student_record.session)) 76 77 if review_state in ('cleared_and_validated','school_fee_paid','courses_registered', 'courses_validated',) and arrived: 72 78 info['booking_allowed'] = True 73 79 info['online_payment'] = True
Note: See TracChangeset for help on using the changeset viewer.