Changeset 14380 for main


Ignore:
Timestamp:
10 Jan 2017, 09:24:58 (8 years ago)
Author:
Henrik Bettermann
Message:

A GPA of 1.5 is for students with entry session 2013/2014 till date and 1.0 is for 2012/2013 backward.

Location:
main/waeup.aaue/trunk/src/waeup/aaue
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py

    r14376 r14380  
    214214        # been successfully queried/paid beforehand. This
    215215        # requirement applies to students in state 'cleared' and
    216         # entry_session greater than 2013 only.
     216        # entry_session greater than 2012 only.
    217217        if self.context.p_category.startswith('schoolfee') and \
    218218            student.state == CLEARED and \
  • main/waeup.aaue/trunk/src/waeup/aaue/students/studylevel.py

    r14377 r14380  
    175175        certificate = getattr(self.__parent__,'certificate',None)
    176176        end_level = getattr(certificate, 'end_level', None)
     177        failed_limit = 1.5
     178        if self.student.entry_session < 2013:
     179            failed_limit = 1.0
    177180        # final level student remark
    178181        if end_level and self.level >= end_level:
     
    180183            if '_m' in failed_courses:
    181184                return 'FRNS'
    182             if self.cumulative_params[0] < 1.5:
     185            if self.cumulative_params[0] < failed_limit:
    183186                return 'Fail'
    184187            if self.cumulative_params[0] < 2.4:
     
    192195            return 'N/A'
    193196        # returning student remark
    194         if self.cumulative_params[0] < 1.5:
     197        if self.cumulative_params[0] < failed_limit:
    195198            return 'Probation'
    196199        if self.cumulative_params[0] < 5.1:
Note: See TracChangeset for help on using the changeset viewer.