Ignore:
Timestamp:
11 Feb 2016, 10:45:59 (9 years ago)
Author:
Henrik Bettermann
Message:

Parttime and fulltime postgrad students pay different acceptance fees.

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

Legend:

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

    r13647 r13678  
    549549
    550550        self.certificate.study_mode = 'special_pg_ft'
     551        self.student.matric_number = u'AAU/SPS/FLW/LAW/15/PHD/09504'
    551552        self.browser.open(self.student_path + '/studycourse/100')
    552553        self.browser.getLink("Download course registration slip").click()
  • main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py

    r13664 r13678  
    174174                amount = academic_session.clearance_fee_fp
    175175            elif student.current_mode.endswith('_pt'):
    176                 amount = academic_session.clearance_fee_pt
     176                if student.is_postgrad:
     177                    amount = academic_session.clearance_fee_pg_pt
     178                else:
     179                    amount = academic_session.clearance_fee_ug_pt
    177180            elif student.faccode == 'FCS':
    178181                # Students in clinical medical sciences pay the medical
    179182                # acceptance fee
    180183                amount = academic_session.clearance_fee_med
    181             elif student.is_postgrad:
     184            elif student.is_postgrad:  # and not part-time
    182185                amount = academic_session.clearance_fee_pg
    183186            else:
Note: See TracChangeset for help on using the changeset viewer.