- Timestamp:
- 17 Nov 2007, 07:36:29 (17 years ago)
- Location:
- WAeUP_SRP/base/skins/waeup_student
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_student/apply_admission_manage_form.pt
r2528 r2685 20 20 <table tal:define="info_applicants context/getApplicantsStatistics"> 21 21 <tr> 22 <td>PUME Applica tions - submitted:</td>22 <td>PUME Applicants (status submitted):</td> 23 23 <td><span tal:replace="info_applicants/submitted_pume" /></td> 24 24 </tr> 25 25 <tr> 26 <td>PU ME Applications - admitted:</td>27 <td><span tal:replace="info_applicants/ admitted_pume" /></td>26 <td>PUDE Applicants (status submitted):</td> 27 <td><span tal:replace="info_applicants/submitted_pde" /></td> 28 28 </tr> 29 29 <tr> 30 <td>PUME Applications - not admitted:</td> 31 <td><span tal:replace="info_applicants/not_admitted_pume" /></td> 30 <td>Admitted Applicants (status admitted):</td> 31 <td><span tal:replace="info_applicants/admitted" /></td> 32 </tr> 33 <tr> 34 <td>Non-admitted Applicants (status not admitted):</td> 35 <td><span tal:replace="info_applicants/not_admitted" /></td> 32 36 </tr> 37 33 38 <tr> 34 <td> PUDE Applications - submitted:</td>35 <td><span tal:replace="info_applicants/ submitted_pde" /></td>36 </tr> 39 <td>Student Records Created (status created):</td> 40 <td><span tal:replace="info_applicants/created" /></td> 41 </tr> 37 42 </table> 38 43 -
WAeUP_SRP/base/skins/waeup_student/getApplicantsStatistics.py
r2528 r2685 22 22 23 23 info = {} 24 #res_entered = context.applicants_catalog(status = 'entered')25 #res_edited = context.applicants_catalog(status = 'edited')26 #res_submitted = context.applicants_catalog(status = 'submitted')27 24 res_submitted_pume = context.applicants_catalog(status = 'submitted', screening_type = 'pume') 28 res_admitted_pume = context.applicants_catalog(status = 'admitted', screening_type = 'pume') 29 res_not_admitted_pume = context.applicants_catalog(status = 'not admitted', screening_type = 'pume') 25 res_not_admitted = context.applicants_catalog(status = 'not admitted') 30 26 res_submitted_pde = context.applicants_catalog(status = 'submitted', screening_type = 'pde') 31 #info['entered'] = len(res_entered) 32 #info['edited'] = len(res_edited) 33 #info['submitted'] = len(res_submitted) 34 #info['pin_entered'] = info['entered'] + info['submitted'] + info['edited'] 27 res_admitted = context.applicants_catalog(status = 'admitted') 28 res_created = context.applicants_catalog(status = 'created') 35 29 36 30 info['submitted_pume'] = len(res_submitted_pume) 37 info['admitted _pume'] = len(res_admitted_pume)38 info['not_admitted _pume'] = len(res_not_admitted_pume)31 info['admitted'] = len(res_admitted) 32 info['not_admitted'] = len(res_not_admitted_pume) 39 33 info['submitted_pde'] = len(res_submitted_pde) 34 info['created'] = len(res_created) 40 35 41 36 return info
Note: See TracChangeset for help on using the changeset viewer.