Index: main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py
===================================================================
--- main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py	(revision 11882)
+++ main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py	(revision 11913)
@@ -84,6 +84,5 @@
     def test_manage_payments(self):
         # Add missing configuration data
-        self.app['configuration']['2004'].gown_fee = 150.0
-        self.app['configuration']['2004'].transfer_fee = 90.0
+        self.app['configuration']['2004'].third_semester_fee = 90.0
         self.app['configuration']['2004'].clearance_fee = 120.0
         self.app['configuration']['2004'].booking_fee = 150.0
@@ -131,10 +130,11 @@
                            self.browser.contents)
         self.browser.open(self.payments_path + '/addop')
-        self.browser.getControl(name="form.p_category").value = ['gown']
-        self.browser.getControl("Create ticket").click()
-        self.assertMatches('...ticket created...',
-                           self.browser.contents)
-        self.browser.open(self.payments_path + '/addop')
-        self.browser.getControl(name="form.p_category").value = ['transfer']
+        self.browser.getControl(name="form.p_category").value = ['third_semester']
+        self.browser.getControl("Create ticket").click()
+        self.assertMatches('...could not be determined...',
+                           self.browser.contents)
+        self.certificate.study_mode = 'nce_ft'
+        self.browser.open(self.payments_path + '/addop')
+        self.browser.getControl(name="form.p_category").value = ['third_semester']
         self.browser.getControl("Create ticket").click()
         self.assertMatches('...ticket created...',
@@ -214,6 +214,5 @@
 
     def test_set_payment_details(self):
-        self.app['configuration']['2004'].gown_fee = 150.0
-        self.app['configuration']['2004'].transfer_fee = 90.0
+        self.app['configuration']['2004'].third_semester_fee = 90.0
         self.app['configuration']['2004'].booking_fee = 150.0
         self.app['configuration']['2004'].maint_fee = 180.0
@@ -274,11 +273,4 @@
         self.assertEqual(error, None)
 
-        error, payment = utils.setPaymentDetails('gown',self.student)
-        self.assertEqual(payment.p_level, 100)
-        self.assertEqual(payment.p_session, 2004)
-        self.assertEqual(payment.amount_auth, 300.0)
-        self.assertEqual(payment.p_item, u'')
-        self.assertEqual(error, None)
-
         self.student['studycourse'].current_session = 2005
         error, payment = utils.setPaymentDetails('hostel_maintenance',self.student)
@@ -294,4 +286,11 @@
         self.assertEqual(error, None)
 
+        error, payment = utils.setPaymentDetails('third_semester',self.student)
+        self.assertEqual(payment.p_level, 100)
+        self.assertEqual(payment.p_session, 2004)
+        self.assertEqual(payment.amount_auth, 240.0)
+        self.assertEqual(payment.p_item, u'')
+        self.assertEqual(error, None)
+
         self.certificate.study_mode = u'nce_sw'
         error, payment = utils.setPaymentDetails('hostel_maintenance',self.student)
@@ -306,11 +305,4 @@
         self.assertEqual(payment.p_session, 2004)
         self.assertEqual(payment.amount_auth, 300.0)
-        self.assertEqual(payment.p_item, u'')
-        self.assertEqual(error, None)
-
-        error, payment = utils.setPaymentDetails('transfer',self.student)
-        self.assertEqual(payment.p_level, 100)
-        self.assertEqual(payment.p_session, 2004)
-        self.assertEqual(payment.amount_auth, 240.0)
         self.assertEqual(payment.p_item, u'')
         self.assertEqual(error, None)
Index: main/waeup.fceokene/trunk/src/waeup/fceokene/students/utils.py
===================================================================
--- main/waeup.fceokene/trunk/src/waeup/fceokene/students/utils.py	(revision 11882)
+++ main/waeup.fceokene/trunk/src/waeup/fceokene/students/utils.py	(revision 11913)
@@ -138,4 +138,6 @@
             except (AttributeError, TypeError):
                 return _('Study course data are incomplete.'), None
+        elif category == 'third_semester' and student.current_mode == 'nce_ft':
+            amount = academic_session.third_semester_fee
         elif category == 'schoolfee':
             try:
