Index: /main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py
===================================================================
--- /main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py	(revision 15381)
+++ /main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py	(revision 15382)
@@ -64,5 +64,6 @@
 
 def contr_agreement_student(student):
-    if student.current_mode in ('found', 'bridge') or student.current_mode.endswith('_pt'):
+    if student.current_mode in (
+        'found', 'bridge', 'ug_dsh', 'de_dsh') or student.current_mode.endswith('_pt'):
         return 'first'
     return 'second'
Index: /main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_utils.py
===================================================================
--- /main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_utils.py	(revision 15381)
+++ /main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_utils.py	(revision 15382)
@@ -216,5 +216,5 @@
         # and same counter as PTP.
         self.student.matric_number = None
-        self.student['studycourse'].certificate.study_mode = 'dsh'
+        self.student['studycourse'].certificate.study_mode = 'ug_dsh'
         msg, mnumber = utils.setMatricNumber(self.student)
         self.assertEqual(self.student.matric_number, 'DSH/fac1/dep1/04/00002')
Index: /main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py
===================================================================
--- /main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py	(revision 15381)
+++ /main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py	(revision 15382)
@@ -154,5 +154,5 @@
         is as an attribute of the site configuration container.
         """
-        if student.current_mode in ('ug_pt', 'de_pt', 'dsh'):
+        if student.current_mode in ('ug_pt', 'de_pt', 'ug_dsh', 'de_dsh'):
             grok.getSite()['configuration'].next_matric_integer += 1
             return
@@ -197,5 +197,5 @@
             return None, "AAU/SPS/%s/%s/%s/%s/%05d" % (
                 faccode, depcode, year, degree, next_integer)
-        if student.current_mode in ('dsh',):
+        if student.current_mode in ('ug_dsh', 'de_dsh'):
             next_integer = grok.getSite()['configuration'].next_matric_integer
             if next_integer == 0:
Index: /main/waeup.aaue/trunk/src/waeup/aaue/utils/utils.py
===================================================================
--- /main/waeup.aaue/trunk/src/waeup/aaue/utils/utils.py	(revision 15381)
+++ /main/waeup.aaue/trunk/src/waeup/aaue/utils/utils.py	(revision 15382)
@@ -163,5 +163,6 @@
         'ijmbe': 'IJMBE Preparation',
         'bridge': 'Bridge',
-        'dsh': 'Science and Humanities',
+        'ug_dsh': 'Undergraduate Science and Humanities',
+        'de_dsh': 'Direct Entry Science and Humanities',
         }
 
