Index: /main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/export.py
===================================================================
--- /main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/export.py	(revision 17621)
+++ /main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/export.py	(revision 17622)
@@ -31,5 +31,8 @@
     NigeriaStudentStudyLevelExporter,
     NigeriaCourseTicketExporter,
-    NigeriaStudentPaymentExporter)
+    NigeriaStudentPaymentExporter,
+    NigeriaDataForBursaryExporter,
+    )
+from waeup.kofa.students.export import StudentPaymentExporter
 from waeup.kofa.utils.helpers import iface_names
 
@@ -129,2 +132,38 @@
             value, name, context=context)
 
+class CustomDataForBursaryExporter(NigeriaDataForBursaryExporter):
+    """
+    """
+
+    fields = tuple(
+        sorted(iface_names(
+            ICustomStudentOnlinePayment, exclude_attribs=False,
+            omit=['display_item', 'certificate', 'student']))) + (
+            'student_id','matric_number','reg_number',
+            'firstname', 'middlename', 'lastname','sex',
+            'state','current_session',
+            'entry_session', 'entry_mode',
+            'faculty','department','certcode','lga')
+
+
+    def mangle_value(self, value, name, context=None):
+        """The mangler fetches the student data.
+        """
+        if context is not None:
+            student = context.student
+            if name in [
+                'student_id','matric_number', 'reg_number',
+                'firstname', 'middlename', 'lastname','sex',
+                'state', 'current_session',
+                'entry_session', 'entry_mode',
+                'certcode',
+                'lga'] and student is not None:
+                value = getattr(student, name, None)
+            certificate = student['studycourse'].certificate
+            if name == 'department' and certificate is not None:
+                value = certificate.__parent__.__parent__.longtitle
+            if name == 'faculty' and certificate is not None:
+                value = certificate.__parent__.__parent__.__parent__.longtitle
+        return super(
+            StudentPaymentExporter, self).mangle_value(
+            value, name, context=context)
