- Timestamp:
- 19 Nov 2007, 07:18:47 (17 years ago)
- Location:
- WAeUP_SRP/base/skins/waeup_statistics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_statistics/getSimpleStudentStatistics.py
r2705 r2707 85 85 dict['total_Bdp'] = len(res_Bpt) 86 86 87 res_Cft = context.students_catalog(review_state = catC, mode = full_time )87 res_Cft = context.students_catalog(review_state = catC, mode = full_time, session = current_session) 88 88 dict['total_Cft'] = len(res_Cft) 89 89 90 res_Cpt = context.students_catalog(review_state = catC, mode = part_time )90 res_Cpt = context.students_catalog(review_state = catC, mode = part_time, session = current_session) 91 91 dict['total_Cpt'] = len(res_Cpt) 92 92 93 res_Cdp = context.students_catalog(review_state = catC, mode = diploma )93 res_Cdp = context.students_catalog(review_state = catC, mode = diploma, session = current_session) 94 94 dict['total_Cdp'] = len(res_Cdp) 95 95 … … 97 97 res_total = context.students_catalog() 98 98 dict['total_in_catalog'] = len(res_total) 99 dict['not_categorized'] = dict['total_in_catalog'] - dict['total_ Aft'] - dict['total_Apt'] - dict['total_Adp'] - dict['total_Cft'] - dict['total_Cpt'] - dict['total_Cdp']99 dict['not_categorized'] = dict['total_in_catalog'] - dict['total_ft'] - dict['total_pt'] - dict['total_dp'] 100 100 101 101 l.append(dict) … … 134 134 dict['total_Bdp'] = len(res_Bpt) 135 135 136 res_Cft = context.students_catalog(faculty = f.getId, review_state = catC, mode = full_time )136 res_Cft = context.students_catalog(faculty = f.getId, review_state = catC, mode = full_time, session = current_session) 137 137 dict['total_Cft'] = len(res_Cft) 138 138 139 res_Cpt = context.students_catalog(faculty = f.getId, review_state = catC, mode = part_time )139 res_Cpt = context.students_catalog(faculty = f.getId, review_state = catC, mode = part_time, session = current_session) 140 140 dict['total_Cpt'] = len(res_Cpt) 141 141 142 res_Cdp = context.students_catalog(faculty = f.getId, review_state = catC, mode = diploma )142 res_Cdp = context.students_catalog(faculty = f.getId, review_state = catC, mode = diploma, session = current_session) 143 143 dict['total_Cdp'] = len(res_Cdp) 144 144 -
WAeUP_SRP/base/skins/waeup_statistics/statistics_simple_view.pt
r2705 r2707 119 119 <tr><td>Category A: </td> <td>students who paid their school fee in <span tal:content="session_str" /></td></tr> 120 120 <tr><td>Category B: </td> <td>students who registered their courses online (A contains B) in <span tal:content="session_str" /></td></tr> 121 <tr><td>Category C: </td> <td>students who have not yet paid their school fee in <span tal:content="session_str" /></td></tr>121 <tr><td>Category C: </td> <td>students who 'arrived' in <span tal:content="session_str" /> but have not yet paid their school fee</td></tr> 122 122 <tr><td> </td><td> </td></tr> 123 <tr><td colspan="2"> 123 <tr><td colspan="2"><strong>Remark:</strong> <span tal:content="python: faculties[0]['not_categorized']" /> returning students have not yet logged in and are thus not categorized. 124 124 </td> 125 125 </tr>
Note: See TracChangeset for help on using the changeset viewer.