- Timestamp:
- 19 Feb 2009, 10:54:25 (16 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Widgets.py
r3961 r3967 351 351 def _getSessions(self): 352 352 current_year = DateTime().year() 353 d = {'': ''} 353 #d = {'': ''} 354 d = {} 354 355 for y in range(current_year - 10,current_year + 1): 355 356 d['%s' % str(y)[-2:]] = '%4d/%4d' % (y,y+1) … … 424 425 425 426 def _getLevels(self): 426 d = {'':'','000':'Pre-Studies'} 427 #d = {'':'','000':'Pre-Studies'} 428 d = {'000':'Pre-Studies'} 427 429 for y in range(100,800,100): 428 430 d['%s' % str(y)] = 'Year %1d (%3d Level)' % (y/100,y) -
WAeUP_SRP/trunk/profiles/futminna/vocabularies/entry_modes.xml
r3900 r3967 6 6 <property name="description"></property> 7 7 <property name="acl_write_roles">Manager</property> 8 <item key="" msgid=""></item>9 8 <item key="ume_ft" msgid="">UME Full Time</item> 10 9 <item key="de_ft" msgid="">Direct Entry Full Time</item> -
WAeUP_SRP/trunk/skins/waeup_epayment/purgeSFPayments.py
r3965 r3967 30 30 paid_status = ('school_fee_paid','courses_registered','courses_validated') 31 31 students = context.students_catalog(review_state = paid_status) 32 student_total = len(students) 32 33 counter = 0 33 34 counter_unpaid = 0 34 35 commit_after = 100 35 36 records_to_del = [] 37 student_count = 0 36 38 for student in students: 39 student_count += 1 37 40 to_del = [] 38 41 student_id = student.id … … 49 52 if getattr(payments_folder,pid,False): 50 53 to_del += pid, 51 logger.info('object deleted: %s , %s' % (payment.student_id, pid))54 logger.info('object deleted: %s (%d of %d), %s' % (payment.student_id, student_count, student_total, pid)) 52 55 else: 53 56 logger.info('no object: %s, %s' % (payment.student_id, pid))
Note: See TracChangeset for help on using the changeset viewer.