Index: main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/utils.py
===================================================================
--- main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/utils.py	(revision 15661)
+++ main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/utils.py	(revision 15663)
@@ -81,5 +81,5 @@
         # Determine fee.
         if category in ('schoolfee', 'schoolfee40',
-                        'schoolfee50', 'schoolfee60'):
+                        'secondinstal'):
             try:
                 certificate = student['studycourse'].certificate
@@ -121,4 +121,8 @@
                             ), None
                     amount = getattr(certificate, 'school_fee_2', 0.0)
+            if category == 'schoolfee40':
+                amount *= 0.4
+            elif category == 'secondinstal':
+                amount *= 0.6
         elif category == 'clearance':
             try:
