Ignore:
Timestamp:
21 May 2015, 17:05:42 (10 years ago)
Author:
Henrik Bettermann
Message:

To guarantee that cleared students pay both acceptance fees and
school fees, a school fee payment POST request to the Interswitch
CollegePAY payment gateway can only be sent if
acceptance/clearance fee has been successfully queried/paid
beforehand. This requirement applies to students in state 'cleared'
and entry_session greater than 2013 only, see ticket #119.

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

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py

    r11653 r12975  
    8181            and student.state in (PAID, ) \
    8282            and student.is_fresh:
    83             return None, "PTP/%s/%s/%s/%05d" % (faccode, depcode, year, next_integer)
     83            return None, "PTP/%s/%s/%s/%05d" % (
     84                faccode, depcode, year, next_integer)
     85
    8486        #if student.current_mode in ('pg_ft', 'pg_pt'):
    85         #    return None, "SPS/%s/%s/%s/%05d" % (faccode, depcode, year, next_integer)
     87        #    return None, "SPS/%s/%s/%s/%05d" % (
     88        #    faccode, depcode, year, next_integer)
    8689        #if student.current_mode in ('dp_ft', 'dp_pt'):
    87         #    return None, "DIP/%s/%s/%s/%05d" % (faccode, depcode, year, next_integer)
     90        #    return None, "DIP/%s/%s/%s/%05d" % (
     91        #    faccode, depcode, year, next_integer)
    8892        #if student.current_mode == 'found':
    89         #    return _('Foundation programme students don\'t have matric number.'), None
     93        #    return _(
     94        #    'Foundation programme students don\'t have matric number.'), None
    9095        #return None, "%s/%s/%s/%05d" % (faccode, depcode, year, next_integer)
     96
    9197        return _('Matriculation number cannot be set.'), None
    9298
  • main/waeup.aaue/trunk/src/waeup/aaue/students/viewlets.py

    r11626 r12975  
    5353        if self.context.matric_number:
    5454            return ''
    55         error, matric_number = students_utils.constructMatricNumber(self.context)
     55        error, matric_number = students_utils.constructMatricNumber(
     56            self.context)
    5657        if error:
    5758            return ''
Note: See TracChangeset for help on using the changeset viewer.