Ignore:
Timestamp:
3 Apr 2019, 10:55:16 (6 years ago)
Author:
Henrik Bettermann
Message:

ivama: The programme is just a replica of Part-time) same rules.

ug_dsh = Undergraduate Science and Humanities
de_dsh = Direct Entry Science and Humanities

Please use same payment configuration/restriction with part-time. Everything about Part-time payment are the same. it is just a change of name.

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

Legend:

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

    r15380 r15382  
    6464
    6565def contr_agreement_student(student):
    66     if student.current_mode in ('found', 'bridge') or student.current_mode.endswith('_pt'):
     66    if student.current_mode in (
     67        'found', 'bridge', 'ug_dsh', 'de_dsh') or student.current_mode.endswith('_pt'):
    6768        return 'first'
    6869    return 'second'
  • main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_utils.py

    r15376 r15382  
    216216        # and same counter as PTP.
    217217        self.student.matric_number = None
    218         self.student['studycourse'].certificate.study_mode = 'dsh'
     218        self.student['studycourse'].certificate.study_mode = 'ug_dsh'
    219219        msg, mnumber = utils.setMatricNumber(self.student)
    220220        self.assertEqual(self.student.matric_number, 'DSH/fac1/dep1/04/00002')
  • main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py

    r15376 r15382  
    154154        is as an attribute of the site configuration container.
    155155        """
    156         if student.current_mode in ('ug_pt', 'de_pt', 'dsh'):
     156        if student.current_mode in ('ug_pt', 'de_pt', 'ug_dsh', 'de_dsh'):
    157157            grok.getSite()['configuration'].next_matric_integer += 1
    158158            return
     
    197197            return None, "AAU/SPS/%s/%s/%s/%s/%05d" % (
    198198                faccode, depcode, year, degree, next_integer)
    199         if student.current_mode in ('dsh',):
     199        if student.current_mode in ('ug_dsh', 'de_dsh'):
    200200            next_integer = grok.getSite()['configuration'].next_matric_integer
    201201            if next_integer == 0:
  • main/waeup.aaue/trunk/src/waeup/aaue/utils/utils.py

    r15377 r15382  
    163163        'ijmbe': 'IJMBE Preparation',
    164164        'bridge': 'Bridge',
    165         'dsh': 'Science and Humanities',
     165        'ug_dsh': 'Undergraduate Science and Humanities',
     166        'de_dsh': 'Direct Entry Science and Humanities',
    166167        }
    167168
Note: See TracChangeset for help on using the changeset viewer.