Ignore:
Timestamp:
4 Nov 2007, 20:15:03 (17 years ago)
Author:
Henrik Bettermann
Message:

show proper application statistics
commit after 2000 if importing application data

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

    r2385 r2528  
    2020            <table tal:define="info_applicants context/getApplicantsStatistics">
    2121            <tr>
    22               <td>PUME Screening Applications:</td>
     22              <td>PUME Applications - submitted:</td>
    2323              <td><span tal:replace="info_applicants/submitted_pume" /></td> 
    2424            </tr>
    2525            <tr>
    26               <td>PUDE Screening Applications:</td>
     26              <td>PUME Applications - admitted:</td>
     27              <td><span tal:replace="info_applicants/admitted_pume" /></td> 
     28            </tr>
     29            <tr>
     30              <td>PUME Applications - not admitted:</td>
     31              <td><span tal:replace="info_applicants/not_admitted_pume" /></td> 
     32            </tr>                       
     33            <tr>
     34              <td>PUDE Applications - submitted:</td>
    2735              <td><span tal:replace="info_applicants/submitted_pde" /></td>
    2836            </tr>
  • WAeUP_SRP/base/skins/waeup_student/getApplicantsStatistics.py

    r2385 r2528  
    2626#res_submitted = context.applicants_catalog(status = 'submitted')
    2727res_submitted_pume = context.applicants_catalog(status = 'submitted', screening_type = 'pume')
     28res_admitted_pume = context.applicants_catalog(status = 'admitted', screening_type = 'pume')
     29res_not_admitted_pume = context.applicants_catalog(status = 'not admitted', screening_type = 'pume')
    2830res_submitted_pde = context.applicants_catalog(status = 'submitted', screening_type = 'pde')
    2931#info['entered'] = len(res_entered)
     
    3335
    3436info['submitted_pume'] = len(res_submitted_pume)
     37info['admitted_pume'] = len(res_admitted_pume)
     38info['not_admitted_pume'] = len(res_not_admitted_pume)
    3539info['submitted_pde'] = len(res_submitted_pde)
    3640
Note: See TracChangeset for help on using the changeset viewer.