Index: /main/waeup.futminna/trunk/src/waeup/futminna/README.txt
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/README.txt	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/README.txt	(revision 8619)
@@ -0,0 +1,4 @@
+The waeup.futminna package
+************************
+
+A customized portal software for student registration.
Index: /main/waeup.futminna/trunk/src/waeup/futminna/__init__.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/__init__.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/__init__.py	(revision 8619)
@@ -0,0 +1,1 @@
+# Make this a package.
Index: /main/waeup.futminna/trunk/src/waeup/futminna/applicants/__init__.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/applicants/__init__.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/applicants/__init__.py	(revision 8619)
@@ -0,0 +1,1 @@
+# Make this a package.
Index: /main/waeup.futminna/trunk/src/waeup/futminna/applicants/applicant.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/applicants/applicant.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/applicants/applicant.py	(revision 8619)
@@ -0,0 +1,46 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+
+import grok
+from zope.interface import implementedBy
+from waeup.kofa.applicants.applicant import Applicant, ApplicantFactory
+from waeup.kofa.utils.helpers import attrs_to_fields
+from waeup.futminna.applicants.interfaces import(
+    ICustomApplicant, IUGApplicantEdit, IPGApplicantEdit, IPUTMEApplicantEdit)
+
+class CustomApplicant(Applicant):
+
+    grok.implements(ICustomApplicant, IUGApplicantEdit,
+        IPGApplicantEdit, IPUTMEApplicantEdit)
+    grok.provides(ICustomApplicant)
+
+# Set all attributes of Applicant required in IApplicant as field
+# properties. Doing this, we do not have to set initial attributes
+# ourselves and as a bonus we get free validation when an attribute is
+# set.
+CustomApplicant = attrs_to_fields(CustomApplicant)
+
+class CustomApplicantFactory(ApplicantFactory):
+    """A factory for customized applicants.
+    """
+
+    def __call__(self, *args, **kw):
+        return CustomApplicant()
+
+    def getInterfaces(self):
+        return implementedBy(CustomApplicant)
Index: /main/waeup.futminna/trunk/src/waeup/futminna/applicants/batching.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/applicants/batching.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/applicants/batching.py	(revision 8619)
@@ -0,0 +1,39 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""Batch processing for applicants.
+"""
+from waeup.kofa.interfaces import MessageFactory as _
+from waeup.kofa.utils.batching import BatchProcessor
+from waeup.kofa.applicants.batching import ApplicantProcessor
+from waeup.futminna.applicants.interfaces import (
+    ICustomApplicant, ICustomApplicantUpdateByRegNo)
+
+class CustomApplicantProcessor(ApplicantProcessor):
+    """A batch processor for IApplicant objects.
+
+    In create mode container_code is required. If application_number is given
+    an applicant with this number is created in the designated container.
+    If application_number is not given a random application_number is assigned.
+    applicant_id is being determined by the system and can't be imported.
+
+    In update or remove mode container_code and application_number columns
+    must not exist. The applicant object is solely searched by its applicant_id
+    or reg_number.
+    """
+    iface = ICustomApplicant
+    iface_byregnumber = ICustomApplicantUpdateByRegNo
Index: /main/waeup.futminna/trunk/src/waeup/futminna/applicants/browser.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/applicants/browser.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/applicants/browser.py	(revision 8619)
@@ -0,0 +1,187 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""UI components for basic applicants and related components.
+"""
+import grok
+from zope.component import getUtility
+from zope.i18n import translate
+from waeup.kofa.widgets.datewidget import FriendlyDatetimeDisplayWidget
+from waeup.kofa.students.interfaces import IStudentsUtils
+from waeup.kofa.applicants.interfaces import (
+    IApplicantRegisterUpdate, IApplicant, IApplicantEdit)
+from waeup.kofa.applicants.browser import (ApplicantDisplayFormPage,
+    ExportPDFPage,
+    ApplicantManageFormPage, ApplicantEditFormPage,
+    ApplicantRegistrationPage, ApplicantAddFormPage,
+    OnlinePaymentDisplayFormPage, ApplicationFeePaymentAddPage,
+    OnlinePaymentBreadcrumb, ExportPDFPaymentSlipPage,
+    ApplicantBaseDisplayFormPage)
+from waeup.kofa.applicants.viewlets import (
+    PaymentReceiptActionButton)
+from waeup.kofa.applicants.pdf import PDFApplicationSlip
+from waeup.futminna.applicants.interfaces import (
+    IPGApplicant, IUGApplicant, IPGApplicantEdit, IUGApplicantEdit,
+    ICustomApplicantOnlinePayment, IPUTMEApplicantEdit,
+    UG_OMIT_DISPLAY_FIELDS, PG_OMIT_DISPLAY_FIELDS,
+    UG_OMIT_PDF_FIELDS, PG_OMIT_PDF_FIELDS,
+    UG_OMIT_MANAGE_FIELDS, PG_OMIT_MANAGE_FIELDS,
+    UG_OMIT_EDIT_FIELDS, PG_OMIT_EDIT_FIELDS, PUTME_OMIT_EDIT_FIELDS)
+from waeup.futminna.interfaces import MessageFactory as _
+
+#class RequestCallbackActionButton(RequestCallbackActionButton):
+#    """ Display the base package callback button in custom pages.
+#    """
+#    grok.context(ICustomApplicantOnlinePayment)
+
+#class CustomOnlinePaymentCallbackPage(OnlinePaymentCallbackPage):
+#    """ Activate callback simulation view
+#    """
+#    grok.context(ICustomApplicantOnlinePayment)
+
+class CustomOnlinePaymentBreadcrumb(OnlinePaymentBreadcrumb):
+    """A breadcrumb for payments.
+    """
+    grok.context(ICustomApplicantOnlinePayment)
+
+class PaymentReceiptActionButton(PaymentReceiptActionButton):
+    grok.order(4)
+    grok.context(ICustomApplicantOnlinePayment)
+
+class CustomPDFApplicationSlip(PDFApplicationSlip):
+
+    @property
+    def note(self):
+        target = getattr(self.context.__parent__, 'prefix', None)
+        if target is not None and not target.startswith('pg'):
+            return _(u'<br /><br /><br />'
+                      'Comfirm your exam venue 72 hours to the exam.')
+        return
+
+    @property
+    def form_fields(self):
+        target = getattr(self.context.__parent__, 'prefix', None)
+        if target is not None and target.startswith('pg'):
+            form_fields = grok.AutoFields(IPGApplicant)
+            for field in PG_OMIT_PDF_FIELDS:
+                form_fields = form_fields.omit(field)
+        else:
+            form_fields = grok.AutoFields(IUGApplicant)
+            for field in UG_OMIT_PDF_FIELDS:
+                form_fields = form_fields.omit(field)
+        return form_fields
+
+class CustomApplicantDisplayFormPage(ApplicantDisplayFormPage):
+    """A display view for applicant data.
+    """
+
+    @property
+    def form_fields(self):
+        target = getattr(self.context.__parent__, 'prefix', None)
+        if target is not None and target.startswith('pg'):
+            form_fields = grok.AutoFields(IPGApplicant)
+            for field in PG_OMIT_DISPLAY_FIELDS:
+                form_fields = form_fields.omit(field)
+        else:
+            form_fields = grok.AutoFields(IUGApplicant)
+            for field in UG_OMIT_DISPLAY_FIELDS:
+                form_fields = form_fields.omit(field)
+        return form_fields
+
+class CustomApplicantManageFormPage(ApplicantManageFormPage):
+    """A full edit view for applicant data.
+    """
+    
+    @property
+    def form_fields(self):
+        target = getattr(self.context.__parent__, 'prefix', None)
+        if target is not None and target.startswith('pg'):
+            form_fields = grok.AutoFields(IPGApplicant)
+            for field in PG_OMIT_MANAGE_FIELDS:
+                form_fields = form_fields.omit(field)
+        else:
+            form_fields = grok.AutoFields(IUGApplicant)
+            for field in UG_OMIT_MANAGE_FIELDS:
+                form_fields = form_fields.omit(field)
+        form_fields['student_id'].for_display = True
+        form_fields['applicant_id'].for_display = True
+        return form_fields
+
+class CustomApplicantEditFormPage(ApplicantEditFormPage):
+    """An applicant-centered edit view for applicant data.
+    """
+
+    @property
+    def form_fields(self):
+        target = getattr(self.context.__parent__, 'prefix', None)
+        if target is not None and target.startswith('pg'):
+            form_fields = grok.AutoFields(IPGApplicantEdit)
+            for field in PG_OMIT_EDIT_FIELDS:
+                form_fields = form_fields.omit(field)
+        elif target is not None and target.startswith('putme'):
+            form_fields = grok.AutoFields(IPUTMEApplicantEdit)
+            for field in PUTME_OMIT_EDIT_FIELDS:
+                form_fields = form_fields.omit(field)
+        else:
+            form_fields = grok.AutoFields(IUGApplicantEdit)
+            for field in UG_OMIT_EDIT_FIELDS:
+                form_fields = form_fields.omit(field)
+        form_fields['applicant_id'].for_display = True
+        form_fields['reg_number'].for_display = True
+        return form_fields
+
+class CustomOnlinePaymentDisplayFormPage(OnlinePaymentDisplayFormPage):
+    """ Page to view an online payment ticket
+    """
+    grok.context(ICustomApplicantOnlinePayment)
+    form_fields = grok.AutoFields(ICustomApplicantOnlinePayment).omit('ac')
+    form_fields[
+        'creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
+    form_fields[
+        'payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
+    grok.template('payment_view')
+
+    @property
+    def transaction_code(self):
+        tcode = self.context.p_id
+        return tcode[len(tcode)-8:len(tcode)]
+
+class CustomApplicationFeePaymentAddPage(ApplicationFeePaymentAddPage):
+    """ Page to add an online payment ticket
+    """
+    factory = u'waeup.CustomApplicantOnlinePayment'
+
+class CustomExportPDFPaymentSlipPage(ExportPDFPaymentSlipPage):
+    """Deliver a PDF slip of the context.
+    """
+    grok.context(ICustomApplicantOnlinePayment)
+    form_fields = grok.AutoFields(ICustomApplicantOnlinePayment).omit('ac')
+    form_fields['creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
+    form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
+
+    @property
+    def note(self):
+        if self.context.p_state == 'paid':
+            return None
+        tcode = self.context.p_id
+        tcode = tcode[len(tcode)-8:len(tcode)]
+        amount = self.context.amount_auth
+        note = translate(_(
+            u"""<br /><br /><br />
+The tranzaction code is <strong>${a}</strong>.""",
+            mapping = {'a':tcode}))
+        return note
Index: /main/waeup.futminna/trunk/src/waeup/futminna/applicants/browser_templates/payment_view.pt
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/applicants/browser_templates/payment_view.pt	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/applicants/browser_templates/payment_view.pt	(revision 8619)
@@ -0,0 +1,18 @@
+<table class="form-table" i18n:domain="waeup.custom"
+  tal:define="files provider:files">
+  <tbody>
+    <tal:widgets content="structure provider:widgets" />
+    <tr tal:condition="python: files.replace('\n','')">
+      <td class="separator" colspan=2 i18n:translate="">
+        Uploaded Files
+      </td>
+    </tr>
+    <tal:files content="structure files" />
+    <tr>
+      <td class="fieldname">
+        <span i18n:translate="">Transaction Code</span>:
+      </td>
+      <td tal:content="view/transaction_code">TRANSACTIONCODE</td>
+    </tr>
+  </tbody>
+</table>
Index: /main/waeup.futminna/trunk/src/waeup/futminna/applicants/export.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/applicants/export.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/applicants/export.py	(revision 8619)
@@ -0,0 +1,33 @@
+## $Id$
+##
+## Copyright (C) 2012 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""Exporters for applicant-related stuff.
+"""
+import grok
+from waeup.kofa.applicants.interfaces import IApplicantBaseData
+from waeup.kofa.applicants.export import ApplicantsExporter
+from waeup.futminna.applicants.interfaces import IUGApplicant, IPGApplicant
+
+class CustomApplicantsExporter(ApplicantsExporter):
+    """Exporter for Custom Applicants.
+    """
+
+    fields = tuple(sorted(set(
+        IUGApplicant.names() +
+        IPGApplicant.names() +
+        IApplicantBaseData.names()
+        ))) + ('container_code',)
Index: /main/waeup.futminna/trunk/src/waeup/futminna/applicants/interfaces.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/applicants/interfaces.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/applicants/interfaces.py	(revision 8619)
@@ -0,0 +1,383 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""Customized interfaces of the university application package.
+"""
+
+from zope import schema
+from waeup.kofa.applicants.interfaces import (
+    IApplicantBaseData,
+    AppCatCertificateSource, CertificateSource)
+from waeup.kofa.schoolgrades import ResultEntryField
+from waeup.kofa.interfaces import (
+    SimpleKofaVocabulary, academic_sessions_vocab, validate_email)
+from waeup.kofa.schema import FormattedDate, TextLineChoice
+from waeup.kofa.students.vocabularies import nats_vocab, GenderSource
+from waeup.kofa.applicants.interfaces import contextual_reg_num_source
+from waeup.futminna.interfaces import (
+    LGASource, high_qual, high_grade, exam_types)
+from waeup.futminna.interfaces import MessageFactory as _
+from waeup.futminna.payments.interfaces import ICustomOnlinePayment
+
+UG_OMIT_DISPLAY_FIELDS = ('locked', 'course_admitted', 'password')
+UG_OMIT_PDF_FIELDS = UG_OMIT_DISPLAY_FIELDS + ('email', 'phone')
+UG_OMIT_MANAGE_FIELDS = ()
+UG_OMIT_EDIT_FIELDS = UG_OMIT_MANAGE_FIELDS + ('locked', 'course_admitted',
+    'student_id', 'screening_score', 'screening_venue', 'notice',
+    'screening_date')
+PUTME_OMIT_EDIT_FIELDS = UG_OMIT_EDIT_FIELDS + (
+    'firstname', 'middlename', 'lastname', 'sex',
+    'course1', 'lga', 'jamb_score', 'jamb_subjects')
+
+PG_OMIT_DISPLAY_FIELDS = ('locked', 'course_admitted', 'password')
+PG_OMIT_PDF_FIELDS = UG_OMIT_DISPLAY_FIELDS + ('email', 'phone')
+PG_OMIT_MANAGE_FIELDS = ()
+PG_OMIT_EDIT_FIELDS = PG_OMIT_MANAGE_FIELDS + (
+    'locked', 'course_admitted',
+    'student_id', 'screening_score', 'screening_venue', 'notice',
+    'screening_date')
+
+class IUGApplicant(IApplicantBaseData):
+    """An undergraduate applicant.
+
+    This interface defines the least common multiple of all fields
+    in ug application forms. In customized forms, fields can be excluded by
+    adding them to the UG_OMIT* tuples.
+    """
+
+    nationality = schema.Choice(
+        source = nats_vocab,
+        title = _(u'Nationality'),
+        required = False,
+        )
+    lga = schema.Choice(
+        source = LGASource(),
+        title = _(u'State/LGA (Nigerians only)'),
+        required = False,
+        )
+    perm_address = schema.Text(
+        title = _(u'Permanent Address'),
+        required = False,
+        )
+    course1 = schema.Choice(
+        title = _(u'1st Choice Course of Study'),
+        source = AppCatCertificateSource(),
+        required = True,
+        )
+    course2 = schema.Choice(
+        title = _(u'2nd Choice Course of Study'),
+        source = AppCatCertificateSource(),
+        required = False,
+        )
+    jamb_subjects = schema.Text(
+        title = _(u'Subjects and Scores'),
+        required = False,
+        )
+    jamb_score = schema.Int(
+        title = _(u'Total Score'),
+        required = False,
+        )
+    notice = schema.Text(
+        title = _(u'Notice'),
+        required = False,
+        )
+    screening_venue = schema.TextLine(
+        title = _(u'Screening Venue'),
+        required = False,
+        )
+    screening_date = schema.TextLine(
+        title = _(u'Screening Date'),
+        required = False,
+        )
+    screening_score = schema.Int(
+        title = _(u'Screening Score'),
+        required = False,
+        )
+    student_id = schema.TextLine(
+        title = _(u'Student Id'),
+        required = False,
+        readonly = False,
+        )
+    course_admitted = schema.Choice(
+        title = _(u'Admitted Course of Study'),
+        source = CertificateSource(),
+        required = False,
+        )
+    locked = schema.Bool(
+        title = _(u'Form locked'),
+        default = False,
+        )
+
+class IPGApplicant(IApplicantBaseData):
+    """A postgraduate applicant.
+
+    This interface defines the least common multiple of all fields
+    in pg application forms. In customized forms, fields can be excluded by
+    adding them to the PG_OMIT* tuples.
+    """
+
+    nationality = schema.Choice(
+        source = nats_vocab,
+        title = _(u'Nationality'),
+        required = False,
+        )
+    lga = schema.Choice(
+        source = LGASource(),
+        title = _(u'State/LGA (Nigerians only)'),
+        required = False,
+        )
+    perm_address = schema.Text(
+        title = _(u'Permanent Address'),
+        required = False,
+        )
+    course1 = schema.Choice(
+        title = _(u'1st Choice Course of Study'),
+        source = AppCatCertificateSource(),
+        required = True,
+        )
+    course2 = schema.Choice(
+        title = _(u'2nd Choice Course of Study'),
+        source = AppCatCertificateSource(),
+        required = False,
+        )
+    hq_type = schema.Choice(
+        title = _(u'Qualification Obtained'),
+        required = False,
+        readonly = False,
+        vocabulary = high_qual,
+        )
+    hq_matric_no = schema.TextLine(
+        title = _(u'Former Matric Number'),
+        required = False,
+        readonly = False,
+        )
+    hq_degree = schema.Choice(
+        title = _(u'Class of Degree'),
+        required = False,
+        readonly = False,
+        vocabulary = high_grade,
+        )
+    hq_school = schema.TextLine(
+        title = _(u'Institution Attended'),
+        required = False,
+        readonly = False,
+        )
+    hq_session = schema.TextLine(
+        title = _(u'Years Attended'),
+        required = False,
+        readonly = False,
+        )
+    hq_disc = schema.TextLine(
+        title = _(u'Discipline'),
+        required = False,
+        readonly = False,
+        )
+    pp_school = schema.Choice(
+        title = _(u'Qualification Obtained'),
+        required = False,
+        readonly = False,
+        vocabulary = exam_types,
+        )
+    #presently = schema.Bool(
+    #    title = _(u'Attending'),
+    #    required = False,
+    #    readonly = False,
+    #    )
+    presently_inst = schema.TextLine(
+        title = _(u'If yes, name of institution'),
+        required = False,
+        readonly = False,
+        )
+    nysc_year = schema.Int(
+        title = _(u'Nysc Year'),
+        required = False,
+        readonly = False,
+        )
+    nysc_lga = schema.Choice(
+        source = LGASource(),
+        title = _(u'Nysc Location'),
+        required = False,
+        )
+    employer = schema.TextLine(
+        title = _(u'Employer'),
+        required = False,
+        readonly = False,
+        )
+    emp_position = schema.TextLine(
+        title = _(u'Employer Position'),
+        required = False,
+        readonly = False,
+        )
+    emp_start = FormattedDate(
+        title = _(u'Start Date'),
+        required = False,
+        readonly = False,
+        show_year = True,
+        )
+    emp_end = FormattedDate(
+        title = _(u'End Date'),
+        required = False,
+        readonly = False,
+        show_year = True,
+        )
+    emp_reason = schema.TextLine(
+        title = _(u'Reason for Leaving'),
+        required = False,
+        readonly = False,
+        )
+    employer2 = schema.TextLine(
+        title = _(u'2nd Employer'),
+        required = False,
+        readonly = False,
+        )
+    emp2_position = schema.TextLine(
+        title = _(u'2nd Employer Position'),
+        required = False,
+        readonly = False,
+        )
+    emp2_start = FormattedDate(
+        title = _(u'Start Date'),
+        required = False,
+        readonly = False,
+        show_year = True,
+        )
+    emp2_end = FormattedDate(
+        title = _(u'End Date'),
+        required = False,
+        readonly = False,
+        show_year = True,
+        )
+    emp2_reason = schema.TextLine(
+        title = _(u'Reason for Leaving'),
+        required = False,
+        readonly = False,
+        )
+    notice = schema.Text(
+        title = _(u'Notice'),
+        required = False,
+        readonly = False,
+        )
+    screening_venue = schema.TextLine(
+        title = _(u'Screening Venue'),
+        required = False,
+        readonly = False,
+        )
+    screening_date = schema.TextLine(
+        title = _(u'Screening Date'),
+        required = False,
+        )
+    screening_score = schema.Int(
+        title = _(u'Screening Score'),
+        required = False,
+        readonly = False,
+        )
+    student_id = schema.TextLine(
+        title = _(u'Student Id'),
+        required = False,
+        readonly = False,
+        )
+    course_admitted = schema.Choice(
+        title = _(u'Admitted Course of Study'),
+        source = CertificateSource(),
+        required = False,
+        readonly = False,
+        )
+    locked = schema.Bool(
+        title = _(u'Form locked'),
+        default = False,
+        )
+
+class ICustomApplicant(IUGApplicant,IPGApplicant):
+    """An interface for both types of applicants.
+
+    """
+
+    def loggerInfo(ob_class, comment):
+        """Adds an INFO message to the log file
+        """
+
+    def createStudent():
+        """Create a student object from applicatnt data
+        and copy applicant object.
+        """
+
+class IUGApplicantEdit(IUGApplicant):
+    """An undergraduate applicant interface for editing.
+
+    Here we can repeat the fields from base data and set the
+    `required` and `readonly` attributes to True to further restrict
+    the data access. Or we can allow only certain certificates to be
+    selected by choosing the appropriate source.
+
+    We cannot omit fields here. This has to be done in the
+    respective form page.
+    """
+
+class IPGApplicantEdit(IPGApplicant):
+    """A postgraduate applicant interface for editing.
+
+    Here we can repeat the fields from base data and set the
+    `required` and `readonly` attributes to True to further restrict
+    the data access. Or we can allow only certain certificates to be
+    selected by choosing the appropriate source.
+
+    We cannot omit fields here. This has to be done in the
+    respective form page.
+    """
+
+class ICustomApplicantOnlinePayment(ICustomOnlinePayment):
+    """An applicant payment via payment gateways.
+
+    """
+
+class IPUTMEApplicantEdit(IUGApplicant):
+    """An undergraduate applicant interface for editing.
+
+    Here we can repeat the fields from base data and set the
+    `required` and `readonly` attributes to True to further restrict
+    the data access. Or we can allow only certain certificates to be
+    selected by choosing the appropriate source.
+
+    We cannot omit fields here. This has to be done in the
+    respective form page.
+    """
+    email = schema.ASCIILine(
+        title = _(u'Email Address'),
+        required = True,
+        constraint=validate_email,
+        )
+    date_of_birth = FormattedDate(
+        title = _(u'Date of Birth'),
+        required = True,
+        show_year = True,
+        )
+
+IPUTMEApplicantEdit[
+    'date_of_birth'].order =  IUGApplicant['date_of_birth'].order
+IPUTMEApplicantEdit[
+    'email'].order =  IUGApplicant['email'].order
+
+class ICustomApplicantUpdateByRegNo(ICustomApplicant):
+    """Representation of an applicant.
+
+    Skip regular reg_number validation if reg_number is used for finding
+    the applicant object.
+    """
+    reg_number = schema.TextLine(
+        title = u'Registration Number',
+        required = False,
+        )
Index: /main/waeup.futminna/trunk/src/waeup/futminna/applicants/payment.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/applicants/payment.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/applicants/payment.py	(revision 8619)
@@ -0,0 +1,58 @@
+## $Id$
+##
+## Copyright (C) 2012 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""
+Application fee payment.
+"""
+import grok
+from zope.component.interfaces import IFactory
+from zope.interface import implementedBy
+from waeup.kofa.applicants.payment import ApplicantOnlinePayment
+from waeup.kofa.utils.helpers import attrs_to_fields
+from waeup.futminna.applicants.interfaces import ICustomApplicantOnlinePayment
+
+class CustomApplicantOnlinePayment(ApplicantOnlinePayment):
+    """This is a custom online payment for applicants.
+
+    Since this class inherits from ApplicantOnlinePayment, it automatically
+    implements the interfaces of the parent class which means
+    all viewlets and views meant for StudentOnlinePayment
+    can also be accessed in the customized system.
+    """
+    grok.implements(ICustomApplicantOnlinePayment)
+    grok.provides(ICustomApplicantOnlinePayment)
+
+    def __init__(self):
+        super(CustomApplicantOnlinePayment, self).__init__()
+        return
+
+CustomApplicantOnlinePayment = attrs_to_fields(CustomApplicantOnlinePayment)
+
+# Applicant online payments must be importable. So we might need a factory.
+class CustomApplicantOnlinePaymentFactory(grok.GlobalUtility):
+    """A factory for applicant online payments.
+    """
+    grok.implements(IFactory)
+    grok.name(u'waeup.CustomApplicantOnlinePayment')
+    title = u"Create a new online payment.",
+    description = u"This factory instantiates new online payment instances."
+
+    def __call__(self, *args, **kw):
+        return CustomApplicantOnlinePayment()
+
+    def getInterfaces(self):
+        return implementedBy(CustomApplicantOnlinePayment)
Index: /main/waeup.futminna/trunk/src/waeup/futminna/applicants/tests.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/applicants/tests.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/applicants/tests.py	(revision 8619)
@@ -0,0 +1,314 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+import os
+import shutil
+import tempfile
+import datetime
+from zope.intid.interfaces import IIntIds
+from zope.interface.verify import verifyClass, verifyObject
+from zope.component.hooks import setSite, clearSite
+from zope.component import createObject, getUtility
+from zope.catalog.interfaces import ICatalog
+from zope.testbrowser.testing import Browser
+from waeup.kofa.app import University
+from waeup.kofa.university.faculty import Faculty
+from waeup.kofa.university.department import Department
+from waeup.kofa.testing import FunctionalTestCase
+from waeup.kofa.configuration import SessionConfiguration
+from waeup.kofa.applicants.container import ApplicantsContainer
+from waeup.kofa.applicants.tests.test_batching import ApplicantImportExportSetup
+from waeup.kofa.interfaces import IBatchProcessor
+from waeup.futminna.testing import FunctionalLayer
+from waeup.futminna.applicants.export import CustomApplicantsExporter
+from waeup.futminna.applicants.batching import CustomApplicantProcessor
+
+
+class ApplicantUITest(FunctionalTestCase):
+    """Perform some browser tests.
+    """
+    layer = FunctionalLayer
+
+    def setUp(self):
+        super(ApplicantUITest, self).setUp()
+        # Setup a sample site for each test
+        app = University()
+        self.dc_root = tempfile.mkdtemp()
+        app['datacenter'].setStoragePath(self.dc_root)
+
+        # Prepopulate the ZODB...
+        self.getRootFolder()['app'] = app
+        # we add the site immediately after creation to the
+        # ZODB. Catalogs and other local utilities are not setup
+        # before that step.
+        self.app = self.getRootFolder()['app']
+        # Set site here. Some of the following setup code might need
+        # to access grok.getSite() and should get our new app then
+        setSite(app)
+
+        # Add an two different applicants containers
+        self.pgcontainer = ApplicantsContainer()
+        self.pgcontainer.code = u'pgft2011'
+        self.pgcontainer.prefix = u'pgft'
+        self.pgcontainer.year = 2011
+        self.pgcontainer.application_fee = 300.0
+        self.pgcontainer.title = u'This is the pgft2011 container'
+        self.app['applicants']['pgft2011'] = self.pgcontainer
+        self.ugcontainer = ApplicantsContainer()
+        self.ugcontainer.code = u'putme2011'
+        self.ugcontainer.prefix = u'putme'
+        self.ugcontainer.year = 2011
+        self.ugcontainer.application_fee = 200.0
+        self.ugcontainer.title = u'This is the app2011 container'
+        self.app['applicants']['app2011'] = self.ugcontainer
+
+        # Populate university
+        self.certificate = createObject('waeup.Certificate')
+        self.certificate.code = 'CERT1'
+        self.certificate.application_category = 'basic'
+        self.certificate.start_level = 100
+        self.certificate.end_level = 500
+        self.app['faculties']['fac1'] = Faculty()
+        self.app['faculties']['fac1']['dep1'] = Department()
+        self.app['faculties']['fac1']['dep1'].certificates.addCertificate(
+            self.certificate)
+
+        # Add (customized) applicants
+        pgapplicant = createObject(u'waeup.Applicant')
+        pgapplicant.firstname = u'Anna'
+        pgapplicant.lastname = u'Post'
+        self.app['applicants']['pgft2011'].addApplicant(pgapplicant)
+        self.pgapplication_number = pgapplicant.application_number
+        self.pgapplicant = self.app['applicants']['pgft2011'][
+            self.pgapplication_number]
+
+        ugapplicant = createObject(u'waeup.Applicant')
+        ugapplicant.firstname = u'Klaus'
+        ugapplicant.lastname = u'Under'
+        self.app['applicants']['app2011'].addApplicant(ugapplicant)
+        self.ugapplication_number = ugapplicant.application_number
+        self.ugapplicant = self.app['applicants']['app2011'][
+            self.ugapplication_number]
+        self.pgapplicant_path = ('http://localhost/app/applicants/pgft2011/%s'
+            % self.pgapplication_number)
+        self.ugapplicant_path = ('http://localhost/app/applicants/app2011/%s'
+            % self.ugapplication_number)
+
+        self.browser = Browser()
+        self.browser.handleErrors = False
+
+    def tearDown(self):
+        super(ApplicantUITest, self).tearDown()
+        shutil.rmtree(self.dc_root)
+        clearSite()
+        return
+
+    def fill_correct_values(self):
+        self.browser.getControl(name="form.reg_number").value = '1234'
+        self.browser.getControl(name="form.firstname").value = 'John'
+        self.browser.getControl(name="form.lastname").value = 'Tester'
+        self.browser.getControl(name="form.course1").value = ['CERT1']
+        self.browser.getControl(name="form.date_of_birth").value = '09/09/1988'
+        self.browser.getControl(name="form.lga").value = ['foreigner']
+        self.browser.getControl(name="form.sex").value = ['m']
+        self.browser.getControl(name="form.email").value = 'xx@yy.zz'
+
+    def test_manage_and_view_applicant(self):
+        # Managers can manage pg applicants
+        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
+        # The IPGApplicant interface is really used in all pages
+        self.browser.open(self.pgapplicant_path)
+        self.assertEqual(self.browser.headers['Status'], '200 Ok')
+        self.assertTrue('Employer' in self.browser.contents)
+        self.browser.open(self.pgapplicant_path + '/manage')
+        self.assertEqual(self.browser.headers['Status'], '200 Ok')
+        self.assertTrue('Employer' in self.browser.contents)
+        self.browser.open(self.pgapplicant_path + '/edit')
+        self.assertEqual(self.browser.headers['Status'], '200 Ok')
+        self.assertTrue('Employer' in self.browser.contents)
+        self.browser.open(self.pgapplicant_path + '/application_slip.pdf')
+        self.assertEqual(self.browser.headers['Status'], '200 Ok')
+        # If we view the applicant in the ug container,
+        # the employer field doesn't appear
+        self.browser.open(self.ugapplicant_path)
+        self.assertEqual(self.browser.headers['Status'], '200 Ok')
+        self.assertFalse('Employer' in self.browser.contents)
+        self.browser.open(self.ugapplicant_path + '/manage')
+        self.assertEqual(self.browser.headers['Status'], '200 Ok')
+        # We can save the applicant
+        self.fill_correct_values()
+        self.browser.getControl("Save").click()
+        self.assertMatches('...Form has been saved...', self.browser.contents)
+        self.assertFalse('Employer' in self.browser.contents)
+        self.browser.open(self.ugapplicant_path + '/edit')
+        self.assertEqual(self.browser.headers['Status'], '200 Ok')
+        self.assertFalse('Employer' in self.browser.contents)
+        self.browser.open(self.ugapplicant_path + '/application_slip.pdf')
+        self.assertEqual(self.browser.headers['Status'], '200 Ok')
+        return
+
+    def test_application_payment(self):
+        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
+
+        # UG (UTME) applicant
+        self.browser.open(self.ugapplicant_path)
+        self.browser.open(self.ugapplicant_path + '/manage')
+        self.assertEqual(self.browser.headers['Status'], '200 Ok')
+        self.fill_correct_values()
+        self.browser.getControl("Save").click()
+        self.assertMatches('...Form has been saved...', self.browser.contents)
+        self.fill_correct_values()
+        self.browser.getControl("Save").click()
+        self.browser.getControl("Add online payment ticket").click()
+        self.assertMatches('...Payment ticket created...',
+                           self.browser.contents)
+        self.assertMatches('...Amount Authorized...',
+                           self.browser.contents)
+        payment_id = self.ugapplicant.keys()[0]
+        payment = self.ugapplicant[payment_id]
+        self.assertEqual(payment.p_item,'This is the app2011 container')
+        self.assertEqual(payment.p_session,2011)
+        self.assertEqual(payment.p_category,'application')
+        self.assertEqual(payment.amount_auth, 200.0)
+
+        # PG applicants pay more
+        self.browser.open(self.pgapplicant_path)
+        self.browser.open(self.pgapplicant_path + '/manage')
+        self.assertEqual(self.browser.headers['Status'], '200 Ok')
+        self.fill_correct_values()
+        self.browser.getControl(name="form.reg_number").value = '2345'
+        self.browser.getControl(name="form.firstname").value = 'Anna'
+        self.browser.getControl("Save").click()
+        self.assertMatches('...Form has been saved...', self.browser.contents)
+        self.browser.getControl("Add online payment ticket").click()
+        self.assertMatches('...Payment ticket created...',
+                           self.browser.contents)
+        self.assertMatches('...Amount Authorized...',
+                           self.browser.contents)
+        payment_id = self.pgapplicant.keys()[0]
+        payment = self.pgapplicant[payment_id]
+        self.assertEqual(payment.p_item,'This is the pgft2011 container')
+        self.assertEqual(payment.p_session,2011)
+        self.assertEqual(payment.p_category,'application')
+        self.assertEqual(payment.amount_auth, 300.0)
+        return
+
+class ApplicantsExporterTest(ApplicantImportExportSetup):
+
+    layer = FunctionalLayer
+
+    def setUp(self):
+        super(ApplicantsExporterTest, self).setUp()
+        self.outfile = os.path.join(self.workdir, 'myoutput.csv')
+        self.cat = getUtility(ICatalog, name='applicants_catalog')
+        self.intids = getUtility(IIntIds)
+        return
+
+    def setup_applicant(self, applicant):
+        # set predictable values for `applicant`
+        applicant.reg_number = u'123456'
+        applicant.applicant_id = u'dp2011_654321'
+        applicant.firstname = u'Anna'
+        applicant.lastname = u'Tester'
+        applicant.middlename = u'M.'
+        applicant.date_of_birth = datetime.date(1981, 2, 4)
+        applicant.sex = 'f'
+        applicant.email = 'anna@sample.com'
+        applicant.phone = u'+234-123-12345'
+        applicant.course1 = self.certificate
+        applicant.course2 = self.certificate
+        applicant.course_admitted = self.certificate
+        applicant.notice = u'Some notice\nin lines.'
+        applicant.screening_score = 98
+        applicant.screening_venue = u'Exam Room'
+        applicant.screening_date = u'Saturday, 16th June 2012 2:00:00 PM'
+        applicant.password = 'any password'
+        return applicant
+
+    def test_export_reimport_all(self):
+        # we can export all applicants in a portal
+        # set values we can expect in export file
+        self.applicant = self.setup_applicant(self.applicant)
+        exporter = CustomApplicantsExporter()
+        exporter.export_all(self.app, self.outfile)
+        result = open(self.outfile, 'rb').read()
+        # The exported records do contain a real date in their
+        # history dict. We skip the date and split the comparison
+        # into two parts.
+        self.assertTrue(
+            'applicant_id,application_date,application_number,course1,course2,'
+            'course_admitted,date_of_birth,display_fullname,email,emp2_end,'
+            'emp2_position,emp2_reason,emp2_start,emp_end,emp_position,'
+            'emp_reason,emp_start,employer,employer2,firstname,history,'
+            'hq_degree,hq_disc,hq_matric_no,hq_school,hq_session,hq_type,'
+            'jamb_score,jamb_subjects,lastname,lga,locked,middlename,'
+            'nationality,notice,nysc_lga,'
+            'nysc_year,password,perm_address,phone,pp_school,presently_inst,'
+            'reg_number,screening_date,screening_score,screening_venue,sex,'
+            'state,student_id,'
+            'container_code'
+            in result)
+        self.assertTrue(
+            'Application initialized by system\'],,,,,,,,,Tester,,0,M.,,'
+            '"Some notice\nin lines.",,,any password,,+234-123-12345,,,'
+            '123456,"Saturday, 16th June 2012 2:00:00 PM",98,Exam Room,f,'
+            'initialized,,dp2011' in result)
+        # We can import the same file with if we ignore some columns.
+        # Since the applicants_catalog hasn't been notified, the same
+        # record with same reg_number can be imported twice.
+        processor = CustomApplicantProcessor()
+        result = processor.doImport(
+            self.outfile,
+            ['ignore_applicant_id','application_date','ignore_application_number',
+            'course1','course2',
+            'course_admitted','date_of_birth','ignore3','email','emp2_end',
+            'emp2_position','emp2_reason','emp2_start','emp_end','emp_position',
+            'emp_reason','emp_start','employer','employer2','firstname','ignore4',
+            'hq_degree','hq_disc','hq_matric_no','hq_school','hq_session','hq_type',
+            'jamb_score','jamb_subjects','lastname','lga','locked','middlename',
+            'nationality','notice','nysc_lga',
+            'nysc_year','password','perm_address','phone','pp_school','presently_inst',
+            'reg_number','screening_date','screening_score','screening_venue','sex',
+            'state','student_id','container_code'],
+            mode='create')
+        num_succ, num_fail, finished_path, failed_path = result
+        self.assertEqual(num_succ,1)
+        self.assertEqual(num_fail,0)
+        # Now we ignore also the container_code and import the same file 
+        # in update mode which means that ICustomApplicantUpdateByRegNo 
+        # is used for field conversion. applicant_id must be ignored
+        # too since the previous import has notified the applicants_catalog
+        # so that the portal 'knows' that reg_number is in use.
+        processor = CustomApplicantProcessor()
+        result = processor.doImport(
+            self.outfile,
+            ['ignore_applicant_id','application_date','ignore_application_number',
+            'course1','course2',
+            'course_admitted','date_of_birth','ignore3','email','emp2_end',
+            'emp2_position','emp2_reason','emp2_start','emp_end','emp_position',
+            'emp_reason','emp_start','employer','employer2','firstname','ignore4',
+            'hq_degree','hq_disc','hq_matric_no','hq_school','hq_session','hq_type',
+            'jamb_score','jamb_subjects','lastname','lga','locked','middlename',
+            'nationality','notice','nysc_lga',
+            'nysc_year','password','perm_address','phone','pp_school','presently_inst',
+            'reg_number','screening_date','screening_score','screening_venue','sex',
+            'state','student_id','ignore_container_code'],
+            mode='update')
+        num_succ, num_fail, finished_path, failed_path = result
+        self.assertEqual(num_succ,1)
+        self.assertEqual(num_fail,0)
+        return
Index: /main/waeup.futminna/trunk/src/waeup/futminna/applicants/utils.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/applicants/utils.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/applicants/utils.py	(revision 8619)
@@ -0,0 +1,59 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""General helper functions and utilities for the application section.
+"""
+
+from time import time
+import sys
+import grok
+from hurry.workflow.interfaces import IWorkflowInfo, InvalidTransitionError
+from waeup.kofa.applicants.utils import ApplicantsUtils
+from waeup.futminna.interfaces import MessageFactory as _
+
+
+class ApplicantsUtils(ApplicantsUtils):
+    """A collection of parameters and methods subject to customization.
+    """
+
+    APP_TYPES_DICT = {
+        'pude': ['Post-UDE Screening', 'PUDE'],
+        'prence': ['Pre-NCE Programme', 'PRE'],
+        'sandwich': ['Part-Time Degree in Education', 'SAND'],
+        'pt': ['Part-Time Degree Programmes', 'PTP'],
+        'putme': ['Post-UTME Screening Exercise', 'PUTME'],
+        'app': ['General Studies', 'APP'],
+        'cest': ['Common Entry Screening Test', 'CEST'],
+        'ct': ['Certificate Programmes', 'CTP'],
+        'dp': ['Diploma Programmes', 'DPP'],
+        'pce': ['PCE Screening', 'PCE'],
+        'pgft': ['Postgraduate Full-Time Programmes', 'PG'],
+        'pgpt': ['Postgraduate Part-Time Programmes', 'PG']
+        }
+
+    SEPARATORS_DICT = {
+        'form.applicant_id': _(u'Base Data'),
+        'form.course1': _(u'Programmes/Courses Desired'),
+        'form.hq_type': _(u'Higher Education Record'),
+        'form.presently': _(u'Course or Programme Presently Attending'),
+        'form.nysc_year': _(u'NYSC Information'),
+        'form.employer': _(u'Employment History'),
+        'form.jamb_subjects': _(u'JAMB Data'),
+        'form.notice': _(u'Application Process Information'),
+        'form.pp_school': _(u'Post Primary School Qualification'),
+        'form.presently_inst': _(u'Presently attending a course or programme'),
+        }
Index: /main/waeup.futminna/trunk/src/waeup/futminna/browser/__init__.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/browser/__init__.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/browser/__init__.py	(revision 8619)
@@ -0,0 +1,1 @@
+# Make this a package.
Index: /main/waeup.futminna/trunk/src/waeup/futminna/browser/pages.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/browser/pages.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/browser/pages.py	(revision 8619)
@@ -0,0 +1,32 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+import grok
+from waeup.kofa.browser.pages import (
+    SessionConfigurationAddFormPage, SessionConfigurationManageFormPage)
+from waeup.futminna.interfaces import (
+    ICustomSessionConfiguration, ICustomSessionConfigurationAdd)
+
+class CustomSessionConfigurationAddFormPage(SessionConfigurationAddFormPage):
+    """Add a session configuration object to configuration container.
+    """
+    form_fields = grok.AutoFields(ICustomSessionConfigurationAdd)
+
+class CustomSessionConfigurationManageFormPage(SessionConfigurationManageFormPage):
+    """Manage session configuration object.
+    """
+    form_fields = grok.AutoFields(ICustomSessionConfiguration)
Index: /main/waeup.futminna/trunk/src/waeup/futminna/browser/pdf.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/browser/pdf.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/browser/pdf.py	(revision 8619)
@@ -0,0 +1,35 @@
+## $Id$
+##
+## Copyright (C) 2012 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+## 
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+## 
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""
+Reusable components for pdf generation.
+"""
+
+import os
+from waeup.kofa.browser.pdf import PDFCreator
+
+class CustomPDFCreator(PDFCreator):
+    """A utility to help with generating PDF docs.
+    """
+
+    header_logo_path = os.path.join(
+        os.path.dirname(__file__), 'static', 'pdf_logo.jpg')
+    watermark_path = os.path.join(
+        os.path.dirname(__file__), 'static', 'pdf_watermark.jpg')
+
+    watermark_pos = [-25, 100]
+    logo_pos = [507, 720, 40]
Index: /main/waeup.futminna/trunk/src/waeup/futminna/browser/resources.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/browser/resources.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/browser/resources.py	(revision 8619)
@@ -0,0 +1,30 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+import grok
+from waeup.kofa.browser.resources import (
+    Library, ResourceInclusion, waeup_base_css,
+    )
+
+#: All local resources are registered under the name ``waeup_custom``.
+waeup_custom = Library('waeup_custom', 'static')
+
+custom_theme = ResourceInclusion(
+    waeup_custom, 'custom_theme.css',
+    depends = [waeup_base_css])
+
+favicon = ResourceInclusion(waeup_custom, 'favicon.ico')
Index: /main/waeup.futminna/trunk/src/waeup/futminna/browser/static/custom_theme.css
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/browser/static/custom_theme.css	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/browser/static/custom_theme.css	(revision 8619)
@@ -0,0 +1,72 @@
+.topbar-inner, .topbar .fill {
+  background-color: #8A0474;
+  background-image: -moz-linear-gradient(center top , #4e0242, #8A0474);
+  background-image: -khtml-gradient(linear, left top, left bottom, from(#4e0242), to(#8A0474));
+  background-image: -moz-linear-gradient(top, #4e0242, #8A0474);
+  background-image: -ms-linear-gradient(top, #4e0242, #8A0474);
+  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4e0242), color-stop(100%, #8A0474));
+  background-image: -webkit-linear-gradient(top, #4e0242, #8A0474);
+  background-image: -o-linear-gradient(top, #4e0242, #8A0474);
+  background-image: linear-gradient(top, #4e0242, #8A0474);
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4e0242', endColorstr='#8A0474', GradientType=0);
+}
+
+.topbar div > ul .active > a, .nav .active > a {
+  background-color: #8A0474;
+}
+
+.topbar h3 a:hover, .topbar .brand:hover, .topbar ul .active > a {
+  background-color: #8A0474;
+}
+
+.topbar div > ul a:hover, .nav a:hover {
+  background-color: #8A0474;
+}
+
+
+.topbar div > ul .menu-dropdown,
+.nav .menu-dropdown,
+.topbar div > ul .dropdown-menu,
+.nav .dropdown-menu {
+  background-color: #8A0474;
+}
+
+.topbar div > ul a.menu:hover,
+.nav a.menu:hover,
+.topbar div > ul li.open .menu,
+.nav li.open .menu,
+.topbar div > ul .dropdown-toggle:hover,
+.nav .dropdown-toggle:hover,
+.topbar div > ul .dropdown.open .dropdown-toggle,
+.nav .dropdown.open .dropdown-toggle {
+  background: #8A0474;
+}
+
+body {
+  background-color: #f3eff2;
+}
+
+.topbar div > ul .menu-dropdown li a:hover,
+.nav .menu-dropdown li a:hover,
+.topbar div > ul .dropdown-menu li a:hover,
+.nav .dropdown-menu li a:hover {
+  background-color: #4e0242;
+  background-repeat: repeat-x;
+  background-image: -khtml-gradient(linear, left top, left bottom, from(#8A0474), to(#191919));
+  background-image: -moz-linear-gradient(top, #4e0242, #4e0242);
+  background-image: -ms-linear-gradient(top, #4e0242, #4e0242);
+  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4e0242), color-stop(100%, #4e0242));
+  background-image: -webkit-linear-gradient(top, #4e0242, #4e0242);
+  background-image: -o-linear-gradient(top, #4e0242, #4e0242);
+  background-image: linear-gradient(top, #4e0242, #4e0242);
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4e0242', endColorstr='#4e0242', GradientType=0);
+  color: #ffffff;
+}
+
+a {
+  color: #8A0474;
+}
+
+a:hover {
+  color: #4e0242;
+}
Index: /main/waeup.futminna/trunk/src/waeup/futminna/browser/tests.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/browser/tests.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/browser/tests.py	(revision 8619)
@@ -0,0 +1,65 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+import tempfile
+import shutil
+from zope.testbrowser.testing import Browser
+from zope.component.hooks import setSite, clearSite
+from zope.security.interfaces import Unauthorized
+from waeup.kofa.testing import FunctionalTestCase
+from waeup.futminna.testing import FunctionalLayer
+from waeup.kofa.app import University
+
+class CustomPackageBrowserTests(FunctionalTestCase):
+
+    layer = FunctionalLayer
+
+    def setUp(self):
+        super(CustomPackageBrowserTests, self).setUp()
+
+        # Setup a sample site for each test
+        app = University()
+        self.dc_root = tempfile.mkdtemp()
+        app['datacenter'].setStoragePath(self.dc_root)
+
+        # Put the prepopulated site into test ZODB and prepare test
+        # browser
+        self.getRootFolder()['app'] = app
+        setSite(app)
+        self.browser = Browser()
+        self.browser.handleErrors = False
+
+    def tearDown(self):
+        super(CustomPackageBrowserTests, self).tearDown()
+        clearSite()
+        shutil.rmtree(self.dc_root)
+
+    def test_custom_theme(self):
+        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
+        self.browser.open('http://localhost/app/configuration')
+        self.assertMatches('...FUTMinna Theme...', self.browser.contents)
+        self.browser.getControl(name="form.skin").value = ['custom theme']
+        self.browser.getControl("Save").click()
+        self.browser.open('http://localhost/app/configuration')
+        return
+
+    def test_access_live_url(self):
+        # We can't access the system with basic authentication
+        self.browser.addHeader('Authorization', 'Basic grok:grok')
+        self.assertRaises(
+            Unauthorized, self.browser.open, 'https://futminna-kofa.waeup.org')
+        return
Index: /main/waeup.futminna/trunk/src/waeup/futminna/browser/theming.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/browser/theming.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/browser/theming.py	(revision 8619)
@@ -0,0 +1,33 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+import grok
+from waeup.kofa.browser.interfaces import ITheme
+from waeup.futminna.browser.resources import custom_theme, favicon
+
+from waeup.futminna.interfaces import MessageFactory as _
+
+class CustomTheme(grok.GlobalUtility):
+    """A custom theme based on the Kofa base theme.
+    """
+    grok.implements(ITheme)
+    grok.name('custom theme')
+
+    description = _(u'FUTMinna Theme')
+
+    def getResources(self):
+        return [custom_theme, favicon]
Index: /main/waeup.futminna/trunk/src/waeup/futminna/configuration.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/configuration.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/configuration.py	(revision 8619)
@@ -0,0 +1,47 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""
+Containers for session configuration objects.
+"""
+import grok
+from zope.interface import implementedBy
+from waeup.kofa.utils.helpers import attrs_to_fields
+from waeup.kofa.configuration import (
+    SessionConfigurationFactory, SessionConfiguration)
+from waeup.futminna.interfaces import (
+    ICustomSessionConfiguration, ICustomSessionConfigurationAdd)
+
+
+class CustomSessionConfiguration(SessionConfiguration):
+    """
+    Customized session configuration model
+    """
+
+    grok.implements(ICustomSessionConfiguration, ICustomSessionConfigurationAdd)
+
+CustomSessionConfiguration = attrs_to_fields(CustomSessionConfiguration)
+
+class CustomSessionConfigurationFactory(SessionConfigurationFactory):
+    """A customized factory for session configuration objects.
+    """
+
+    def __call__(self, *args, **kw):
+        return CustomSessionConfiguration(*args, **kw)
+
+    def getInterfaces(self):
+        return implementedBy(CustomSessionConfiguration)
Index: /main/waeup.futminna/trunk/src/waeup/futminna/configure.zcml
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/configure.zcml	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/configure.zcml	(revision 8619)
@@ -0,0 +1,7 @@
+<configure xmlns="http://namespaces.zope.org/zope">
+
+  <include package="waeup.futminna" file="locales.zcml" />
+  <include package="grok" />
+  <includeOverrides package="waeup.futminna" file="overrides.zcml" />
+
+</configure>
Index: /main/waeup.futminna/trunk/src/waeup/futminna/etranzact/__init__.py.disabled
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/etranzact/__init__.py.disabled	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/etranzact/__init__.py.disabled	(revision 8619)
@@ -0,0 +1,1 @@
+# Make this a package.
Index: /main/waeup.futminna/trunk/src/waeup/futminna/etranzact/browser.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/etranzact/browser.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/etranzact/browser.py	(revision 8619)
@@ -0,0 +1,183 @@
+## $Id$
+##
+## Copyright (C) 2012 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+from datetime import datetime
+import httplib
+import urllib
+from xml.dom.minidom import parseString
+import grok
+from waeup.kofa.browser.layout import KofaPage, UtilityView
+from waeup.kofa.students.viewlets import ApprovePaymentActionButton as APABStudent
+from waeup.kofa.applicants.viewlets import ApprovePaymentActionButton as APABApplicant
+from waeup.futminna.interfaces import MessageFactory as _
+from waeup.futminna.students.interfaces import ICustomStudentOnlinePayment
+from waeup.futminna.applicants.interfaces import ICustomApplicantOnlinePayment
+
+#TERMINAL_ID = '0500000003'
+TERMINAL_ID = '0000000001'
+#QUERY_URL =   'https://www.etranzact.net/Query/queryPayoutletTransaction.jsp'
+QUERY_URL =   'http://demo.etranzact.com:8080/WebConnect/queryPayoutletTransaction.jsp'
+
+def query_etranzact(confirmation_number, payment):
+    
+    postdict = {}
+    postdict['TERMINAL_ID'] = TERMINAL_ID
+    #postdict['RESPONSE_URL'] = 'http://dummy'
+    postdict['CONFIRMATION_NO'] = confirmation_number
+    data = urllib.urlencode(postdict)
+    try:
+        f = urllib.urlopen(url=QUERY_URL, data=data)
+        success = f.read()
+        success = success.replace('\r\n','')
+        if 'COL1' not in success:
+            msg = _('Invalid or unsuccessful callback: ${a}',
+                mapping = {'a': success})
+            log = 'invalid callback for payment %s: %s' % (payment.p_id, success)
+            payment.p_state = 'failed'
+            return False, msg, log
+        success = success.replace('%20',' ').split('&')
+        # We expect at least two parameters
+        if len(success) < 2:
+            msg = _('Invalid callback: ${a}', mapping = {'a': success})
+            log = 'invalid callback for payment %s: %s' % (payment.p_id, success)
+            payment.p_state = 'failed'
+            return False, msg, log
+        try:
+            success_dict = dict([tuple(i.split('=')) for i in success])
+        except ValueError:
+            msg = _('Invalid callback: ${a}', mapping = {'a': success})
+            log = 'invalid callback for payment %s: %s' % (payment.p_id, success)
+            payment.p_state = 'failed'
+            return False, msg, log
+    except IOError:
+        msg = _('eTranzact IOError')
+        log = 'eTranzact IOError'
+        return False, msg, log
+    payment.r_code = u'ET'
+    payment.r_desc = u'%s' % success_dict.get('TRANS_DESCR')
+    payment.r_amount_approved = float(success_dict.get('TRANS_AMOUNT',0.0))
+    payment.r_card_num = None
+    payment.r_pay_reference = u'%s' % success_dict.get('RECEIPT_NO')
+    if payment.r_amount_approved != payment.amount_auth:
+        msg = _('Wrong amount')
+        log = 'wrong callback for payment %s: %s' % (payment.p_id, success)
+        payment.p_state = 'failed'
+        return False, msg, log
+    tcode = payment.p_id
+    tcode = tcode[len(tcode)-8:len(tcode)]
+    col1 = success_dict.get('COL1')
+    col1 = col1[len(col1)-8:len(col1)]
+    if tcode != col1:
+        msg = _('Wrong transaction code')
+        log = 'wrong callback for payment %s: %s' % (payment.p_id, success)
+        payment.p_state = 'failed'
+        return False, msg, log
+    log = 'valid callback for payment %s: %s' % (payment.p_id, success)
+    msg = _('Successful callback received')
+    payment.p_state = 'paid'
+    payment.payment_date = datetime.utcnow()
+    return True, msg, log
+
+class EtranzactEnterPinActionButtonApplicant(APABApplicant):
+    grok.context(ICustomApplicantOnlinePayment)
+    grok.require('waeup.payApplicant')
+    grok.order(3)
+    icon = 'actionicon_call.png'
+    text = _('Query eTranzact History')
+    target = 'enterpin'
+
+class EtranzactEnterPinActionButtonStudent(APABStudent):
+    grok.context(ICustomStudentOnlinePayment)
+    grok.require('waeup.payStudent')
+    grok.order(3)
+    icon = 'actionicon_call.png'
+    text = _('Query eTranzact History')
+    target = 'enterpin'
+
+class EtranzactEnterPinPageStudent(KofaPage):
+    """
+    """
+    grok.context(ICustomStudentOnlinePayment)
+    grok.name('enterpin')
+    grok.template('enterpin')
+    grok.require('waeup.payStudent')
+
+    buttonname = _('Submit to eTranzact')
+    label = _('Requery eTranzact History')
+    action = 'query_history'
+
+class EtranzactEnterPinPageApplicant(EtranzactEnterPinPageStudent):
+    """
+    """
+    grok.require('waeup.payApplicant')
+    grok.context(ICustomApplicantOnlinePayment)
+
+class EtranzactQueryHistoryPageStudent(UtilityView, grok.View):
+    """ Query history of eTranzact payments
+    """
+    grok.context(ICustomStudentOnlinePayment)
+    grok.name('query_history')
+    grok.require('waeup.payStudent')
+
+    def update(self, confirmation_number=None):
+        ob_class = self.__implemented__.__name__
+        if self.context.p_state == 'paid':
+            self.flash(_('This ticket has already been paid.'))
+            return
+        student = self.context.getStudent()
+        success, msg, log = query_etranzact(confirmation_number,self.context)
+        student.loggerInfo(ob_class, log)
+        if not success:
+            self.flash(msg)
+            return
+        success, msg, log = self.context.doAfterStudentPayment()
+        if log is not None:
+            student.loggerInfo(ob_class, log)
+        self.flash(msg)
+        return
+
+    def render(self):
+        self.redirect(self.url(self.context, '@@index'))
+        return
+
+class EtranzactQueryHistoryPageApplicant(UtilityView, grok.View):
+    """ Query history of eTranzact payments
+    """
+    grok.context(ICustomApplicantOnlinePayment)
+    grok.name('query_history')
+    grok.require('waeup.payApplicant')
+
+    def update(self, confirmation_number=None):
+        ob_class = self.__implemented__.__name__
+        if self.context.p_state == 'paid':
+            self.flash(_('This ticket has already been paid.'))
+            return
+        applicant = self.context.__parent__
+        success, msg, log = query_etranzact(confirmation_number,self.context)
+        applicant.loggerInfo(ob_class, log)
+        if not success:
+            self.flash(msg)
+            return
+        success, msg, log = self.context.doAfterApplicantPayment()
+        if log is not None:
+            applicant.loggerInfo(ob_class, log)
+        self.flash(msg)
+        return
+
+    def render(self):
+        self.redirect(self.url(self.context, '@@index'))
+        return
Index: /main/waeup.futminna/trunk/src/waeup/futminna/etranzact/browser_templates/enterpin.pt
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/etranzact/browser_templates/enterpin.pt	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/etranzact/browser_templates/enterpin.pt	(revision 8619)
@@ -0,0 +1,22 @@
+<form tal:attributes="action view/action"
+    method="POST" i18n:domain="waeup.custom">
+  <table class="form-table">
+    <tbody>
+      <tr>
+        <td i18n:translate="">
+        Confirmation Number (PIN):
+        </td>
+        <td>
+        <input name="confirmation_number" type="text" class="span5" maxlength=""
+               value="" />
+        </td>
+      </tr>
+      <tr>
+        <td colspan="2">
+          <input type="submit" name="SUBMIT" class="btn primary"
+                 tal:attributes="value view/buttonname" />
+        </td>
+      </tr>
+    </tbody>
+  </table>
+</form>
Index: /main/waeup.futminna/trunk/src/waeup/futminna/etranzact/tests.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/etranzact/tests.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/etranzact/tests.py	(revision 8619)
@@ -0,0 +1,136 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+from hurry.workflow.interfaces import IWorkflowState
+from waeup.kofa.students.tests.test_browser import StudentsFullSetup
+from waeup.kofa.applicants.tests.test_browser import ApplicantsFullSetup
+from waeup.kofa.configuration import SessionConfiguration
+from waeup.futminna.testing import FunctionalLayer
+
+
+# Also run tests that send requests to external servers?
+#   If you enable this, please make sure the external services
+#   do exist really and are not bothered by being spammed by a test programme.
+EXTERNAL_TESTS = False
+
+def external_test(func):
+    if not EXTERNAL_TESTS:
+        myself = __file__
+        if myself.endswith('.pyc'):
+            myself = myself[:-2]
+        print "WARNING: external tests are skipped!"
+        print "WARNING: edit %s to enable them." % myself
+        return
+    return func
+
+class EtranzactTestsStudent(StudentsFullSetup):
+    """Tests for the eTranzact payment gateway.
+    """
+
+    layer = FunctionalLayer
+
+    CONFIRMATION_NO = '500856521315472785095'
+
+    def setUp(self):
+        super(EtranzactTestsStudent, self).setUp()
+        # Managers can add online payment tickets
+        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
+        self.browser.open(self.payments_path)
+        IWorkflowState(self.student).setState('cleared')
+        self.browser.open(self.payments_path + '/addop')
+        self.browser.getControl("Create ticket").click()
+        self.assertMatches('...ticket created...',
+                           self.browser.contents)
+        ctrl = self.browser.getControl(name='val_id')
+        value = ctrl.options[0]
+        self.browser.getLink(value).click()
+        self.assertMatches('...Amount Authorized...',
+                           self.browser.contents)
+        self.payment_url = self.browser.url
+
+    def test_enterpin(self):
+        self.browser.getLink("Query eTranzact History").click()
+        self.assertMatches(
+            '...Confirmation Number (PIN):...',
+            self.browser.contents)
+
+    @external_test
+    def test_etranzact_query_history(self):
+
+        self.browser.open(self.payment_url + '/query_history?confirmation_number=%s'
+            % self.CONFIRMATION_NO)
+        self.assertMatches('...Invalid or unsuccessful callback:...',
+                          self.browser.contents)
+        #self.assertMatches('...Wrong amount...',
+        #                  self.browser.contents)
+        #self.student['payments'][value].amount_auth = self.student[
+        #    'payments'][value].r_amount_approved
+        #self.browser.open(self.payment_url + '/query_history?confirmation_number=%s'
+        #    % self.CONFIRMATION_NO)
+        #self.assertMatches('...Wrong transaction id...',
+        #                  self.browser.contents)
+
+class EtranzactTestsApplicants(ApplicantsFullSetup):
+    """Tests for the Interswitch payment gateway.
+    """
+
+    layer = FunctionalLayer
+
+    CONFIRMATION_NO = '500856521315472785095'
+
+    def setUp(self):
+        super(EtranzactTestsApplicants, self).setUp()
+        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
+        self.browser.open(self.manage_path)
+        #IWorkflowState(self.student).setState('started')
+        super(EtranzactTestsApplicants, self).fill_correct_values()
+        self.browser.getControl(name="transition").value = ['start']
+        self.browser.getControl("Save").click()
+        self.browser.getControl("Add online").click()
+        self.assertTrue(
+            'Session configuration object is not available'
+            in self.browser.contents)
+        configuration = SessionConfiguration()
+        configuration.academic_session = 2009
+        configuration.application_fee = 1000.0
+        self.app['configuration'].addSessionConfiguration(configuration)
+        self.browser.open(self.manage_path)
+        self.browser.getControl("Add online").click()
+        self.assertMatches('...ticket created...',
+                           self.browser.contents)
+        self.assertMatches('...Amount Authorized...',
+                           self.browser.contents)
+        self.assertMatches(
+            '...<span>1000.0</span>...',
+            self.browser.contents)
+        self.payment_url = self.browser.url
+
+    @external_test
+    def test_etranzact_query_history(self):
+
+        self.browser.open(self.payment_url + '/query_history?confirmation_number=%s'
+            % self.CONFIRMATION_NO)
+        self.assertMatches('...Invalid or unsuccessful callback:...',
+                          self.browser.contents)
+        #self.assertMatches('...Wrong amount...',
+        #                  self.browser.contents)
+        #self.applicant[value].amount_auth = self.applicant[
+        #    value].r_amount_approved
+        #self.browser.open(self.payment_url + '/query_history?confirmation_number=%s'
+        #    % self.CONFIRMATION_NO)
+        #self.assertMatches('...Wrong transaction id...',
+        #                  self.browser.contents)
Index: /main/waeup.futminna/trunk/src/waeup/futminna/ftesting.zcml
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/ftesting.zcml	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/ftesting.zcml	(revision 8619)
@@ -0,0 +1,68 @@
+<configure
+   xmlns="http://namespaces.zope.org/zope"
+   xmlns:kofa="http://namespaces.waeup.org/kofa"
+   i18n_domain="waeup.custom"
+   package="waeup.futminna"
+   >
+
+  <include package="grok" />
+  <includeOverrides package="waeup.futminna" />
+  <includeOverrides package="waeup.futminna" file="mail.zcml"/>
+
+  <!-- Where should the datacenter reside by default? -->
+  <kofa:datacenter
+      path="../../../parts/test/datacenter" />
+
+  <!-- Typical functional testing security setup -->
+  <securityPolicy
+      component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy"
+      />
+
+  <unauthenticatedPrincipal
+      id="zope.anybody"
+      title="Unauthenticated User"
+      />
+  <unauthenticatedGroup id="zope.Anybody"
+      title="Unauthenticated Users" />
+  <authenticatedGroup id="zope.Authenticated"
+      title="Authenticated Users" />
+  <everybodyGroup id="zope.Everybody"
+      title="All Users" />
+
+  <!-- grant
+      permission="zope.View"
+      principal="zope.Anybody"
+      / -->
+  <grant
+      permission="zope.app.dublincore.view"
+      principal="zope.Anybody" />
+  <grant
+      permission="zope.View"
+      principal="zope.Authenticated"
+      />
+  <grant
+      permission="zope.app.dublincore.view"
+      principal="zope.Authenticated"
+      />
+  <grant
+      permission="waeup.Public"
+      principal="zope.Everybody"
+      />
+  <grant 
+      permission="waeup.Anonymous"
+      principal="zope.Anybody"
+      />
+
+
+  <principal
+      id="zope.mgr"
+      title="Manager"
+      login="mgr"
+      password="mgrpw"
+      />
+
+  <role id="zope.Manager" title="Site Manager" />
+  <grantAll role="zope.Manager" />
+  <grant role="zope.Manager" principal="zope.mgr" />
+
+</configure>
Index: /main/waeup.futminna/trunk/src/waeup/futminna/interfaces.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/interfaces.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/interfaces.py	(revision 8619)
@@ -0,0 +1,160 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+
+import zope.i18nmessageid
+from zope import schema
+from zc.sourcefactory.basic import BasicSourceFactory
+from waeup.kofa.interfaces import (SimpleKofaVocabulary,
+    ISessionConfiguration, academic_sessions_vocab)
+from waeup.futminna.utils.lgas import LGAS
+
+_ = MessageFactory = zope.i18nmessageid.MessageFactory('waeup.custom')
+
+high_qual = SimpleKofaVocabulary(
+    ('National Certificate of Education','nce'),
+    ('Pre Degree Programme','pre'),
+    ('Diploma Programme','dip'),
+    ('Ordinary National Diploma','ond'),
+    ('Bachelors Degree','bd'),
+    ('Masters Degree','md'),
+    ('Professional Qualification','pq'),
+    ('Other Certification','oc'),
+    ('Higher National Diploma','hnd'),
+    ('NCE AL OTH','nce_al_oth'),
+    ('National Defence Academy','nda'),
+    ('Awaiting Results','a_rslt'),
+    ('RMC','rmc'),
+    )
+
+high_grade = SimpleKofaVocabulary(
+    ('Upper Credit','upper_credit'),
+    ('Distinction','distinction'),
+    ('Credit','credit'),
+    ('Merit','merit'),
+    ('Lower Credit','lower_credit'),
+    ('First Class','first_class'),
+    ('Second Class Upper','second_class_upper'),
+    ('Second Class Lower','second_class_lower'),
+    ('Third Class','third_class'),
+    ('Pass','pass'),
+    ('Awaiting Results','a_rslt'),
+    ('A Levels','al'),
+    )
+
+exam_types = SimpleKofaVocabulary(
+    ('SSCE','ssce'),
+    ('WAEC','waec'),
+    ('GCE O\' LEVEL','gce_o_level'),
+    ('TC II','tc_ii'),
+    ('RSA','rsa'),
+    ('NABTEB','nabteb'),
+    ('NECO','neco'),
+    ('ACE','ace'),
+    ('GCE A\' LEVEL','gce_a_level'),
+    ('IGCSE','igcse'),
+    )
+
+#lgas_vocab = SimpleKofaVocabulary(
+#    *sorted([(x[1],x[0]) for x in LGAS]))
+
+class LGASource(BasicSourceFactory):
+    """A source for school subjects used in exam documentation.
+    """
+    lga_dict = dict(LGAS)
+
+    def getValues(self):
+        return sorted(self.lga_dict.keys())
+
+    def getToken(self, value):
+        return str(value)
+
+    def getTitle(self, value):
+        return self.lga_dict.get(value,
+            _('Invalid key: ${a}', mapping = {'a':value}))
+
+# It's recommended to replicate all fields from the base package here.
+class ICustomSessionConfiguration(ISessionConfiguration):
+    """A session configuration object.
+    """
+
+    # Base fees, do not remove.
+
+    school_fee_base = schema.Float(
+        title = _(u'School Fee (ignored)'),
+        default = 0.0,
+        required = False,
+        )
+
+    application_fee = schema.Float(
+        title = _(u'Application Fee (fallback)'),
+        default = 0.0,
+        required = False,
+        )
+
+    clearance_fee = schema.Float(
+        title = _(u'Clearance Fee (ignored)'),
+        default = 0.0,
+        required = False,
+        )
+
+    booking_fee = schema.Float(
+        title = _(u'Booking Fee'),
+        default = 0.0,
+        required = False,
+        )
+
+    # Additional fees in custom package
+
+    maint_fee = schema.Float(
+        title = _(u'Maintenance Fee (ignored)'),
+        default = 0.0,
+        required = False,
+        )
+
+    gown = schema.Float(
+        title = _(u'Gown Fee'),
+        default = 0.0,
+        required = False,
+        )
+
+    transfer = schema.Float(
+        title = _(u'Transfer Fee'),
+        default = 0.0,
+        required = False,
+        )
+
+    def getSessionString():
+        """Returns the session string from the vocabulary.
+        """
+
+
+class ICustomSessionConfigurationAdd(ICustomSessionConfiguration):
+    """A session configuration object in add mode.
+    """
+
+    academic_session = schema.Choice(
+        title = _(u'Academic Session'),
+        source = academic_sessions_vocab,
+        default = None,
+        required = True,
+        readonly = False,
+        )
+
+ICustomSessionConfigurationAdd[
+    'academic_session'].order =  ICustomSessionConfiguration[
+    'academic_session'].order
Index: /main/waeup.futminna/trunk/src/waeup/futminna/interswitch/__init__.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/interswitch/__init__.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/interswitch/__init__.py	(revision 8619)
@@ -0,0 +1,1 @@
+# Make this a package.
Index: /main/waeup.futminna/trunk/src/waeup/futminna/interswitch/browser.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/interswitch/browser.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/interswitch/browser.py	(revision 8619)
@@ -0,0 +1,454 @@
+## $Id$
+##
+## Copyright (C) 2012 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+from datetime import datetime
+import httplib
+import urllib
+from xml.dom.minidom import parseString
+import grok
+from zope.component import getUtility
+from waeup.kofa.browser.layout import KofaPage, UtilityView
+from waeup.kofa.accesscodes import create_accesscode
+from waeup.kofa.interfaces import RETURNING, IKofaUtils
+from waeup.kofa.utils.helpers import to_timezone
+from waeup.kofa.students.browser import write_log_message
+from waeup.kofa.students.viewlets import ApprovePaymentActionButton as APABStudent
+from waeup.kofa.applicants.viewlets import ApprovePaymentActionButton as APABApplicant
+from waeup.kofa.payments.interfaces import payment_categories
+from waeup.futminna.students.interfaces import ICustomStudentOnlinePayment
+from waeup.futminna.applicants.interfaces import ICustomApplicantOnlinePayment
+from waeup.futminna.interfaces import MessageFactory as _
+
+PRODUCT_ID = '57'
+SITE_NAME = 'futminna-kofa.waeup.org'
+PROVIDER_ACCT = '1010764827'
+PROVIDER_BANK_ID = '117'
+PROVIDER_ITEM_NAME = 'BT Education'
+INSTITUTION_NAME = 'FUTMinna'
+CURRENCY = '566'
+#QUERY_URL = 'https://webpay.interswitchng.com/paydirect/services/TransactionQueryURL.aspx'
+#QUERY_URL = 'https://testwebpay.interswitchng.com/test_paydirect/services/TransactionQueryURL.aspx'
+POST_ACTION = 'https://webpay.interswitchng.com/paydirect/webpay/pay.aspx'
+#POST_ACTION = 'https://testwebpay.interswitchng.com/test_paydirect/webpay/pay.aspx'
+
+HOST = 'webpay.interswitchng.com'
+#HOST = 'testwebpay.interswitchng.com'
+URL = '/paydirect/services/TransactionQueryWs.asmx'
+#URL = '/test_paydirect/services/TransactionQueryWs.asmx'
+httplib.HTTPConnection.debuglevel = 0
+
+
+def SOAP_post(soap_action,xml):
+    """Handles making the SOAP request.
+
+    Further reading:
+    http://testwebpay.interswitchng.com/test_paydirect/services/TransactionQueryWs.asmx?op=getTransactionData
+    """
+    h = httplib.HTTPConnection(HOST)
+    headers={
+        'Host':HOST,
+        'Content-Type':'text/xml; charset=utf-8',
+        'Content-Length':len(xml),
+        'SOAPAction':'"%s"' % soap_action,
+    }
+    h.request('POST', URL, body=xml,headers=headers)
+    r = h.getresponse()
+    d = r.read()
+    if r.status!=200:
+        raise ValueError('Error connecting: %s, %s' % (r.status, r.reason))
+    return d
+
+def get_SOAP_response(product_id, transref):
+    xml="""\
+<?xml version="1.0" encoding="utf-8"?>
+<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
+  <soap:Body>
+    <getTransactionData xmlns="http://tempuri.org/">
+      <product_id>%s</product_id>
+      <trans_ref>%s</trans_ref>
+    </getTransactionData>
+  </soap:Body>
+</soap:Envelope>""" % (product_id, transref)
+    result_xml=SOAP_post("http://tempuri.org/getTransactionData",xml)
+    doc=parseString(result_xml)
+    response=doc.getElementsByTagName('getTransactionDataResult')[0].firstChild.data
+    return response
+
+def query_interswitch(payment):
+    sr = get_SOAP_response(PRODUCT_ID, payment.p_id)
+    wlist = sr.split(':')
+    if len(wlist) != 7:
+        msg = _('Invalid callback: ${a}', mapping = {'a': sr})
+        log = 'invalid callback for payment %s: %s' % (payment.p_id, sr)
+        return False, msg, log
+    payment.r_code = wlist[0]
+    payment.r_desc = wlist[1]
+    payment.r_amount_approved = float(wlist[2]) / 100
+    payment.r_card_num = wlist[3]
+    payment.r_pay_reference = wlist[5]
+    if payment.r_code != '00':
+        msg = _('Unsuccessful callback: ${a}', mapping = {'a': sr})
+        log = 'usuccessful callback for payment %s: %s' % (payment.p_id, sr)
+        payment.p_state = 'failed'
+        return False, msg, log
+    if payment.r_amount_approved != payment.amount_auth:
+        msg = _('Callback amount does not match.')
+        log = 'wrong callback for payment %s: %s' % (payment.p_id, sr)
+        payment.p_state = 'failed'
+        return False, msg, log
+    if wlist[4] != payment.p_id:
+        msg = _('Callback transaction id does not match.')
+        log = 'wrong callback for payment %s: %s' % (payment.p_id, sr)
+        payment.p_state = 'failed'
+        return False, msg, log
+    payment.p_state = 'paid'
+    payment.payment_date = datetime.utcnow()
+    msg = _('Successful callback received')
+    log = 'valid callback for payment %s: %s' % (payment.p_id, sr)
+    return True, msg, log
+
+class InterswitchActionButtonStudent(APABStudent):
+    grok.order(1)
+    grok.context(ICustomStudentOnlinePayment)
+    grok.require('waeup.payStudent')
+    icon = 'actionicon_pay.png'
+    text = _('CollegePAY')
+    target = 'goto_interswitch'
+
+    @property
+    def target_url(self):
+        if self.context.p_state != 'unpaid':
+            return ''
+        return self.view.url(self.view.context, self.target)
+
+class InterswitchActionButtonApplicant(APABApplicant):
+    grok.order(1)
+    grok.context(ICustomApplicantOnlinePayment)
+    grok.require('waeup.payApplicant')
+    icon = 'actionicon_pay.png'
+    text = _('CollegePAY')
+    target = 'goto_interswitch'
+
+    @property
+    def target_url(self):
+        if self.context.p_state != 'unpaid':
+            return ''
+        return self.view.url(self.view.context, self.target)
+
+# Deprecated
+#class InterswitchRequestCallbackActionButtonStudent(RCABStudent):
+#    grok.order(3)
+#    grok.context(ICustomStudentOnlinePayment)
+#    icon = 'actionicon_call.png'
+#    text = _('Request CollegePAY callback')
+
+#    def target_url(self):
+#        if self.context.p_state == 'paid':
+#            return ''
+#        site_redirect_url = self.view.url(self.view.context, 'isw_callback')
+#        args = {
+#            'transRef':self.context.p_id,
+#            'prodID':PRODUCT_ID,
+#            'redirectURL':site_redirect_url}
+#        return QUERY_URL + '?%s' % urllib.urlencode(args)
+
+# Alternative preferred solution
+class InterswitchRequestWebserviceActionButtonStudent(APABStudent):
+    grok.order(2)
+    grok.context(ICustomStudentOnlinePayment)
+    grok.require('waeup.payStudent')
+    icon = 'actionicon_call.png'
+    text = _('Requery CollegePAY')
+    target = 'request_webservice'
+
+class InterswitchRequestWebserviceActionButtonApplicant(APABApplicant):
+    grok.order(2)
+    grok.context(ICustomApplicantOnlinePayment)
+    grok.require('waeup.payApplicant')
+    icon = 'actionicon_call.png'
+    text = _('Requery CollegePAY')
+    target = 'request_webservice'
+
+
+class InterswitchPageStudent(KofaPage):
+    """ View which sends a POST request to the Interswitch
+    CollegePAY payment gateway.
+    """
+    grok.context(ICustomStudentOnlinePayment)
+    grok.name('goto_interswitch')
+    grok.template('student_goto_interswitch')
+    grok.require('waeup.payStudent')
+    label = _('Submit data to CollegePAY (Interswitch Payment Gateway)')
+    submit_button = _('Submit')
+    action = POST_ACTION
+    site_name = SITE_NAME
+    currency = CURRENCY
+    pay_item_id = '5700'
+    product_id = PRODUCT_ID
+
+    def update(self):
+        #if self.context.p_state != 'unpaid':
+        if self.context.p_state == 'paid':
+            self.flash(_("Payment ticket can't be re-send to CollegePAY."))
+            self.redirect(self.url(self.context, '@@index'))
+            return
+
+        student = self.student = self.context.getStudent()
+        certificate = getattr(self.student['studycourse'],'certificate',None)
+        self.amount_auth = 100 * self.context.amount_auth
+        xmldict = {}
+        if certificate is not None:
+            xmldict['department'] = certificate.__parent__.__parent__.code
+            xmldict['faculty'] = certificate.__parent__.__parent__.__parent__.code
+        else:
+            xmldict['department'] = None
+            xmldict['faculty'] = None
+        self.category = payment_categories.getTermByToken(
+            self.context.p_category).title
+        tz = getUtility(IKofaUtils).tzinfo
+        self.local_date_time = to_timezone(
+            self.context.creation_date, tz).strftime("%Y-%m-%d %H:%M:%S %Z")
+        self.site_redirect_url = self.url(self.context, 'request_webservice')
+        # Provider data
+        xmldict['detail_ref'] = self.context.p_id
+        xmldict['provider_acct'] = PROVIDER_ACCT
+        xmldict['provider_bank_id'] = PROVIDER_BANK_ID
+        xmldict['provider_item_name'] = PROVIDER_ITEM_NAME
+        if student.current_mode.endswith('_ft') \
+            and student.state == RETURNING:
+            provider_amt = 600
+        else:
+            provider_amt = 1500
+        xmldict['provider_amt'] = 100 * provider_amt
+        # Institution data
+        studycourse = student['studycourse']
+        xmldict['institution_acct'] = ''
+        xmldict['institution_bank_id'] = ''
+        if student.current_mode.endswith('_ft'):
+            #post-grad full-time students of all faculties
+            if studycourse.current_level in ('700','710','800','810','900','910'):
+                xmldict['institution_acct'] = '1012842833'
+                xmldict['institution_bank_id'] = '117'
+            #all other part-time students depending on faculty
+            elif student.faccode in ('SSC','LAW','MED'):
+                xmldict['institution_acct'] = '0005986938'
+                xmldict['institution_bank_id'] = '31'
+            elif student.faccode in ('ENG','PSC','PHA'):
+                xmldict['institution_acct'] = '0014413973'
+                xmldict['institution_bank_id'] = '129'
+            elif student.faccode in ('LSC','DEN','AGR'):
+                xmldict['institution_acct'] = '1012801319'
+                xmldict['institution_bank_id'] = '117'
+            elif student.faccode in ('ART','EDU','MGS','BMS'):
+                xmldict['institution_acct'] = '6220027556'
+                xmldict['institution_bank_id'] = '51'
+        elif student.current_mode.endswith('_pt'):
+            #post-grad part-time students of all faculties
+            if studycourse.current_level in ('700','710','800','810','900','910'):
+                xmldict['institution_acct'] = '0023708207'
+                xmldict['institution_bank_id'] = '72'
+            #all other part-time students depending on faculty
+            elif student.faccode in ('ENG','LAW','MGS'):
+                xmldict['institution_acct'] = '2019006824'
+                xmldict['institution_bank_id'] = '8'
+            elif student.faccode in ('IPA','PHA','SSC','AGR','EDU'):
+                xmldict['institution_acct'] = '0122012109'
+                xmldict['institution_bank_id'] = '16'
+        xmldict['institution_amt'] = 100 * (self.amount_auth - provider_amt - 150)
+        xmldict['institution_item_name'] = self.context.p_category
+        xmldict['institution_name'] = INSTITUTION_NAME
+        # Interswitch amount is not part of the xml data
+        xmltext = """<payment_item_detail>
+<item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s">
+<item_detail item_id="1" item_name="%(institution_item_name)s" item_amt="%(institution_amt)d" bank_id="%(institution_bank_id)s" acct_num="%(institution_acct)s" />
+<item_detail item_id="2" item_name="%(provider_item_name)s" item_amt="%(provider_amt)d" bank_id="%(provider_bank_id)s" acct_num="%(provider_acct)s" />
+</item_details>
+</payment_item_detail>""" % xmldict
+        self.xml_data = """<input type="hidden" name="xml_data" value='%s'  />""" % xmltext
+        return
+
+class InterswitchPageApplicant(KofaPage):
+    """ View which sends a POST request to the Interswitch
+    CollegePAY payment gateway.
+    """
+    grok.context(ICustomApplicantOnlinePayment)
+    grok.require('waeup.payApplicant')
+    grok.template('applicant_goto_interswitch')
+    grok.name('goto_interswitch')
+    label = _('Submit data to CollegePAY (Interswitch Payment Gateway)')
+    submit_button = _('Submit')
+    action = POST_ACTION
+    site_name = SITE_NAME
+    currency = CURRENCY
+    pay_item_id = '5703'
+    product_id = PRODUCT_ID
+
+    def update(self):
+        if self.context.p_state != 'unpaid':
+            self.flash(_("Payment ticket can't be re-send to CollegePAY."))
+            self.redirect(self.url(self.context, '@@index'))
+            return
+        self.applicant = self.context.__parent__
+        self.amount_auth = 100 * self.context.amount_auth
+        xmldict = {}
+        self.category = payment_categories.getTermByToken(
+            self.context.p_category).title
+        tz = getUtility(IKofaUtils).tzinfo
+        self.local_date_time = to_timezone(
+            self.context.creation_date, tz).strftime("%Y-%m-%d %H:%M:%S %Z")
+        self.site_redirect_url = self.url(self.context, 'request_webservice')
+        if self.applicant.applicant_id.startswith('pg'):
+            provider_amt = 400
+            xmldict['institution_acct'] = '0031716030'
+            xmldict['institution_bank_id'] = '10'
+        else:
+            provider_amt = 250
+            xmldict['institution_acct'] = '6220032503'
+            xmldict['institution_bank_id'] = '51'
+        xmldict['detail_ref'] = self.context.p_id
+        xmldict['provider_amt'] = 100 * provider_amt
+        xmldict['provider_acct'] = PROVIDER_ACCT
+        xmldict['provider_bank_id'] = PROVIDER_BANK_ID
+        xmldict['provider_item_name'] = PROVIDER_ITEM_NAME
+        xmldict['institution_amt'] = 100 * (self.context.amount_auth - provider_amt - 150)
+        xmldict['institution_item_name'] = self.context.p_category
+        xmldict['institution_name'] = INSTITUTION_NAME
+        # Interswitch amount is not part of the xml data
+        xmltext = """<payment_item_detail>
+<item_details detail_ref="%(detail_ref)s" college="%(institution_name)s">
+<item_detail item_id="1" item_name="%(institution_item_name)s" item_amt="%(institution_amt)d" bank_id="%(institution_bank_id)s" acct_num="%(institution_acct)s" />
+<item_detail item_id="2" item_name="%(provider_item_name)s" item_amt="%(provider_amt)d" bank_id="%(provider_bank_id)s" acct_num="%(provider_acct)s" />
+</item_details>
+</payment_item_detail>""" % xmldict
+        self.xml_data = """<input type="hidden" name="xml_data" value='%s'  />""" % xmltext
+        return
+
+# Deprecated
+#class InterswitchPaymentCallbackPageStudent(UtilityView, grok.View):
+#    """ Callback view for the CollegePAY gateway
+#    """
+#    grok.context(ICustomStudentOnlinePayment)
+#    grok.name('isw_callback')
+#    grok.require('waeup.payStudent')
+
+    # This view is not yet working for offline querying transactions
+    # since the query string differs from the query string sent after
+    # posting transactions. This Interswitch bug must be removed first.
+    # Alternatively, we could use the webservice only and replace
+    # the RequestCallbackActionButton by a RequestWebserviceActionButton
+
+#    def update(self):
+#        if self.context.p_state == 'paid':
+#            self.flash(_('This ticket has already been paid.'))
+#            return
+#        student = self.context.getStudent()
+#        query = self.request.form
+#        write_log_message(self,'callback received: %s' % query)
+#        self.context.r_card_num = query.get('cardNum', None)
+#        self.context.r_code = query.get('resp', None)
+#        self.context.r_pay_reference  = query.get('payRef', None)
+#        self.context.r_amount_approved = float(query.get('apprAmt', '0.0')) / 100
+#        self.context.r_desc = query.get('desc', None)
+#        if self.context.r_code != '00':
+#            self.flash(_('Unsuccessful callback: ${a}',
+#                mapping = {'a': query.get('desc', _('Incomplete query string.'))}))
+#            write_log_message(self,'unsuccessful callback: %s' % self.context.p_id)
+#            self.context.p_state = 'failed'
+#            return
+#        if self.context.r_amount_approved != payment.amount_auth:
+#            self.flash(_('Wrong amount'))
+#            write_log_message(
+#                self,'successful but wrong amount: %s' % self.context.p_id)
+#            self.context.p_state = 'failed'
+#            return
+#        try:
+#            validation_list = get_SOAP_response(
+#                PRODUCT_ID, self.context.p_id).split(':')
+            # Validation does not make sense yet since the query string
+            # formats are conflicting. We are only printing the validation
+            # string, nothing else.
+#            print 'WARNING: Webservice validation is not yet implemented'
+#            print 'validation list: %s' % validation_list
+#        except:
+#            print 'Connection to webservice failed.'
+        # Add webservice validation here
+#        write_log_message(self,'valid callback: %s' % self.context.p_id)
+#        self.context.p_state = 'paid'
+#        self.context.payment_date = datetime.utcnow()
+#        actions_after_student_payment(student, self.context, self)
+#        return
+
+#    def render(self):
+#        self.redirect(self.url(self.context, '@@index'))
+#        return
+
+# Alternative solution, replaces InterswitchPaymentCallbackPage
+class InterswitchPaymentRequestWebservicePageStudent(UtilityView, grok.View):
+    """ Request webservice view for the CollegePAY gateway
+    """
+    grok.context(ICustomStudentOnlinePayment)
+    grok.name('request_webservice')
+    grok.require('waeup.payStudent')
+
+    def update(self):
+        ob_class = self.__implemented__.__name__
+        if self.context.p_state == 'paid':
+            self.flash(_('This ticket has already been paid.'))
+            return
+        student = self.context.getStudent()
+        success, msg, log = query_interswitch(self.context)
+        student.loggerInfo(ob_class, log)
+        if not success:
+            self.flash(msg)
+            return
+        success, msg, log = self.context.doAfterStudentPayment()
+        if log is not None:
+            student.loggerInfo(ob_class, log)
+        self.flash(msg)
+        return
+
+    def render(self):
+        self.redirect(self.url(self.context, '@@index'))
+        return
+
+class InterswitchPaymentRequestWebservicePageApplicant(UtilityView, grok.View):
+    """ Request webservice view for the CollegePAY gateway
+    """
+    grok.context(ICustomApplicantOnlinePayment)
+    grok.name('request_webservice')
+    grok.require('waeup.payApplicant')
+
+    def update(self):
+        ob_class = self.__implemented__.__name__
+        if self.context.p_state == 'paid':
+            self.flash(_('This ticket has already been paid.'))
+            return
+        applicant = self.context.__parent__
+        success, msg, log = query_interswitch(self.context)
+        applicant.loggerInfo(ob_class, log)
+        if not success:
+            self.flash(msg)
+            return
+        success, msg, log = self.context.doAfterApplicantPayment()
+        if log is not None:
+            applicant.loggerInfo(ob_class, log)
+        self.flash(msg)
+        return
+
+    def render(self):
+        self.redirect(self.url(self.context, '@@index'))
+        return
Index: /main/waeup.futminna/trunk/src/waeup/futminna/interswitch/browser_templates/applicant_goto_interswitch.pt
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/interswitch/browser_templates/applicant_goto_interswitch.pt	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/interswitch/browser_templates/applicant_goto_interswitch.pt	(revision 8619)
@@ -0,0 +1,76 @@
+<form i18n:domain="waeup.custom"
+  tal:attributes="action view/action" method="POST">
+
+  <p i18n:translate="">
+    These data will be submitted to the CollegePAY payment gateway,
+    please check:
+  </p>
+
+  <table class="form-table" i18n:domain="waeup.kofa">
+    <thead>
+    </thead>
+    <tbody>
+      <tr>
+        <td i18n:translate="" class="fieldname">
+          Total Amount Authorized:</td>
+        <td>
+          <span tal:replace="view/context/amount_auth">AMOUNT</span>
+        </td>
+      </tr>
+      <tr>
+        <td i18n:translate="" class="fieldname">
+          Transaction Reference:</td>
+        <td>
+          <span tal:replace="view/context/p_id">TXNREF</span>
+        </td>
+      </tr>
+      <tr>
+        <td i18n:translate="" class="fieldname">
+          Customer Id:</td>
+        <td>
+          <span tal:replace="view/applicant/applicant_id">CUSTID</span>
+        </td>
+      </tr>
+      <tr>
+        <td i18n:translate="" class="fieldname">
+          Customer Name:</td>
+        <td>
+          <span tal:replace="view/applicant/display_fullname">CUSTNAME</span>
+        </td>
+      </tr>
+      <tr>
+        <td i18n:translate="" class="fieldname">
+          Payment Item:</td>
+        <td>
+          <span tal:replace="view/context/p_item">PAYMENTITEM</span>
+        </td>
+      </tr>
+      <tr>
+        <td i18n:translate="" class="fieldname">
+          Payment Category:</td>
+        <td>
+          <span tal:replace="view/category">PAYMENTCATEGORY</span>
+        </td>
+      </tr>
+    </tbody>
+  </table>
+
+  <input type="hidden" name="product_id" tal:attributes="value view/product_id" />
+  <input type="hidden" name="currency" tal:attributes="value view/currency" />
+  <input type="hidden" name="pay_item_id" tal:attributes="value view/pay_item_id" />
+  <input type="hidden" name="site_redirect_url" tal:attributes="value view/site_redirect_url" />
+  <input type="hidden" name="site_name" tal:attributes="value view/site_name" />
+  <input type="hidden" name="local_date_time" tal:attributes="value view/local_date_time" />
+  <input type="hidden" name="amount" tal:attributes="value view/amount_auth" />
+  <input type="hidden" name="txn_ref" tal:attributes="value view/context/p_id" />
+  <input type="hidden" name="pay_item_name" tal:attributes="value view/context/p_item" />
+  <input type="hidden" name="cust_id_desc" tal:attributes="value view/category" />
+  <input type="hidden" name="cust_id" tal:attributes="value view/applicant/applicant_id" />
+  <input type="hidden" name="cust_name" tal:attributes="value view/applicant/display_fullname" />
+
+  <input type="hidden" name="payment_params" value="college_split" />
+  <span tal:replace="structure view/xml_data"></span>
+
+  <input type="submit" class="btn" tal:attributes="value view/submit_button"/>
+
+</form>
Index: /main/waeup.futminna/trunk/src/waeup/futminna/interswitch/browser_templates/student_goto_interswitch.pt
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/interswitch/browser_templates/student_goto_interswitch.pt	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/interswitch/browser_templates/student_goto_interswitch.pt	(revision 8619)
@@ -0,0 +1,76 @@
+<form i18n:domain="waeup.custom"
+  tal:attributes="action view/action" method="POST">
+
+  <p i18n:translate="">
+    These data will be submitted to the CollegePAY payment gateway,
+    please check:
+  </p>
+
+  <table class="form-table" i18n:domain="waeup.kofa">
+    <thead>
+    </thead>
+    <tbody>
+      <tr>
+        <td i18n:translate="" class="fieldname">
+          Total Amount Authorized:</td>
+        <td>
+          <span tal:replace="view/context/amount_auth">AMOUNT</span>
+        </td>
+      </tr>
+      <tr>
+        <td i18n:translate="" class="fieldname">
+          Transaction Reference:</td>
+        <td>
+          <span tal:replace="view/context/p_id">TXNREF</span>
+        </td>
+      </tr>
+      <tr>
+        <td i18n:translate="" class="fieldname">
+          Customer Id:</td>
+        <td>
+          <span tal:replace="view/student/student_id">CUSTID</span>
+        </td>
+      </tr>
+      <tr>
+        <td i18n:translate="" class="fieldname">
+          Customer Name:</td>
+        <td>
+          <span tal:replace="view/student/display_fullname">CUSTNAME</span>
+        </td>
+      </tr>
+      <tr>
+        <td i18n:translate="" class="fieldname">
+          Payment Item:</td>
+        <td>
+          <span tal:replace="view/context/p_item">PAYMENTITEM</span>
+        </td>
+      </tr>
+      <tr>
+        <td i18n:translate="" class="fieldname">
+          Payment Category:</td>
+        <td>
+          <span tal:replace="view/category">PAYMENTCATEGORY</span>
+        </td>
+      </tr>
+    </tbody>
+  </table>
+
+  <input type="hidden" name="product_id" tal:attributes="value view/product_id" />
+  <input type="hidden" name="currency" tal:attributes="value view/currency" />
+  <input type="hidden" name="pay_item_id" tal:attributes="value view/pay_item_id" />
+  <input type="hidden" name="site_redirect_url" tal:attributes="value view/site_redirect_url" />
+  <input type="hidden" name="site_name" tal:attributes="value view/site_name" />
+  <input type="hidden" name="local_date_time" tal:attributes="value view/local_date_time" />
+  <input type="hidden" name="amount" tal:attributes="value view/amount_auth" />
+  <input type="hidden" name="txn_ref" tal:attributes="value view/context/p_id" />
+  <input type="hidden" name="pay_item_name" tal:attributes="value view/context/p_item" />
+  <input type="hidden" name="cust_id_desc" tal:attributes="value view/category" />
+  <input type="hidden" name="cust_id" tal:attributes="value view/student/student_id" />
+  <input type="hidden" name="cust_name" tal:attributes="value view/student/display_fullname" />
+
+  <input type="hidden" name="payment_params" value="college_split" />
+  <span tal:replace="structure view/xml_data"></span>
+
+  <input type="submit" class="btn" tal:attributes="value view/submit_button"/>
+
+</form>
Index: /main/waeup.futminna/trunk/src/waeup/futminna/interswitch/tests.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/interswitch/tests.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/interswitch/tests.py	(revision 8619)
@@ -0,0 +1,167 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+from hurry.workflow.interfaces import IWorkflowState
+from waeup.kofa.students.tests.test_browser import StudentsFullSetup
+from waeup.kofa.applicants.tests.test_browser import ApplicantsFullSetup
+from waeup.kofa.configuration import SessionConfiguration
+from waeup.futminna.testing import FunctionalLayer
+
+# Also run tests that send requests to external servers?
+#   If you enable this, please make sure the external services
+#   do exist really and are not bothered by being spammed by a test programme.
+EXTERNAL_TESTS = False
+
+def external_test(func):
+    if not EXTERNAL_TESTS:
+        myself = __file__
+        if myself.endswith('.pyc'):
+            myself = myself[:-2]
+        print "WARNING: external tests are skipped!"
+        print "WARNING: edit %s to enable them." % myself
+        return
+    return func
+
+
+class InterswitchTestsStudents(StudentsFullSetup):
+    """Tests for the Interswitch payment gateway.
+    """
+
+    layer = FunctionalLayer
+
+    def setUp(self):
+        super(InterswitchTestsStudents, self).setUp()
+        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
+        self.browser.open(self.payments_path)
+        IWorkflowState(self.student).setState('cleared')
+        self.browser.open(self.payments_path + '/addop')
+        self.browser.getControl("Create ticket").click()
+        self.assertMatches('...ticket created...',
+                           self.browser.contents)
+        ctrl = self.browser.getControl(name='val_id')
+        value = ctrl.options[0]
+        self.browser.getLink(value).click()
+        self.assertMatches('...Amount Authorized...',
+                           self.browser.contents)
+        self.assertMatches(
+            '...<span>40000.0</span>...',
+            self.browser.contents)
+        self.payment_url = self.browser.url
+
+
+#    def callback_url(self, payment_url, resp, apprAmt):
+#        return payment_url + (
+#            '/isw_callback?echo=' +
+#            '&resp=%s' +
+#            '&desc=Something went wrong' +
+#            '&txnRef=p1331792385335' +
+#            '&payRef=' + '&retRef=' +
+#            '&cardNum=0' +
+#            '&apprAmt=%s' +
+#            '&url=http://xyz') % (resp, apprAmt)
+
+    def test_interswitch_form(self):
+
+        # Manager can access InterswitchForm
+        self.browser.getLink("CollegePAY", index=0).click()
+        self.assertMatches('...Total Amount Authorized:...',
+                           self.browser.contents)
+        # The total amount to be processed by Interswitch
+        # has been reduced by the Interswitch fee of 150 Nairas
+        self.assertMatches(
+            '...<input type="hidden" name="amount" value="4000000.0" />...',
+            self.browser.contents)
+
+#    @external_test
+#    def test_callback(self):
+
+        # Manager can call callback manually
+#        self.browser.open(self.callback_url(self.payment_url, 'XX', '300'))
+#        self.assertMatches('...Unsuccessful callback: Something went wrong...',
+#                          self.browser.contents)
+#        self.assertMatches('...Failed...',
+#                           self.browser.contents)
+#        self.browser.open(self.payment_url + '/isw_callback')
+#        self.assertMatches('...Unsuccessful callback: Incomplete query string...',
+#                          self.browser.contents)
+#        self.assertMatches('...Failed...',
+#                           self.browser.contents)
+#        self.browser.open(self.callback_url(self.payment_url, '00', '300000'))
+#        self.assertMatches('...Wrong amount...',
+#                          self.browser.contents)
+#        self.browser.open(self.callback_url(self.payment_url, '00', '4000000'))
+#        self.assertMatches('...Valid callback received...',
+#                          self.browser.contents)
+
+    @external_test
+    def test_webservice(self):
+
+        self.browser.open(self.payment_url + '/request_webservice')
+        self.assertMatches('...Unsuccessful callback...',
+                          self.browser.contents)
+        # The payment is now in state failed
+        self.assertMatches('...<span>Failed</span>...',
+                          self.browser.contents)
+
+class InterswitchTestsApplicants(ApplicantsFullSetup):
+    """Tests for the Interswitch payment gateway.
+    """
+
+    layer = FunctionalLayer
+
+    def setUp(self):
+        super(InterswitchTestsApplicants, self).setUp()
+        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
+        self.browser.open(self.manage_path)
+        #IWorkflowState(self.student).setState('started')
+        super(InterswitchTestsApplicants, self).fill_correct_values()
+        self.applicantscontainer.application_fee = 1000.0
+        self.browser.getControl(name="transition").value = ['start']
+        self.browser.getControl("Save").click()
+        self.browser.getControl("Add online").click()
+        self.assertMatches('...ticket created...',
+                           self.browser.contents)
+        #ctrl = self.browser.getControl(name='val_id')
+        #value = ctrl.options[0]
+        #self.browser.getLink(value).click()
+        self.assertMatches('...Amount Authorized...',
+                           self.browser.contents)
+        self.assertMatches(
+            '...<span>1000.0</span>...',
+            self.browser.contents)
+        self.payment_url = self.browser.url
+
+
+    def test_interswitch_form(self):
+
+        # Manager can access InterswitchForm
+        self.browser.getLink("CollegePAY", index=0).click()
+        self.assertMatches('...Total Amount Authorized:...',
+                           self.browser.contents)
+        self.assertMatches(
+            '...<input type="hidden" name="amount" value="100000.0" />...',
+            self.browser.contents)
+
+    @external_test
+    def test_webservice(self):
+
+        self.browser.open(self.payment_url + '/request_webservice')
+        self.assertMatches('...Unsuccessful callback...',
+                          self.browser.contents)
+        # The payment is now in state failed
+        self.assertMatches('...<span>Failed</span>...',
+                          self.browser.contents)
Index: /main/waeup.futminna/trunk/src/waeup/futminna/locales.zcml
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/locales.zcml	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/locales.zcml	(revision 8619)
@@ -0,0 +1,8 @@
+<configure xmlns="http://namespaces.zope.org/zope"
+           xmlns:i18n="http://namespaces.zope.org/i18n">
+
+  <include package="zope.i18n" file="meta.zcml" />
+  <i18n:registerTranslations directory="locales" />
+  <include package="waeup.kofa" file="locales.zcml" />
+
+</configure>
Index: /main/waeup.futminna/trunk/src/waeup/futminna/locales/de/LC_MESSAGES/waeup.futminna.po
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/locales/de/LC_MESSAGES/waeup.futminna.po	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/locales/de/LC_MESSAGES/waeup.futminna.po	(revision 8619)
@@ -0,0 +1,730 @@
+# #############################################################################
+#
+# Copyright (c) 2003-2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+# #############################################################################
+msgid ""
+msgstr ""
+"Project-Id-Version: WAeUP.Kofa\n"
+"POT-Creation-Date: Sun Jun  3 19:34:05 2012\n"
+"PO-Revision-Date: 2012-03-14 16:36+0100\n"
+"Last-Translator: Henrik Bettermann <henrik@waeup.org>\n"
+"Language-Team: WAeUP Germany <henrik@waeup.org>\n"
+"Language: de-DE\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Generated-By: zope/app/locales/extract.py\n"
+"X-Poedit-Language: German\n"
+"X-Poedit-Country: GERMANY\n"
+"X-Poedit-SourceCharset: utf-8\n"
+
+#. Default: ""
+#: waeup/futminna/applicants/browser.py:183
+#: waeup/futminna/students/browser.py:207
+msgid ""
+"<br /><br /><br />\n"
+"The tranzaction code is <strong>${a}</strong>."
+msgstr ""
+
+#: waeup/futminna/applicants/browser.py:71
+msgid "<br /><br /><br />Comfirm your exam venue 72 hours to the exam."
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:103
+#: waeup/futminna/applicants/interfaces.py:280
+msgid "Screening Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:107
+#: waeup/futminna/applicants/interfaces.py:284
+msgid "Screening Score"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:111
+#: waeup/futminna/applicants/interfaces.py:289
+msgid "Student Id"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:116
+#: waeup/futminna/applicants/interfaces.py:294
+msgid "Admitted Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:121
+#: waeup/futminna/applicants/interfaces.py:300
+msgid "Form locked"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:158
+#: waeup/futminna/applicants/interfaces.py:190
+#: waeup/futminna/students/interfaces.py:185
+#: waeup/futminna/students/interfaces.py:229
+msgid "Qualification Obtained"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:164
+#: waeup/futminna/students/interfaces.py:192
+#: waeup/futminna/students/interfaces.py:236
+msgid "Former Matric Number"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:169
+#: waeup/futminna/students/interfaces.py:198
+#: waeup/futminna/students/interfaces.py:242
+msgid "Class of Degree"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:175
+#: waeup/futminna/students/interfaces.py:205
+#: waeup/futminna/students/interfaces.py:249
+msgid "Institution Attended"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:180
+#: waeup/futminna/students/interfaces.py:211
+#: waeup/futminna/students/interfaces.py:255
+msgid "Years Attended"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:185
+#: waeup/futminna/students/interfaces.py:217
+#: waeup/futminna/students/interfaces.py:261
+msgid "Discipline"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:201
+msgid "If yes, name of institution"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:206
+#: waeup/futminna/students/interfaces.py:267
+msgid "Nysc Year"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:212
+#: waeup/futminna/students/interfaces.py:274
+msgid "Nysc Location"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:216
+#: waeup/futminna/students/interfaces.py:279
+msgid "Employer"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:221
+#: waeup/futminna/students/interfaces.py:285
+msgid "Employer Position"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:226
+#: waeup/futminna/applicants/interfaces.py:253
+#: waeup/futminna/students/interfaces.py:291
+#: waeup/futminna/students/interfaces.py:323
+msgid "Start Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:232
+#: waeup/futminna/applicants/interfaces.py:259
+#: waeup/futminna/students/interfaces.py:298
+#: waeup/futminna/students/interfaces.py:329
+msgid "End Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:238
+#: waeup/futminna/applicants/interfaces.py:265
+#: waeup/futminna/students/interfaces.py:305
+#: waeup/futminna/students/interfaces.py:336
+msgid "Reason for Leaving"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:243
+#: waeup/futminna/students/interfaces.py:311
+msgid "2nd Employer"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:248
+#: waeup/futminna/students/interfaces.py:317
+msgid "2nd Employer Position"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:359
+msgid "Email Address"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:364
+#: waeup/futminna/students/interfaces.py:69
+msgid "Date of Birth"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:64
+#: waeup/futminna/applicants/interfaces.py:135
+#: waeup/futminna/students/interfaces.py:76
+msgid "Nationality"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:69
+#: waeup/futminna/applicants/interfaces.py:140
+#: waeup/futminna/students/interfaces.py:82
+msgid "State/LGA (Nigerians only)"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:73
+#: waeup/futminna/applicants/interfaces.py:144
+msgid "Permanent Address"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:77
+#: waeup/futminna/applicants/interfaces.py:148
+msgid "1st Choice Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:82
+#: waeup/futminna/applicants/interfaces.py:153
+msgid "2nd Choice Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:87
+msgid "Subjects and Scores"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:91
+msgid "Total Score"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:95
+#: waeup/futminna/applicants/interfaces.py:270
+msgid "Notice"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:99
+#: waeup/futminna/applicants/interfaces.py:275
+msgid "Screening Venue"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:49
+msgid "Base Data"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:50
+msgid "Programmes/Courses Desired"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:51 waeup/futminna/students/utils.py:161
+msgid "Higher Education Record"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:52
+msgid "Course or Programme Presently Attending"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:53 waeup/futminna/students/utils.py:163
+msgid "NYSC Information"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:54 waeup/futminna/students/utils.py:164
+msgid "Employment History"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:55
+msgid "JAMB Data"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:56
+msgid "Application Process Information"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:57
+msgid "Post Primary School Qualification"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:58
+msgid "Presently attending a course or programme"
+msgstr ""
+
+#: waeup/futminna/browser/theming.py:30
+#, fuzzy
+msgid "FUTMinna Theme"
+msgstr "Benutzerdefiniertes Thema 1"
+
+#: waeup/futminna/etranzact/browser.py:100
+#: waeup/futminna/etranzact/browser.py:108
+msgid "Query eTranzact History"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:119
+msgid "Submit to eTranzact"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:120
+msgid "Requery eTranzact History"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:139
+#: waeup/futminna/etranzact/browser.py:167
+#: waeup/futminna/interswitch/browser.py:410
+#: waeup/futminna/interswitch/browser.py:438
+msgid "This ticket has already been paid."
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/etranzact/browser.py:47
+msgid "Invalid or unsuccessful callback: ${a}"
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/etranzact/browser.py:55
+#: waeup/futminna/etranzact/browser.py:62
+#: waeup/futminna/interswitch/browser.py:95
+msgid "Invalid callback: ${a}"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:67
+msgid "eTranzact IOError"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:76
+msgid "Wrong amount"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:85
+msgid "Wrong transaction code"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:90
+#: waeup/futminna/interswitch/browser.py:120
+msgid "Successful callback received"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:104
+msgid "Application Fee (fallback)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:110
+#, fuzzy
+msgid "Clearance Fee (ignored)"
+msgstr "Einschreibungsgebühr"
+
+#: waeup/futminna/interfaces.py:116
+msgid "Booking Fee"
+msgstr "Buchungsgebühr"
+
+#: waeup/futminna/interfaces.py:124
+#, fuzzy
+msgid "Maintenance Fee (ignored)"
+msgstr "Miete"
+
+#: waeup/futminna/interfaces.py:130
+msgid "Gown Fee"
+msgstr "Talar-Gebühr"
+
+#: waeup/futminna/interfaces.py:136
+msgid "Transfer Fee"
+msgstr "Studienfachwechselgebühr"
+
+#: waeup/futminna/interfaces.py:151
+msgid "Academic Session"
+msgstr "Akademisches Jahr"
+
+#. Default: ""
+#: waeup/futminna/interfaces.py:88
+msgid "Invalid key: ${a}"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:98
+msgid "School Fee (ignored)"
+msgstr "Schulgebühr (wird nicht verwendet)"
+
+#. Default: ""
+#: waeup/futminna/interswitch/browser.py:104
+msgid "Unsuccessful callback: ${a}"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:109
+msgid "Callback amount does not match."
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:114
+msgid "Callback transaction id does not match."
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:129
+#: waeup/futminna/interswitch/browser.py:143
+msgid "CollegePAY"
+msgstr "CollegePAY"
+
+#: waeup/futminna/interswitch/browser.py:175
+#: waeup/futminna/interswitch/browser.py:183
+#, fuzzy
+msgid "Requery CollegePAY"
+msgstr "CollegePAY"
+
+#: waeup/futminna/interswitch/browser.py:195
+#: waeup/futminna/interswitch/browser.py:292
+msgid "Submit data to CollegePAY (Interswitch Payment Gateway)"
+msgstr "Daten an CollegePAY (Interswitch Payment Gateway) senden"
+
+#: waeup/futminna/interswitch/browser.py:196
+#: waeup/futminna/interswitch/browser.py:293
+msgid "Submit"
+msgstr "Senden"
+
+#: waeup/futminna/interswitch/browser.py:206
+#: waeup/futminna/interswitch/browser.py:302
+msgid "Payment ticket can't be re-send to CollegePAY."
+msgstr "Bewertete Bezahl-Tickets können nicht erneut gesendet werden."
+
+#: waeup/futminna/payments/interfaces.py:29
+msgid "Activation Code"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:36
+msgid "Response Amount Approved"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:43
+msgid "Response Code"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:50
+msgid "Response Description"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:59
+msgid "Response Payment Reference"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:66
+msgid "Response Card Number"
+msgstr ""
+
+#: waeup/futminna/students/browser.py:150
+msgid "No birth certificate uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:152
+msgid "No referee letter uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:154
+msgid "No acceptance letter uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:156
+msgid "No first sitting result uploaded."
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:104
+#: waeup/futminna/students/interfaces.py:137
+#: waeup/futminna/students/interfaces.py:170
+msgid "Exam Date"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:111
+#: waeup/futminna/students/interfaces.py:144
+msgid "Exam Type"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:118
+#: waeup/futminna/students/interfaces.py:151
+#: waeup/futminna/students/interfaces.py:177
+msgid "Exam Results"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:342
+msgid "If yes, matric number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:372
+msgid "Payment Level"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:399
+msgid "Matriculation Number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:44
+#: waeup/futminna/students/interfaces.py:390
+msgid "Registration Number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:60
+msgid "Unmarried"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:61
+msgid "Married"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:87
+msgid "Deferent of Admission"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:93
+#: waeup/futminna/students/interfaces.py:126
+#: waeup/futminna/students/interfaces.py:159
+msgid "Full Name"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:98
+#: waeup/futminna/students/interfaces.py:131
+#: waeup/futminna/students/interfaces.py:164
+msgid "Exam Number"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:108
+msgid "Amount could not be determined."
+msgstr "Betrag konnte nicht ermittelt werden."
+
+#: waeup/futminna/students/utils.py:115
+msgid "This type of payment has already been made."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:158
+msgid "First Sitting Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:159
+msgid "Second Sitting Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:160
+msgid "Advanced Level Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:162
+msgid "Second Higher Education Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:165
+msgid "Former FUTMinna Student"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:69
+msgid "Session configuration object is not available."
+msgstr "Session-Konfiguration ist nicht verfügbar."
+
+#: waeup/futminna/students/utils.py:82 waeup/futminna/students/utils.py:93
+msgid "Study course data are incomplete."
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:100
+msgid "Second Sitting Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:116
+#: waeup/futminna/students/viewlets.py:117
+#: waeup/futminna/students/viewlets.py:127
+msgid "Higher Qualification Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:128
+msgid "Higher Qualification Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:144
+#: waeup/futminna/students/viewlets.py:145
+#: waeup/futminna/students/viewlets.py:155
+msgid "Second Higher Qualification Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:156
+msgid "Second Higher Qualification Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:179
+#: waeup/futminna/students/viewlets.py:180
+#: waeup/futminna/students/viewlets.py:190
+msgid "Advanced Level Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:191
+msgid "Advanced Level Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:207
+#: waeup/futminna/students/viewlets.py:208
+#: waeup/futminna/students/viewlets.py:218
+msgid "Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:219
+msgid "Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:235
+#: waeup/futminna/students/viewlets.py:236
+#: waeup/futminna/students/viewlets.py:246
+msgid "Second Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:247
+msgid "Second Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:270
+#: waeup/futminna/students/viewlets.py:271
+#: waeup/futminna/students/viewlets.py:281
+msgid "Third Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:282
+msgid "Third Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:305
+#: waeup/futminna/students/viewlets.py:306
+#: waeup/futminna/students/viewlets.py:316
+msgid "Evidence of Name"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:317
+msgid "Evidence of Name Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:32
+#: waeup/futminna/students/viewlets.py:43
+msgid "LGA Identification"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:33
+#: waeup/futminna/students/viewlets.py:44
+msgid "LGA Identification Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:333
+#: waeup/futminna/students/viewlets.py:334
+#: waeup/futminna/students/viewlets.py:344
+msgid "Result Statement"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:345
+msgid "Result Statement Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:361
+#: waeup/futminna/students/viewlets.py:362
+#: waeup/futminna/students/viewlets.py:372
+msgid "Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:373
+msgid "Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:389
+#: waeup/futminna/students/viewlets.py:390
+#: waeup/futminna/students/viewlets.py:400
+msgid "Second Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:401
+msgid "Second Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:424
+#: waeup/futminna/students/viewlets.py:425
+#: waeup/futminna/students/viewlets.py:435
+msgid "Third Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:436
+msgid "Third Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:459
+#: waeup/futminna/students/viewlets.py:460
+#: waeup/futminna/students/viewlets.py:470
+msgid "Statutory Declaration of Good Conduct"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:471
+msgid "Statutory Declaration of Good Conduct Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:487
+#: waeup/futminna/students/viewlets.py:488
+#: waeup/futminna/students/viewlets.py:498
+msgid "Letter of Admission"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:499
+msgid "Letter of Admission Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:60
+#: waeup/futminna/students/viewlets.py:61
+#: waeup/futminna/students/viewlets.py:71
+msgid "First Sitting Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:72
+msgid "First Sitting Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:88
+#: waeup/futminna/students/viewlets.py:89
+#: waeup/futminna/students/viewlets.py:99
+msgid "Second Sitting Result"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:26
+msgid "Nigeria"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:27
+msgid "Germany"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:28
+msgid "United States"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:29
+msgid "Niger"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:30
+msgid "Benin"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:31
+msgid "Cameroon"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:32
+msgid "United Kingdom"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:33
+msgid "France"
+msgstr ""
+
+#~ msgid "Postgraduates"
+#~ msgstr "Postgraduierte"
+
+#~ msgid "handles postgraduate applicants"
+#~ msgstr "für Antragsteller von Postgraduierten-Studiengängen"
+
+#~ msgid "Surcharge Portal Provider"
+#~ msgstr "Gebühr Portal-Provider"
+
+#~ msgid "Surcharge Interswitch"
+#~ msgstr "Gebühr Interswitch"
+
+#~ msgid "Surcharge 3"
+#~ msgstr "Gebühr 3"
+
+#~ msgid "Acceptance Fee"
+#~ msgstr "Zulassungsgebühr"
+
+#~ msgid "Request CollegePAY callback"
+#~ msgstr "CollegePAY Rückruf"
Index: /main/waeup.futminna/trunk/src/waeup/futminna/locales/en/LC_MESSAGES/waeup.futminna.po
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/locales/en/LC_MESSAGES/waeup.futminna.po	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/locales/en/LC_MESSAGES/waeup.futminna.po	(revision 8619)
@@ -0,0 +1,702 @@
+# #############################################################################
+#
+# Copyright (c) 2003-2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+# #############################################################################
+msgid ""
+msgstr ""
+"Project-Id-Version: Development/Unknown\n"
+"POT-Creation-Date: Sun Jun  3 19:34:05 2012\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: Zope 3 Developers <zope3-dev@zope.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Generated-By: zope/app/locales/extract.py\n"
+
+#. Default: ""
+#: waeup/futminna/applicants/browser.py:183
+#: waeup/futminna/students/browser.py:207
+msgid ""
+"<br /><br /><br />\n"
+"The tranzaction code is <strong>${a}</strong>."
+msgstr ""
+
+#: waeup/futminna/applicants/browser.py:71
+msgid "<br /><br /><br />Comfirm your exam venue 72 hours to the exam."
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:103
+#: waeup/futminna/applicants/interfaces.py:280
+msgid "Screening Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:107
+#: waeup/futminna/applicants/interfaces.py:284
+msgid "Screening Score"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:111
+#: waeup/futminna/applicants/interfaces.py:289
+msgid "Student Id"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:116
+#: waeup/futminna/applicants/interfaces.py:294
+msgid "Admitted Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:121
+#: waeup/futminna/applicants/interfaces.py:300
+msgid "Form locked"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:158
+#: waeup/futminna/applicants/interfaces.py:190
+#: waeup/futminna/students/interfaces.py:185
+#: waeup/futminna/students/interfaces.py:229
+msgid "Qualification Obtained"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:164
+#: waeup/futminna/students/interfaces.py:192
+#: waeup/futminna/students/interfaces.py:236
+msgid "Former Matric Number"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:169
+#: waeup/futminna/students/interfaces.py:198
+#: waeup/futminna/students/interfaces.py:242
+msgid "Class of Degree"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:175
+#: waeup/futminna/students/interfaces.py:205
+#: waeup/futminna/students/interfaces.py:249
+msgid "Institution Attended"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:180
+#: waeup/futminna/students/interfaces.py:211
+#: waeup/futminna/students/interfaces.py:255
+msgid "Years Attended"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:185
+#: waeup/futminna/students/interfaces.py:217
+#: waeup/futminna/students/interfaces.py:261
+msgid "Discipline"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:201
+msgid "If yes, name of institution"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:206
+#: waeup/futminna/students/interfaces.py:267
+msgid "Nysc Year"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:212
+#: waeup/futminna/students/interfaces.py:274
+msgid "Nysc Location"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:216
+#: waeup/futminna/students/interfaces.py:279
+msgid "Employer"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:221
+#: waeup/futminna/students/interfaces.py:285
+msgid "Employer Position"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:226
+#: waeup/futminna/applicants/interfaces.py:253
+#: waeup/futminna/students/interfaces.py:291
+#: waeup/futminna/students/interfaces.py:323
+msgid "Start Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:232
+#: waeup/futminna/applicants/interfaces.py:259
+#: waeup/futminna/students/interfaces.py:298
+#: waeup/futminna/students/interfaces.py:329
+msgid "End Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:238
+#: waeup/futminna/applicants/interfaces.py:265
+#: waeup/futminna/students/interfaces.py:305
+#: waeup/futminna/students/interfaces.py:336
+msgid "Reason for Leaving"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:243
+#: waeup/futminna/students/interfaces.py:311
+msgid "2nd Employer"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:248
+#: waeup/futminna/students/interfaces.py:317
+msgid "2nd Employer Position"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:359
+msgid "Email Address"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:364
+#: waeup/futminna/students/interfaces.py:69
+msgid "Date of Birth"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:64
+#: waeup/futminna/applicants/interfaces.py:135
+#: waeup/futminna/students/interfaces.py:76
+msgid "Nationality"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:69
+#: waeup/futminna/applicants/interfaces.py:140
+#: waeup/futminna/students/interfaces.py:82
+msgid "State/LGA (Nigerians only)"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:73
+#: waeup/futminna/applicants/interfaces.py:144
+msgid "Permanent Address"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:77
+#: waeup/futminna/applicants/interfaces.py:148
+msgid "1st Choice Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:82
+#: waeup/futminna/applicants/interfaces.py:153
+msgid "2nd Choice Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:87
+msgid "Subjects and Scores"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:91
+msgid "Total Score"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:95
+#: waeup/futminna/applicants/interfaces.py:270
+msgid "Notice"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:99
+#: waeup/futminna/applicants/interfaces.py:275
+msgid "Screening Venue"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:49
+msgid "Base Data"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:50
+msgid "Programmes/Courses Desired"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:51 waeup/futminna/students/utils.py:161
+msgid "Higher Education Record"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:52
+msgid "Course or Programme Presently Attending"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:53 waeup/futminna/students/utils.py:163
+msgid "NYSC Information"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:54 waeup/futminna/students/utils.py:164
+msgid "Employment History"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:55
+msgid "JAMB Data"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:56
+msgid "Application Process Information"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:57
+msgid "Post Primary School Qualification"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:58
+msgid "Presently attending a course or programme"
+msgstr ""
+
+#: waeup/futminna/browser/theming.py:30
+msgid "FUTMinna Theme"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:100
+#: waeup/futminna/etranzact/browser.py:108
+msgid "Query eTranzact History"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:119
+msgid "Submit to eTranzact"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:120
+msgid "Requery eTranzact History"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:139
+#: waeup/futminna/etranzact/browser.py:167
+#: waeup/futminna/interswitch/browser.py:410
+#: waeup/futminna/interswitch/browser.py:438
+msgid "This ticket has already been paid."
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/etranzact/browser.py:47
+msgid "Invalid or unsuccessful callback: ${a}"
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/etranzact/browser.py:55
+#: waeup/futminna/etranzact/browser.py:62
+#: waeup/futminna/interswitch/browser.py:95
+msgid "Invalid callback: ${a}"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:67
+msgid "eTranzact IOError"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:76
+msgid "Wrong amount"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:85
+msgid "Wrong transaction code"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:90
+#: waeup/futminna/interswitch/browser.py:120
+msgid "Successful callback received"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:104
+msgid "Application Fee (fallback)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:110
+msgid "Clearance Fee (ignored)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:116
+msgid "Booking Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:124
+msgid "Maintenance Fee (ignored)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:130
+msgid "Gown Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:136
+msgid "Transfer Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:151
+msgid "Academic Session"
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/interfaces.py:88
+msgid "Invalid key: ${a}"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:98
+msgid "School Fee (ignored)"
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/interswitch/browser.py:104
+msgid "Unsuccessful callback: ${a}"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:109
+msgid "Callback amount does not match."
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:114
+msgid "Callback transaction id does not match."
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:129
+#: waeup/futminna/interswitch/browser.py:143
+msgid "CollegePAY"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:175
+#: waeup/futminna/interswitch/browser.py:183
+msgid "Requery CollegePAY"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:195
+#: waeup/futminna/interswitch/browser.py:292
+msgid "Submit data to CollegePAY (Interswitch Payment Gateway)"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:196
+#: waeup/futminna/interswitch/browser.py:293
+msgid "Submit"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:206
+#: waeup/futminna/interswitch/browser.py:302
+msgid "Payment ticket can't be re-send to CollegePAY."
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:29
+msgid "Activation Code"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:36
+msgid "Response Amount Approved"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:43
+msgid "Response Code"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:50
+msgid "Response Description"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:59
+msgid "Response Payment Reference"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:66
+msgid "Response Card Number"
+msgstr ""
+
+#: waeup/futminna/students/browser.py:150
+msgid "No birth certificate uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:152
+msgid "No referee letter uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:154
+msgid "No acceptance letter uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:156
+msgid "No first sitting result uploaded."
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:104
+#: waeup/futminna/students/interfaces.py:137
+#: waeup/futminna/students/interfaces.py:170
+msgid "Exam Date"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:111
+#: waeup/futminna/students/interfaces.py:144
+msgid "Exam Type"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:118
+#: waeup/futminna/students/interfaces.py:151
+#: waeup/futminna/students/interfaces.py:177
+msgid "Exam Results"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:342
+msgid "If yes, matric number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:372
+msgid "Payment Level"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:399
+msgid "Matriculation Number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:44
+#: waeup/futminna/students/interfaces.py:390
+msgid "Registration Number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:60
+msgid "Unmarried"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:61
+msgid "Married"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:87
+msgid "Deferent of Admission"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:93
+#: waeup/futminna/students/interfaces.py:126
+#: waeup/futminna/students/interfaces.py:159
+msgid "Full Name"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:98
+#: waeup/futminna/students/interfaces.py:131
+#: waeup/futminna/students/interfaces.py:164
+msgid "Exam Number"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:108
+msgid "Amount could not be determined."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:115
+msgid "This type of payment has already been made."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:158
+msgid "First Sitting Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:159
+msgid "Second Sitting Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:160
+msgid "Advanced Level Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:162
+msgid "Second Higher Education Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:165
+msgid "Former FUTMinna Student"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:69
+msgid "Session configuration object is not available."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:82 waeup/futminna/students/utils.py:93
+msgid "Study course data are incomplete."
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:100
+msgid "Second Sitting Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:116
+#: waeup/futminna/students/viewlets.py:117
+#: waeup/futminna/students/viewlets.py:127
+msgid "Higher Qualification Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:128
+msgid "Higher Qualification Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:144
+#: waeup/futminna/students/viewlets.py:145
+#: waeup/futminna/students/viewlets.py:155
+msgid "Second Higher Qualification Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:156
+msgid "Second Higher Qualification Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:179
+#: waeup/futminna/students/viewlets.py:180
+#: waeup/futminna/students/viewlets.py:190
+msgid "Advanced Level Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:191
+msgid "Advanced Level Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:207
+#: waeup/futminna/students/viewlets.py:208
+#: waeup/futminna/students/viewlets.py:218
+msgid "Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:219
+msgid "Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:235
+#: waeup/futminna/students/viewlets.py:236
+#: waeup/futminna/students/viewlets.py:246
+msgid "Second Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:247
+msgid "Second Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:270
+#: waeup/futminna/students/viewlets.py:271
+#: waeup/futminna/students/viewlets.py:281
+msgid "Third Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:282
+msgid "Third Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:305
+#: waeup/futminna/students/viewlets.py:306
+#: waeup/futminna/students/viewlets.py:316
+msgid "Evidence of Name"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:317
+msgid "Evidence of Name Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:32
+#: waeup/futminna/students/viewlets.py:43
+msgid "LGA Identification"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:33
+#: waeup/futminna/students/viewlets.py:44
+msgid "LGA Identification Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:333
+#: waeup/futminna/students/viewlets.py:334
+#: waeup/futminna/students/viewlets.py:344
+msgid "Result Statement"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:345
+msgid "Result Statement Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:361
+#: waeup/futminna/students/viewlets.py:362
+#: waeup/futminna/students/viewlets.py:372
+msgid "Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:373
+msgid "Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:389
+#: waeup/futminna/students/viewlets.py:390
+#: waeup/futminna/students/viewlets.py:400
+msgid "Second Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:401
+msgid "Second Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:424
+#: waeup/futminna/students/viewlets.py:425
+#: waeup/futminna/students/viewlets.py:435
+msgid "Third Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:436
+msgid "Third Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:459
+#: waeup/futminna/students/viewlets.py:460
+#: waeup/futminna/students/viewlets.py:470
+msgid "Statutory Declaration of Good Conduct"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:471
+msgid "Statutory Declaration of Good Conduct Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:487
+#: waeup/futminna/students/viewlets.py:488
+#: waeup/futminna/students/viewlets.py:498
+msgid "Letter of Admission"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:499
+msgid "Letter of Admission Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:60
+#: waeup/futminna/students/viewlets.py:61
+#: waeup/futminna/students/viewlets.py:71
+msgid "First Sitting Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:72
+msgid "First Sitting Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:88
+#: waeup/futminna/students/viewlets.py:89
+#: waeup/futminna/students/viewlets.py:99
+msgid "Second Sitting Result"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:26
+msgid "Nigeria"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:27
+msgid "Germany"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:28
+msgid "United States"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:29
+msgid "Niger"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:30
+msgid "Benin"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:31
+msgid "Cameroon"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:32
+msgid "United Kingdom"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:33
+msgid "France"
+msgstr ""
Index: /main/waeup.futminna/trunk/src/waeup/futminna/locales/en/LC_MESSAGES/waeup.kofa.po
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/locales/en/LC_MESSAGES/waeup.kofa.po	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/locales/en/LC_MESSAGES/waeup.kofa.po	(revision 8619)
@@ -0,0 +1,15 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"POT-Creation-Date: \n"
+"PO-Revision-Date: \n"
+"Last-Translator: Henrik Bettermann <henrik@waeup.org>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: waeup/kofa/applicants/viewlets.py:137
+msgid "Edit application record"
+msgstr "Application record"
+
Index: /main/waeup.futminna/trunk/src/waeup/futminna/locales/fr/LC_MESSAGES/waeup.futminna.po
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/locales/fr/LC_MESSAGES/waeup.futminna.po	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/locales/fr/LC_MESSAGES/waeup.futminna.po	(revision 8619)
@@ -0,0 +1,702 @@
+# #############################################################################
+#
+# Copyright (c) 2003-2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+# #############################################################################
+msgid ""
+msgstr ""
+"Project-Id-Version: Development/Unknown\n"
+"POT-Creation-Date: Sun Jun  3 19:34:05 2012\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: Zope 3 Developers <zope3-dev@zope.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Generated-By: zope/app/locales/extract.py\n"
+
+#. Default: ""
+#: waeup/futminna/applicants/browser.py:183
+#: waeup/futminna/students/browser.py:207
+msgid ""
+"<br /><br /><br />\n"
+"The tranzaction code is <strong>${a}</strong>."
+msgstr ""
+
+#: waeup/futminna/applicants/browser.py:71
+msgid "<br /><br /><br />Comfirm your exam venue 72 hours to the exam."
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:103
+#: waeup/futminna/applicants/interfaces.py:280
+msgid "Screening Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:107
+#: waeup/futminna/applicants/interfaces.py:284
+msgid "Screening Score"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:111
+#: waeup/futminna/applicants/interfaces.py:289
+msgid "Student Id"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:116
+#: waeup/futminna/applicants/interfaces.py:294
+msgid "Admitted Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:121
+#: waeup/futminna/applicants/interfaces.py:300
+msgid "Form locked"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:158
+#: waeup/futminna/applicants/interfaces.py:190
+#: waeup/futminna/students/interfaces.py:185
+#: waeup/futminna/students/interfaces.py:229
+msgid "Qualification Obtained"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:164
+#: waeup/futminna/students/interfaces.py:192
+#: waeup/futminna/students/interfaces.py:236
+msgid "Former Matric Number"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:169
+#: waeup/futminna/students/interfaces.py:198
+#: waeup/futminna/students/interfaces.py:242
+msgid "Class of Degree"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:175
+#: waeup/futminna/students/interfaces.py:205
+#: waeup/futminna/students/interfaces.py:249
+msgid "Institution Attended"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:180
+#: waeup/futminna/students/interfaces.py:211
+#: waeup/futminna/students/interfaces.py:255
+msgid "Years Attended"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:185
+#: waeup/futminna/students/interfaces.py:217
+#: waeup/futminna/students/interfaces.py:261
+msgid "Discipline"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:201
+msgid "If yes, name of institution"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:206
+#: waeup/futminna/students/interfaces.py:267
+msgid "Nysc Year"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:212
+#: waeup/futminna/students/interfaces.py:274
+msgid "Nysc Location"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:216
+#: waeup/futminna/students/interfaces.py:279
+msgid "Employer"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:221
+#: waeup/futminna/students/interfaces.py:285
+msgid "Employer Position"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:226
+#: waeup/futminna/applicants/interfaces.py:253
+#: waeup/futminna/students/interfaces.py:291
+#: waeup/futminna/students/interfaces.py:323
+msgid "Start Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:232
+#: waeup/futminna/applicants/interfaces.py:259
+#: waeup/futminna/students/interfaces.py:298
+#: waeup/futminna/students/interfaces.py:329
+msgid "End Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:238
+#: waeup/futminna/applicants/interfaces.py:265
+#: waeup/futminna/students/interfaces.py:305
+#: waeup/futminna/students/interfaces.py:336
+msgid "Reason for Leaving"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:243
+#: waeup/futminna/students/interfaces.py:311
+msgid "2nd Employer"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:248
+#: waeup/futminna/students/interfaces.py:317
+msgid "2nd Employer Position"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:359
+msgid "Email Address"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:364
+#: waeup/futminna/students/interfaces.py:69
+msgid "Date of Birth"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:64
+#: waeup/futminna/applicants/interfaces.py:135
+#: waeup/futminna/students/interfaces.py:76
+msgid "Nationality"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:69
+#: waeup/futminna/applicants/interfaces.py:140
+#: waeup/futminna/students/interfaces.py:82
+msgid "State/LGA (Nigerians only)"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:73
+#: waeup/futminna/applicants/interfaces.py:144
+msgid "Permanent Address"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:77
+#: waeup/futminna/applicants/interfaces.py:148
+msgid "1st Choice Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:82
+#: waeup/futminna/applicants/interfaces.py:153
+msgid "2nd Choice Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:87
+msgid "Subjects and Scores"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:91
+msgid "Total Score"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:95
+#: waeup/futminna/applicants/interfaces.py:270
+msgid "Notice"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:99
+#: waeup/futminna/applicants/interfaces.py:275
+msgid "Screening Venue"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:49
+msgid "Base Data"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:50
+msgid "Programmes/Courses Desired"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:51 waeup/futminna/students/utils.py:161
+msgid "Higher Education Record"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:52
+msgid "Course or Programme Presently Attending"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:53 waeup/futminna/students/utils.py:163
+msgid "NYSC Information"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:54 waeup/futminna/students/utils.py:164
+msgid "Employment History"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:55
+msgid "JAMB Data"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:56
+msgid "Application Process Information"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:57
+msgid "Post Primary School Qualification"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:58
+msgid "Presently attending a course or programme"
+msgstr ""
+
+#: waeup/futminna/browser/theming.py:30
+msgid "FUTMinna Theme"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:100
+#: waeup/futminna/etranzact/browser.py:108
+msgid "Query eTranzact History"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:119
+msgid "Submit to eTranzact"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:120
+msgid "Requery eTranzact History"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:139
+#: waeup/futminna/etranzact/browser.py:167
+#: waeup/futminna/interswitch/browser.py:410
+#: waeup/futminna/interswitch/browser.py:438
+msgid "This ticket has already been paid."
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/etranzact/browser.py:47
+msgid "Invalid or unsuccessful callback: ${a}"
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/etranzact/browser.py:55
+#: waeup/futminna/etranzact/browser.py:62
+#: waeup/futminna/interswitch/browser.py:95
+msgid "Invalid callback: ${a}"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:67
+msgid "eTranzact IOError"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:76
+msgid "Wrong amount"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:85
+msgid "Wrong transaction code"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:90
+#: waeup/futminna/interswitch/browser.py:120
+msgid "Successful callback received"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:104
+msgid "Application Fee (fallback)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:110
+msgid "Clearance Fee (ignored)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:116
+msgid "Booking Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:124
+msgid "Maintenance Fee (ignored)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:130
+msgid "Gown Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:136
+msgid "Transfer Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:151
+msgid "Academic Session"
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/interfaces.py:88
+msgid "Invalid key: ${a}"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:98
+msgid "School Fee (ignored)"
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/interswitch/browser.py:104
+msgid "Unsuccessful callback: ${a}"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:109
+msgid "Callback amount does not match."
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:114
+msgid "Callback transaction id does not match."
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:129
+#: waeup/futminna/interswitch/browser.py:143
+msgid "CollegePAY"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:175
+#: waeup/futminna/interswitch/browser.py:183
+msgid "Requery CollegePAY"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:195
+#: waeup/futminna/interswitch/browser.py:292
+msgid "Submit data to CollegePAY (Interswitch Payment Gateway)"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:196
+#: waeup/futminna/interswitch/browser.py:293
+msgid "Submit"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:206
+#: waeup/futminna/interswitch/browser.py:302
+msgid "Payment ticket can't be re-send to CollegePAY."
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:29
+msgid "Activation Code"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:36
+msgid "Response Amount Approved"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:43
+msgid "Response Code"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:50
+msgid "Response Description"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:59
+msgid "Response Payment Reference"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:66
+msgid "Response Card Number"
+msgstr ""
+
+#: waeup/futminna/students/browser.py:150
+msgid "No birth certificate uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:152
+msgid "No referee letter uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:154
+msgid "No acceptance letter uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:156
+msgid "No first sitting result uploaded."
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:104
+#: waeup/futminna/students/interfaces.py:137
+#: waeup/futminna/students/interfaces.py:170
+msgid "Exam Date"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:111
+#: waeup/futminna/students/interfaces.py:144
+msgid "Exam Type"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:118
+#: waeup/futminna/students/interfaces.py:151
+#: waeup/futminna/students/interfaces.py:177
+msgid "Exam Results"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:342
+msgid "If yes, matric number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:372
+msgid "Payment Level"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:399
+msgid "Matriculation Number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:44
+#: waeup/futminna/students/interfaces.py:390
+msgid "Registration Number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:60
+msgid "Unmarried"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:61
+msgid "Married"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:87
+msgid "Deferent of Admission"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:93
+#: waeup/futminna/students/interfaces.py:126
+#: waeup/futminna/students/interfaces.py:159
+msgid "Full Name"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:98
+#: waeup/futminna/students/interfaces.py:131
+#: waeup/futminna/students/interfaces.py:164
+msgid "Exam Number"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:108
+msgid "Amount could not be determined."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:115
+msgid "This type of payment has already been made."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:158
+msgid "First Sitting Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:159
+msgid "Second Sitting Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:160
+msgid "Advanced Level Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:162
+msgid "Second Higher Education Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:165
+msgid "Former FUTMinna Student"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:69
+msgid "Session configuration object is not available."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:82 waeup/futminna/students/utils.py:93
+msgid "Study course data are incomplete."
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:100
+msgid "Second Sitting Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:116
+#: waeup/futminna/students/viewlets.py:117
+#: waeup/futminna/students/viewlets.py:127
+msgid "Higher Qualification Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:128
+msgid "Higher Qualification Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:144
+#: waeup/futminna/students/viewlets.py:145
+#: waeup/futminna/students/viewlets.py:155
+msgid "Second Higher Qualification Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:156
+msgid "Second Higher Qualification Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:179
+#: waeup/futminna/students/viewlets.py:180
+#: waeup/futminna/students/viewlets.py:190
+msgid "Advanced Level Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:191
+msgid "Advanced Level Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:207
+#: waeup/futminna/students/viewlets.py:208
+#: waeup/futminna/students/viewlets.py:218
+msgid "Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:219
+msgid "Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:235
+#: waeup/futminna/students/viewlets.py:236
+#: waeup/futminna/students/viewlets.py:246
+msgid "Second Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:247
+msgid "Second Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:270
+#: waeup/futminna/students/viewlets.py:271
+#: waeup/futminna/students/viewlets.py:281
+msgid "Third Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:282
+msgid "Third Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:305
+#: waeup/futminna/students/viewlets.py:306
+#: waeup/futminna/students/viewlets.py:316
+msgid "Evidence of Name"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:317
+msgid "Evidence of Name Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:32
+#: waeup/futminna/students/viewlets.py:43
+msgid "LGA Identification"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:33
+#: waeup/futminna/students/viewlets.py:44
+msgid "LGA Identification Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:333
+#: waeup/futminna/students/viewlets.py:334
+#: waeup/futminna/students/viewlets.py:344
+msgid "Result Statement"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:345
+msgid "Result Statement Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:361
+#: waeup/futminna/students/viewlets.py:362
+#: waeup/futminna/students/viewlets.py:372
+msgid "Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:373
+msgid "Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:389
+#: waeup/futminna/students/viewlets.py:390
+#: waeup/futminna/students/viewlets.py:400
+msgid "Second Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:401
+msgid "Second Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:424
+#: waeup/futminna/students/viewlets.py:425
+#: waeup/futminna/students/viewlets.py:435
+msgid "Third Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:436
+msgid "Third Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:459
+#: waeup/futminna/students/viewlets.py:460
+#: waeup/futminna/students/viewlets.py:470
+msgid "Statutory Declaration of Good Conduct"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:471
+msgid "Statutory Declaration of Good Conduct Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:487
+#: waeup/futminna/students/viewlets.py:488
+#: waeup/futminna/students/viewlets.py:498
+msgid "Letter of Admission"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:499
+msgid "Letter of Admission Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:60
+#: waeup/futminna/students/viewlets.py:61
+#: waeup/futminna/students/viewlets.py:71
+msgid "First Sitting Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:72
+msgid "First Sitting Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:88
+#: waeup/futminna/students/viewlets.py:89
+#: waeup/futminna/students/viewlets.py:99
+msgid "Second Sitting Result"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:26
+msgid "Nigeria"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:27
+msgid "Germany"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:28
+msgid "United States"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:29
+msgid "Niger"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:30
+msgid "Benin"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:31
+msgid "Cameroon"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:32
+msgid "United Kingdom"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:33
+msgid "France"
+msgstr ""
Index: /main/waeup.futminna/trunk/src/waeup/futminna/locales/ha/LC_MESSAGES/waeup.futminna.po
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/locales/ha/LC_MESSAGES/waeup.futminna.po	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/locales/ha/LC_MESSAGES/waeup.futminna.po	(revision 8619)
@@ -0,0 +1,702 @@
+# #############################################################################
+#
+# Copyright (c) 2003-2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+# #############################################################################
+msgid ""
+msgstr ""
+"Project-Id-Version: Development/Unknown\n"
+"POT-Creation-Date: Sun Jun  3 19:34:05 2012\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: Zope 3 Developers <zope3-dev@zope.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Generated-By: zope/app/locales/extract.py\n"
+
+#. Default: ""
+#: waeup/futminna/applicants/browser.py:183
+#: waeup/futminna/students/browser.py:207
+msgid ""
+"<br /><br /><br />\n"
+"The tranzaction code is <strong>${a}</strong>."
+msgstr ""
+
+#: waeup/futminna/applicants/browser.py:71
+msgid "<br /><br /><br />Comfirm your exam venue 72 hours to the exam."
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:103
+#: waeup/futminna/applicants/interfaces.py:280
+msgid "Screening Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:107
+#: waeup/futminna/applicants/interfaces.py:284
+msgid "Screening Score"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:111
+#: waeup/futminna/applicants/interfaces.py:289
+msgid "Student Id"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:116
+#: waeup/futminna/applicants/interfaces.py:294
+msgid "Admitted Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:121
+#: waeup/futminna/applicants/interfaces.py:300
+msgid "Form locked"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:158
+#: waeup/futminna/applicants/interfaces.py:190
+#: waeup/futminna/students/interfaces.py:185
+#: waeup/futminna/students/interfaces.py:229
+msgid "Qualification Obtained"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:164
+#: waeup/futminna/students/interfaces.py:192
+#: waeup/futminna/students/interfaces.py:236
+msgid "Former Matric Number"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:169
+#: waeup/futminna/students/interfaces.py:198
+#: waeup/futminna/students/interfaces.py:242
+msgid "Class of Degree"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:175
+#: waeup/futminna/students/interfaces.py:205
+#: waeup/futminna/students/interfaces.py:249
+msgid "Institution Attended"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:180
+#: waeup/futminna/students/interfaces.py:211
+#: waeup/futminna/students/interfaces.py:255
+msgid "Years Attended"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:185
+#: waeup/futminna/students/interfaces.py:217
+#: waeup/futminna/students/interfaces.py:261
+msgid "Discipline"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:201
+msgid "If yes, name of institution"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:206
+#: waeup/futminna/students/interfaces.py:267
+msgid "Nysc Year"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:212
+#: waeup/futminna/students/interfaces.py:274
+msgid "Nysc Location"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:216
+#: waeup/futminna/students/interfaces.py:279
+msgid "Employer"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:221
+#: waeup/futminna/students/interfaces.py:285
+msgid "Employer Position"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:226
+#: waeup/futminna/applicants/interfaces.py:253
+#: waeup/futminna/students/interfaces.py:291
+#: waeup/futminna/students/interfaces.py:323
+msgid "Start Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:232
+#: waeup/futminna/applicants/interfaces.py:259
+#: waeup/futminna/students/interfaces.py:298
+#: waeup/futminna/students/interfaces.py:329
+msgid "End Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:238
+#: waeup/futminna/applicants/interfaces.py:265
+#: waeup/futminna/students/interfaces.py:305
+#: waeup/futminna/students/interfaces.py:336
+msgid "Reason for Leaving"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:243
+#: waeup/futminna/students/interfaces.py:311
+msgid "2nd Employer"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:248
+#: waeup/futminna/students/interfaces.py:317
+msgid "2nd Employer Position"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:359
+msgid "Email Address"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:364
+#: waeup/futminna/students/interfaces.py:69
+msgid "Date of Birth"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:64
+#: waeup/futminna/applicants/interfaces.py:135
+#: waeup/futminna/students/interfaces.py:76
+msgid "Nationality"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:69
+#: waeup/futminna/applicants/interfaces.py:140
+#: waeup/futminna/students/interfaces.py:82
+msgid "State/LGA (Nigerians only)"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:73
+#: waeup/futminna/applicants/interfaces.py:144
+msgid "Permanent Address"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:77
+#: waeup/futminna/applicants/interfaces.py:148
+msgid "1st Choice Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:82
+#: waeup/futminna/applicants/interfaces.py:153
+msgid "2nd Choice Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:87
+msgid "Subjects and Scores"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:91
+msgid "Total Score"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:95
+#: waeup/futminna/applicants/interfaces.py:270
+msgid "Notice"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:99
+#: waeup/futminna/applicants/interfaces.py:275
+msgid "Screening Venue"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:49
+msgid "Base Data"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:50
+msgid "Programmes/Courses Desired"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:51 waeup/futminna/students/utils.py:161
+msgid "Higher Education Record"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:52
+msgid "Course or Programme Presently Attending"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:53 waeup/futminna/students/utils.py:163
+msgid "NYSC Information"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:54 waeup/futminna/students/utils.py:164
+msgid "Employment History"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:55
+msgid "JAMB Data"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:56
+msgid "Application Process Information"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:57
+msgid "Post Primary School Qualification"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:58
+msgid "Presently attending a course or programme"
+msgstr ""
+
+#: waeup/futminna/browser/theming.py:30
+msgid "FUTMinna Theme"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:100
+#: waeup/futminna/etranzact/browser.py:108
+msgid "Query eTranzact History"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:119
+msgid "Submit to eTranzact"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:120
+msgid "Requery eTranzact History"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:139
+#: waeup/futminna/etranzact/browser.py:167
+#: waeup/futminna/interswitch/browser.py:410
+#: waeup/futminna/interswitch/browser.py:438
+msgid "This ticket has already been paid."
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/etranzact/browser.py:47
+msgid "Invalid or unsuccessful callback: ${a}"
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/etranzact/browser.py:55
+#: waeup/futminna/etranzact/browser.py:62
+#: waeup/futminna/interswitch/browser.py:95
+msgid "Invalid callback: ${a}"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:67
+msgid "eTranzact IOError"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:76
+msgid "Wrong amount"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:85
+msgid "Wrong transaction code"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:90
+#: waeup/futminna/interswitch/browser.py:120
+msgid "Successful callback received"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:104
+msgid "Application Fee (fallback)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:110
+msgid "Clearance Fee (ignored)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:116
+msgid "Booking Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:124
+msgid "Maintenance Fee (ignored)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:130
+msgid "Gown Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:136
+msgid "Transfer Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:151
+msgid "Academic Session"
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/interfaces.py:88
+msgid "Invalid key: ${a}"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:98
+msgid "School Fee (ignored)"
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/interswitch/browser.py:104
+msgid "Unsuccessful callback: ${a}"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:109
+msgid "Callback amount does not match."
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:114
+msgid "Callback transaction id does not match."
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:129
+#: waeup/futminna/interswitch/browser.py:143
+msgid "CollegePAY"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:175
+#: waeup/futminna/interswitch/browser.py:183
+msgid "Requery CollegePAY"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:195
+#: waeup/futminna/interswitch/browser.py:292
+msgid "Submit data to CollegePAY (Interswitch Payment Gateway)"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:196
+#: waeup/futminna/interswitch/browser.py:293
+msgid "Submit"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:206
+#: waeup/futminna/interswitch/browser.py:302
+msgid "Payment ticket can't be re-send to CollegePAY."
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:29
+msgid "Activation Code"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:36
+msgid "Response Amount Approved"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:43
+msgid "Response Code"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:50
+msgid "Response Description"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:59
+msgid "Response Payment Reference"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:66
+msgid "Response Card Number"
+msgstr ""
+
+#: waeup/futminna/students/browser.py:150
+msgid "No birth certificate uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:152
+msgid "No referee letter uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:154
+msgid "No acceptance letter uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:156
+msgid "No first sitting result uploaded."
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:104
+#: waeup/futminna/students/interfaces.py:137
+#: waeup/futminna/students/interfaces.py:170
+msgid "Exam Date"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:111
+#: waeup/futminna/students/interfaces.py:144
+msgid "Exam Type"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:118
+#: waeup/futminna/students/interfaces.py:151
+#: waeup/futminna/students/interfaces.py:177
+msgid "Exam Results"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:342
+msgid "If yes, matric number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:372
+msgid "Payment Level"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:399
+msgid "Matriculation Number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:44
+#: waeup/futminna/students/interfaces.py:390
+msgid "Registration Number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:60
+msgid "Unmarried"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:61
+msgid "Married"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:87
+msgid "Deferent of Admission"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:93
+#: waeup/futminna/students/interfaces.py:126
+#: waeup/futminna/students/interfaces.py:159
+msgid "Full Name"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:98
+#: waeup/futminna/students/interfaces.py:131
+#: waeup/futminna/students/interfaces.py:164
+msgid "Exam Number"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:108
+msgid "Amount could not be determined."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:115
+msgid "This type of payment has already been made."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:158
+msgid "First Sitting Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:159
+msgid "Second Sitting Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:160
+msgid "Advanced Level Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:162
+msgid "Second Higher Education Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:165
+msgid "Former FUTMinna Student"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:69
+msgid "Session configuration object is not available."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:82 waeup/futminna/students/utils.py:93
+msgid "Study course data are incomplete."
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:100
+msgid "Second Sitting Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:116
+#: waeup/futminna/students/viewlets.py:117
+#: waeup/futminna/students/viewlets.py:127
+msgid "Higher Qualification Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:128
+msgid "Higher Qualification Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:144
+#: waeup/futminna/students/viewlets.py:145
+#: waeup/futminna/students/viewlets.py:155
+msgid "Second Higher Qualification Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:156
+msgid "Second Higher Qualification Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:179
+#: waeup/futminna/students/viewlets.py:180
+#: waeup/futminna/students/viewlets.py:190
+msgid "Advanced Level Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:191
+msgid "Advanced Level Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:207
+#: waeup/futminna/students/viewlets.py:208
+#: waeup/futminna/students/viewlets.py:218
+msgid "Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:219
+msgid "Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:235
+#: waeup/futminna/students/viewlets.py:236
+#: waeup/futminna/students/viewlets.py:246
+msgid "Second Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:247
+msgid "Second Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:270
+#: waeup/futminna/students/viewlets.py:271
+#: waeup/futminna/students/viewlets.py:281
+msgid "Third Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:282
+msgid "Third Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:305
+#: waeup/futminna/students/viewlets.py:306
+#: waeup/futminna/students/viewlets.py:316
+msgid "Evidence of Name"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:317
+msgid "Evidence of Name Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:32
+#: waeup/futminna/students/viewlets.py:43
+msgid "LGA Identification"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:33
+#: waeup/futminna/students/viewlets.py:44
+msgid "LGA Identification Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:333
+#: waeup/futminna/students/viewlets.py:334
+#: waeup/futminna/students/viewlets.py:344
+msgid "Result Statement"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:345
+msgid "Result Statement Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:361
+#: waeup/futminna/students/viewlets.py:362
+#: waeup/futminna/students/viewlets.py:372
+msgid "Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:373
+msgid "Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:389
+#: waeup/futminna/students/viewlets.py:390
+#: waeup/futminna/students/viewlets.py:400
+msgid "Second Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:401
+msgid "Second Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:424
+#: waeup/futminna/students/viewlets.py:425
+#: waeup/futminna/students/viewlets.py:435
+msgid "Third Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:436
+msgid "Third Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:459
+#: waeup/futminna/students/viewlets.py:460
+#: waeup/futminna/students/viewlets.py:470
+msgid "Statutory Declaration of Good Conduct"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:471
+msgid "Statutory Declaration of Good Conduct Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:487
+#: waeup/futminna/students/viewlets.py:488
+#: waeup/futminna/students/viewlets.py:498
+msgid "Letter of Admission"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:499
+msgid "Letter of Admission Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:60
+#: waeup/futminna/students/viewlets.py:61
+#: waeup/futminna/students/viewlets.py:71
+msgid "First Sitting Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:72
+msgid "First Sitting Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:88
+#: waeup/futminna/students/viewlets.py:89
+#: waeup/futminna/students/viewlets.py:99
+msgid "Second Sitting Result"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:26
+msgid "Nigeria"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:27
+msgid "Germany"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:28
+msgid "United States"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:29
+msgid "Niger"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:30
+msgid "Benin"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:31
+msgid "Cameroon"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:32
+msgid "United Kingdom"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:33
+msgid "France"
+msgstr ""
Index: /main/waeup.futminna/trunk/src/waeup/futminna/locales/waeup.futminna.pot
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/locales/waeup.futminna.pot	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/locales/waeup.futminna.pot	(revision 8619)
@@ -0,0 +1,706 @@
+##############################################################################
+#
+# Copyright (c) 2003-2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+msgid ""
+msgstr ""
+"Project-Id-Version: Development/Unknown\n"
+"POT-Creation-Date: Sun Jun  3 19:34:05 2012\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: Zope 3 Developers <zope3-dev@zope.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Generated-By: zope/app/locales/extract.py\n"
+
+#: waeup/futminna/applicants/browser.py:183
+#: waeup/futminna/students/browser.py:207
+#. Default: ""
+msgid ""
+"<br /><br /><br />\n"
+"The tranzaction code is <strong>${a}</strong>."
+msgstr ""
+
+#: waeup/futminna/applicants/browser.py:71
+msgid "<br /><br /><br />Comfirm your exam venue 72 hours to the exam."
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:103
+#: waeup/futminna/applicants/interfaces.py:280
+msgid "Screening Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:107
+#: waeup/futminna/applicants/interfaces.py:284
+msgid "Screening Score"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:111
+#: waeup/futminna/applicants/interfaces.py:289
+msgid "Student Id"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:116
+#: waeup/futminna/applicants/interfaces.py:294
+msgid "Admitted Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:121
+#: waeup/futminna/applicants/interfaces.py:300
+msgid "Form locked"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:158
+#: waeup/futminna/applicants/interfaces.py:190
+#: waeup/futminna/students/interfaces.py:185
+#: waeup/futminna/students/interfaces.py:229
+msgid "Qualification Obtained"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:164
+#: waeup/futminna/students/interfaces.py:192
+#: waeup/futminna/students/interfaces.py:236
+msgid "Former Matric Number"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:169
+#: waeup/futminna/students/interfaces.py:198
+#: waeup/futminna/students/interfaces.py:242
+msgid "Class of Degree"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:175
+#: waeup/futminna/students/interfaces.py:205
+#: waeup/futminna/students/interfaces.py:249
+msgid "Institution Attended"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:180
+#: waeup/futminna/students/interfaces.py:211
+#: waeup/futminna/students/interfaces.py:255
+msgid "Years Attended"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:185
+#: waeup/futminna/students/interfaces.py:217
+#: waeup/futminna/students/interfaces.py:261
+msgid "Discipline"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:201
+msgid "If yes, name of institution"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:206
+#: waeup/futminna/students/interfaces.py:267
+msgid "Nysc Year"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:212
+#: waeup/futminna/students/interfaces.py:274
+msgid "Nysc Location"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:216
+#: waeup/futminna/students/interfaces.py:279
+msgid "Employer"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:221
+#: waeup/futminna/students/interfaces.py:285
+msgid "Employer Position"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:226
+#: waeup/futminna/applicants/interfaces.py:253
+#: waeup/futminna/students/interfaces.py:291
+#: waeup/futminna/students/interfaces.py:323
+msgid "Start Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:232
+#: waeup/futminna/applicants/interfaces.py:259
+#: waeup/futminna/students/interfaces.py:298
+#: waeup/futminna/students/interfaces.py:329
+msgid "End Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:238
+#: waeup/futminna/applicants/interfaces.py:265
+#: waeup/futminna/students/interfaces.py:305
+#: waeup/futminna/students/interfaces.py:336
+msgid "Reason for Leaving"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:243
+#: waeup/futminna/students/interfaces.py:311
+msgid "2nd Employer"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:248
+#: waeup/futminna/students/interfaces.py:317
+msgid "2nd Employer Position"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:359
+msgid "Email Address"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:364
+#: waeup/futminna/students/interfaces.py:69
+msgid "Date of Birth"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:64
+#: waeup/futminna/applicants/interfaces.py:135
+#: waeup/futminna/students/interfaces.py:76
+msgid "Nationality"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:69
+#: waeup/futminna/applicants/interfaces.py:140
+#: waeup/futminna/students/interfaces.py:82
+msgid "State/LGA (Nigerians only)"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:73
+#: waeup/futminna/applicants/interfaces.py:144
+msgid "Permanent Address"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:77
+#: waeup/futminna/applicants/interfaces.py:148
+msgid "1st Choice Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:82
+#: waeup/futminna/applicants/interfaces.py:153
+msgid "2nd Choice Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:87
+msgid "Subjects and Scores"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:91
+msgid "Total Score"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:95
+#: waeup/futminna/applicants/interfaces.py:270
+msgid "Notice"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:99
+#: waeup/futminna/applicants/interfaces.py:275
+msgid "Screening Venue"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:49
+msgid "Base Data"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:50
+msgid "Programmes/Courses Desired"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:51
+#: waeup/futminna/students/utils.py:161
+msgid "Higher Education Record"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:52
+msgid "Course or Programme Presently Attending"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:53
+#: waeup/futminna/students/utils.py:163
+msgid "NYSC Information"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:54
+#: waeup/futminna/students/utils.py:164
+msgid "Employment History"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:55
+msgid "JAMB Data"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:56
+msgid "Application Process Information"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:57
+msgid "Post Primary School Qualification"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:58
+msgid "Presently attending a course or programme"
+msgstr ""
+
+#: waeup/futminna/browser/theming.py:30
+msgid "FUTMinna Theme"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:100
+#: waeup/futminna/etranzact/browser.py:108
+msgid "Query eTranzact History"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:119
+msgid "Submit to eTranzact"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:120
+msgid "Requery eTranzact History"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:139
+#: waeup/futminna/etranzact/browser.py:167
+#: waeup/futminna/interswitch/browser.py:410
+#: waeup/futminna/interswitch/browser.py:438
+msgid "This ticket has already been paid."
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:47
+#. Default: ""
+msgid "Invalid or unsuccessful callback: ${a}"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:55
+#: waeup/futminna/etranzact/browser.py:62
+#: waeup/futminna/interswitch/browser.py:95
+#. Default: ""
+msgid "Invalid callback: ${a}"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:67
+msgid "eTranzact IOError"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:76
+msgid "Wrong amount"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:85
+msgid "Wrong transaction code"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:90
+#: waeup/futminna/interswitch/browser.py:120
+msgid "Successful callback received"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:104
+msgid "Application Fee (fallback)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:110
+msgid "Clearance Fee (ignored)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:116
+msgid "Booking Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:124
+msgid "Maintenance Fee (ignored)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:130
+msgid "Gown Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:136
+msgid "Transfer Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:151
+msgid "Academic Session"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:88
+#. Default: ""
+msgid "Invalid key: ${a}"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:98
+msgid "School Fee (ignored)"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:104
+#. Default: ""
+msgid "Unsuccessful callback: ${a}"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:109
+msgid "Callback amount does not match."
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:114
+msgid "Callback transaction id does not match."
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:129
+#: waeup/futminna/interswitch/browser.py:143
+msgid "CollegePAY"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:175
+#: waeup/futminna/interswitch/browser.py:183
+msgid "Requery CollegePAY"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:195
+#: waeup/futminna/interswitch/browser.py:292
+msgid "Submit data to CollegePAY (Interswitch Payment Gateway)"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:196
+#: waeup/futminna/interswitch/browser.py:293
+msgid "Submit"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:206
+#: waeup/futminna/interswitch/browser.py:302
+msgid "Payment ticket can't be re-send to CollegePAY."
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:29
+msgid "Activation Code"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:36
+msgid "Response Amount Approved"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:43
+msgid "Response Code"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:50
+msgid "Response Description"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:59
+msgid "Response Payment Reference"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:66
+msgid "Response Card Number"
+msgstr ""
+
+#: waeup/futminna/students/browser.py:150
+msgid "No birth certificate uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:152
+msgid "No referee letter uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:154
+msgid "No acceptance letter uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:156
+msgid "No first sitting result uploaded."
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:104
+#: waeup/futminna/students/interfaces.py:137
+#: waeup/futminna/students/interfaces.py:170
+msgid "Exam Date"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:111
+#: waeup/futminna/students/interfaces.py:144
+msgid "Exam Type"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:118
+#: waeup/futminna/students/interfaces.py:151
+#: waeup/futminna/students/interfaces.py:177
+msgid "Exam Results"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:342
+msgid "If yes, matric number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:372
+msgid "Payment Level"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:399
+msgid "Matriculation Number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:44
+#: waeup/futminna/students/interfaces.py:390
+msgid "Registration Number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:60
+msgid "Unmarried"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:61
+msgid "Married"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:87
+msgid "Deferent of Admission"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:93
+#: waeup/futminna/students/interfaces.py:126
+#: waeup/futminna/students/interfaces.py:159
+msgid "Full Name"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:98
+#: waeup/futminna/students/interfaces.py:131
+#: waeup/futminna/students/interfaces.py:164
+msgid "Exam Number"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:108
+msgid "Amount could not be determined."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:115
+msgid "This type of payment has already been made."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:158
+msgid "First Sitting Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:159
+msgid "Second Sitting Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:160
+msgid "Advanced Level Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:162
+msgid "Second Higher Education Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:165
+msgid "Former FUTMinna Student"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:69
+msgid "Session configuration object is not available."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:82
+#: waeup/futminna/students/utils.py:93
+msgid "Study course data are incomplete."
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:100
+msgid "Second Sitting Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:116
+#: waeup/futminna/students/viewlets.py:117
+#: waeup/futminna/students/viewlets.py:127
+msgid "Higher Qualification Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:128
+msgid "Higher Qualification Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:144
+#: waeup/futminna/students/viewlets.py:145
+#: waeup/futminna/students/viewlets.py:155
+msgid "Second Higher Qualification Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:156
+msgid "Second Higher Qualification Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:179
+#: waeup/futminna/students/viewlets.py:180
+#: waeup/futminna/students/viewlets.py:190
+msgid "Advanced Level Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:191
+msgid "Advanced Level Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:207
+#: waeup/futminna/students/viewlets.py:208
+#: waeup/futminna/students/viewlets.py:218
+msgid "Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:219
+msgid "Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:235
+#: waeup/futminna/students/viewlets.py:236
+#: waeup/futminna/students/viewlets.py:246
+msgid "Second Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:247
+msgid "Second Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:270
+#: waeup/futminna/students/viewlets.py:271
+#: waeup/futminna/students/viewlets.py:281
+msgid "Third Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:282
+msgid "Third Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:305
+#: waeup/futminna/students/viewlets.py:306
+#: waeup/futminna/students/viewlets.py:316
+msgid "Evidence of Name"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:317
+msgid "Evidence of Name Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:32
+#: waeup/futminna/students/viewlets.py:43
+msgid "LGA Identification"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:33
+#: waeup/futminna/students/viewlets.py:44
+msgid "LGA Identification Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:333
+#: waeup/futminna/students/viewlets.py:334
+#: waeup/futminna/students/viewlets.py:344
+msgid "Result Statement"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:345
+msgid "Result Statement Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:361
+#: waeup/futminna/students/viewlets.py:362
+#: waeup/futminna/students/viewlets.py:372
+msgid "Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:373
+msgid "Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:389
+#: waeup/futminna/students/viewlets.py:390
+#: waeup/futminna/students/viewlets.py:400
+msgid "Second Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:401
+msgid "Second Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:424
+#: waeup/futminna/students/viewlets.py:425
+#: waeup/futminna/students/viewlets.py:435
+msgid "Third Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:436
+msgid "Third Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:459
+#: waeup/futminna/students/viewlets.py:460
+#: waeup/futminna/students/viewlets.py:470
+msgid "Statutory Declaration of Good Conduct"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:471
+msgid "Statutory Declaration of Good Conduct Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:487
+#: waeup/futminna/students/viewlets.py:488
+#: waeup/futminna/students/viewlets.py:498
+msgid "Letter of Admission"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:499
+msgid "Letter of Admission Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:60
+#: waeup/futminna/students/viewlets.py:61
+#: waeup/futminna/students/viewlets.py:71
+msgid "First Sitting Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:72
+msgid "First Sitting Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:88
+#: waeup/futminna/students/viewlets.py:89
+#: waeup/futminna/students/viewlets.py:99
+msgid "Second Sitting Result"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:26
+msgid "Nigeria"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:27
+msgid "Germany"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:28
+msgid "United States"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:29
+msgid "Niger"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:30
+msgid "Benin"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:31
+msgid "Cameroon"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:32
+msgid "United Kingdom"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:33
+msgid "France"
+msgstr ""
+
Index: /main/waeup.futminna/trunk/src/waeup/futminna/locales/yo/LC_MESSAGES/waeup.futminna.po
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/locales/yo/LC_MESSAGES/waeup.futminna.po	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/locales/yo/LC_MESSAGES/waeup.futminna.po	(revision 8619)
@@ -0,0 +1,702 @@
+# #############################################################################
+#
+# Copyright (c) 2003-2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+# #############################################################################
+msgid ""
+msgstr ""
+"Project-Id-Version: Development/Unknown\n"
+"POT-Creation-Date: Sun Jun  3 19:34:05 2012\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: Zope 3 Developers <zope3-dev@zope.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Generated-By: zope/app/locales/extract.py\n"
+
+#. Default: ""
+#: waeup/futminna/applicants/browser.py:183
+#: waeup/futminna/students/browser.py:207
+msgid ""
+"<br /><br /><br />\n"
+"The tranzaction code is <strong>${a}</strong>."
+msgstr ""
+
+#: waeup/futminna/applicants/browser.py:71
+msgid "<br /><br /><br />Comfirm your exam venue 72 hours to the exam."
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:103
+#: waeup/futminna/applicants/interfaces.py:280
+msgid "Screening Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:107
+#: waeup/futminna/applicants/interfaces.py:284
+msgid "Screening Score"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:111
+#: waeup/futminna/applicants/interfaces.py:289
+msgid "Student Id"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:116
+#: waeup/futminna/applicants/interfaces.py:294
+msgid "Admitted Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:121
+#: waeup/futminna/applicants/interfaces.py:300
+msgid "Form locked"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:158
+#: waeup/futminna/applicants/interfaces.py:190
+#: waeup/futminna/students/interfaces.py:185
+#: waeup/futminna/students/interfaces.py:229
+msgid "Qualification Obtained"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:164
+#: waeup/futminna/students/interfaces.py:192
+#: waeup/futminna/students/interfaces.py:236
+msgid "Former Matric Number"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:169
+#: waeup/futminna/students/interfaces.py:198
+#: waeup/futminna/students/interfaces.py:242
+msgid "Class of Degree"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:175
+#: waeup/futminna/students/interfaces.py:205
+#: waeup/futminna/students/interfaces.py:249
+msgid "Institution Attended"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:180
+#: waeup/futminna/students/interfaces.py:211
+#: waeup/futminna/students/interfaces.py:255
+msgid "Years Attended"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:185
+#: waeup/futminna/students/interfaces.py:217
+#: waeup/futminna/students/interfaces.py:261
+msgid "Discipline"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:201
+msgid "If yes, name of institution"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:206
+#: waeup/futminna/students/interfaces.py:267
+msgid "Nysc Year"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:212
+#: waeup/futminna/students/interfaces.py:274
+msgid "Nysc Location"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:216
+#: waeup/futminna/students/interfaces.py:279
+msgid "Employer"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:221
+#: waeup/futminna/students/interfaces.py:285
+msgid "Employer Position"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:226
+#: waeup/futminna/applicants/interfaces.py:253
+#: waeup/futminna/students/interfaces.py:291
+#: waeup/futminna/students/interfaces.py:323
+msgid "Start Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:232
+#: waeup/futminna/applicants/interfaces.py:259
+#: waeup/futminna/students/interfaces.py:298
+#: waeup/futminna/students/interfaces.py:329
+msgid "End Date"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:238
+#: waeup/futminna/applicants/interfaces.py:265
+#: waeup/futminna/students/interfaces.py:305
+#: waeup/futminna/students/interfaces.py:336
+msgid "Reason for Leaving"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:243
+#: waeup/futminna/students/interfaces.py:311
+msgid "2nd Employer"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:248
+#: waeup/futminna/students/interfaces.py:317
+msgid "2nd Employer Position"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:359
+msgid "Email Address"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:364
+#: waeup/futminna/students/interfaces.py:69
+msgid "Date of Birth"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:64
+#: waeup/futminna/applicants/interfaces.py:135
+#: waeup/futminna/students/interfaces.py:76
+msgid "Nationality"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:69
+#: waeup/futminna/applicants/interfaces.py:140
+#: waeup/futminna/students/interfaces.py:82
+msgid "State/LGA (Nigerians only)"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:73
+#: waeup/futminna/applicants/interfaces.py:144
+msgid "Permanent Address"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:77
+#: waeup/futminna/applicants/interfaces.py:148
+msgid "1st Choice Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:82
+#: waeup/futminna/applicants/interfaces.py:153
+msgid "2nd Choice Course of Study"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:87
+msgid "Subjects and Scores"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:91
+msgid "Total Score"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:95
+#: waeup/futminna/applicants/interfaces.py:270
+msgid "Notice"
+msgstr ""
+
+#: waeup/futminna/applicants/interfaces.py:99
+#: waeup/futminna/applicants/interfaces.py:275
+msgid "Screening Venue"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:49
+msgid "Base Data"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:50
+msgid "Programmes/Courses Desired"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:51 waeup/futminna/students/utils.py:161
+msgid "Higher Education Record"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:52
+msgid "Course or Programme Presently Attending"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:53 waeup/futminna/students/utils.py:163
+msgid "NYSC Information"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:54 waeup/futminna/students/utils.py:164
+msgid "Employment History"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:55
+msgid "JAMB Data"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:56
+msgid "Application Process Information"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:57
+msgid "Post Primary School Qualification"
+msgstr ""
+
+#: waeup/futminna/applicants/utils.py:58
+msgid "Presently attending a course or programme"
+msgstr ""
+
+#: waeup/futminna/browser/theming.py:30
+msgid "FUTMinna Theme"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:100
+#: waeup/futminna/etranzact/browser.py:108
+msgid "Query eTranzact History"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:119
+msgid "Submit to eTranzact"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:120
+msgid "Requery eTranzact History"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:139
+#: waeup/futminna/etranzact/browser.py:167
+#: waeup/futminna/interswitch/browser.py:410
+#: waeup/futminna/interswitch/browser.py:438
+msgid "This ticket has already been paid."
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/etranzact/browser.py:47
+msgid "Invalid or unsuccessful callback: ${a}"
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/etranzact/browser.py:55
+#: waeup/futminna/etranzact/browser.py:62
+#: waeup/futminna/interswitch/browser.py:95
+msgid "Invalid callback: ${a}"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:67
+msgid "eTranzact IOError"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:76
+msgid "Wrong amount"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:85
+msgid "Wrong transaction code"
+msgstr ""
+
+#: waeup/futminna/etranzact/browser.py:90
+#: waeup/futminna/interswitch/browser.py:120
+msgid "Successful callback received"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:104
+msgid "Application Fee (fallback)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:110
+msgid "Clearance Fee (ignored)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:116
+msgid "Booking Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:124
+msgid "Maintenance Fee (ignored)"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:130
+msgid "Gown Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:136
+msgid "Transfer Fee"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:151
+msgid "Academic Session"
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/interfaces.py:88
+msgid "Invalid key: ${a}"
+msgstr ""
+
+#: waeup/futminna/interfaces.py:98
+msgid "School Fee (ignored)"
+msgstr ""
+
+#. Default: ""
+#: waeup/futminna/interswitch/browser.py:104
+msgid "Unsuccessful callback: ${a}"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:109
+msgid "Callback amount does not match."
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:114
+msgid "Callback transaction id does not match."
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:129
+#: waeup/futminna/interswitch/browser.py:143
+msgid "CollegePAY"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:175
+#: waeup/futminna/interswitch/browser.py:183
+msgid "Requery CollegePAY"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:195
+#: waeup/futminna/interswitch/browser.py:292
+msgid "Submit data to CollegePAY (Interswitch Payment Gateway)"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:196
+#: waeup/futminna/interswitch/browser.py:293
+msgid "Submit"
+msgstr ""
+
+#: waeup/futminna/interswitch/browser.py:206
+#: waeup/futminna/interswitch/browser.py:302
+msgid "Payment ticket can't be re-send to CollegePAY."
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:29
+msgid "Activation Code"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:36
+msgid "Response Amount Approved"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:43
+msgid "Response Code"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:50
+msgid "Response Description"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:59
+msgid "Response Payment Reference"
+msgstr ""
+
+#: waeup/futminna/payments/interfaces.py:66
+msgid "Response Card Number"
+msgstr ""
+
+#: waeup/futminna/students/browser.py:150
+msgid "No birth certificate uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:152
+msgid "No referee letter uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:154
+msgid "No acceptance letter uploaded."
+msgstr ""
+
+#: waeup/futminna/students/browser.py:156
+msgid "No first sitting result uploaded."
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:104
+#: waeup/futminna/students/interfaces.py:137
+#: waeup/futminna/students/interfaces.py:170
+msgid "Exam Date"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:111
+#: waeup/futminna/students/interfaces.py:144
+msgid "Exam Type"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:118
+#: waeup/futminna/students/interfaces.py:151
+#: waeup/futminna/students/interfaces.py:177
+msgid "Exam Results"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:342
+msgid "If yes, matric number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:372
+msgid "Payment Level"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:399
+msgid "Matriculation Number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:44
+#: waeup/futminna/students/interfaces.py:390
+msgid "Registration Number"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:60
+msgid "Unmarried"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:61
+msgid "Married"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:87
+msgid "Deferent of Admission"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:93
+#: waeup/futminna/students/interfaces.py:126
+#: waeup/futminna/students/interfaces.py:159
+msgid "Full Name"
+msgstr ""
+
+#: waeup/futminna/students/interfaces.py:98
+#: waeup/futminna/students/interfaces.py:131
+#: waeup/futminna/students/interfaces.py:164
+msgid "Exam Number"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:108
+msgid "Amount could not be determined."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:115
+msgid "This type of payment has already been made."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:158
+msgid "First Sitting Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:159
+msgid "Second Sitting Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:160
+msgid "Advanced Level Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:162
+msgid "Second Higher Education Record"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:165
+msgid "Former FUTMinna Student"
+msgstr ""
+
+#: waeup/futminna/students/utils.py:69
+msgid "Session configuration object is not available."
+msgstr ""
+
+#: waeup/futminna/students/utils.py:82 waeup/futminna/students/utils.py:93
+msgid "Study course data are incomplete."
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:100
+msgid "Second Sitting Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:116
+#: waeup/futminna/students/viewlets.py:117
+#: waeup/futminna/students/viewlets.py:127
+msgid "Higher Qualification Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:128
+msgid "Higher Qualification Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:144
+#: waeup/futminna/students/viewlets.py:145
+#: waeup/futminna/students/viewlets.py:155
+msgid "Second Higher Qualification Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:156
+msgid "Second Higher Qualification Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:179
+#: waeup/futminna/students/viewlets.py:180
+#: waeup/futminna/students/viewlets.py:190
+msgid "Advanced Level Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:191
+msgid "Advanced Level Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:207
+#: waeup/futminna/students/viewlets.py:208
+#: waeup/futminna/students/viewlets.py:218
+msgid "Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:219
+msgid "Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:235
+#: waeup/futminna/students/viewlets.py:236
+#: waeup/futminna/students/viewlets.py:246
+msgid "Second Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:247
+msgid "Second Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:270
+#: waeup/futminna/students/viewlets.py:271
+#: waeup/futminna/students/viewlets.py:281
+msgid "Third Certificate"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:282
+msgid "Third Certificate Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:305
+#: waeup/futminna/students/viewlets.py:306
+#: waeup/futminna/students/viewlets.py:316
+msgid "Evidence of Name"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:317
+msgid "Evidence of Name Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:32
+#: waeup/futminna/students/viewlets.py:43
+msgid "LGA Identification"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:33
+#: waeup/futminna/students/viewlets.py:44
+msgid "LGA Identification Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:333
+#: waeup/futminna/students/viewlets.py:334
+#: waeup/futminna/students/viewlets.py:344
+msgid "Result Statement"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:345
+msgid "Result Statement Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:361
+#: waeup/futminna/students/viewlets.py:362
+#: waeup/futminna/students/viewlets.py:372
+msgid "Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:373
+msgid "Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:389
+#: waeup/futminna/students/viewlets.py:390
+#: waeup/futminna/students/viewlets.py:400
+msgid "Second Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:401
+msgid "Second Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:424
+#: waeup/futminna/students/viewlets.py:425
+#: waeup/futminna/students/viewlets.py:435
+msgid "Third Referee Letter"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:436
+msgid "Third Referee Letter Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:459
+#: waeup/futminna/students/viewlets.py:460
+#: waeup/futminna/students/viewlets.py:470
+msgid "Statutory Declaration of Good Conduct"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:471
+msgid "Statutory Declaration of Good Conduct Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:487
+#: waeup/futminna/students/viewlets.py:488
+#: waeup/futminna/students/viewlets.py:498
+msgid "Letter of Admission"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:499
+msgid "Letter of Admission Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:60
+#: waeup/futminna/students/viewlets.py:61
+#: waeup/futminna/students/viewlets.py:71
+msgid "First Sitting Result"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:72
+msgid "First Sitting Result Scan"
+msgstr ""
+
+#: waeup/futminna/students/viewlets.py:88
+#: waeup/futminna/students/viewlets.py:89
+#: waeup/futminna/students/viewlets.py:99
+msgid "Second Sitting Result"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:26
+msgid "Nigeria"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:27
+msgid "Germany"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:28
+msgid "United States"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:29
+msgid "Niger"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:30
+msgid "Benin"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:31
+msgid "Cameroon"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:32
+msgid "United Kingdom"
+msgstr ""
+
+#: waeup/futminna/utils/utils.py:33
+msgid "France"
+msgstr ""
Index: /main/waeup.futminna/trunk/src/waeup/futminna/mail.zcml
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/mail.zcml	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/mail.zcml	(revision 8619)
@@ -0,0 +1,82 @@
+<configure xmlns="http://namespaces.zope.org/zope"
+           xmlns:mail="http://namespaces.zope.org/mail">
+  <!--
+
+   SMTP Settings
+   *************
+
+   In here we define the mailers and mail deliveries we want to be
+   used by the portal.
+
+   They are set here (and not dynamically in the portal) to increase
+   security. Even portal users with all permissions cannot change mail
+   server credentials and related. You need filesystem access to
+   change/override the settings in here.
+
+   In the portal you can pick one of the deliveries for use with all
+   SMTP (aka mail) related functionality.
+
+   Each delivery (direct or queued) is bound to a certain mailer,
+   defined by a 'mail:smtpMailer' directive.
+
+   The smtpMailer directives define real mail hosts (local or remote)
+   where mail from the portal should be processed.
+
+   The 'mail:directDelivery' and 'mail:queuedDelivery' directives send
+   local mail to the mailer set in their 'mailer' attribute. While
+   directDelivery sends mail immediately when a request is finished
+   (see zope.sendmail for more info), queuedDelivery handles mail in a
+   background thread and sends mail independently from requests.
+
+   By default in Kofa we have a fake mailer activated, that does not
+   send real mail to the outside world.
+  -->
+
+  <!-- A mail server on localhost -->
+  <!-- Mail server definitions require the following attributes:
+
+        - name: (string) name to be used by deliveries
+
+       Mail server definitions allow the following additional attribs:
+
+        - hostname   (string) hostname or IP(?) of mail server to use
+                              ('localhost' by default)
+        - port       (int number) port to connect to SMTP mailer
+                              (25 by default)
+        - username   (string) Username to log in to mail server
+        - password   (string) Password to log in to mail server
+
+  -->
+  <mail:smtpMailer
+      name="smtp.mailserver"
+      hostname="localhost"
+      port="25"
+      />
+
+  <!-- The mail deliveries -->
+  <!-- Mail deliveries require the following attributes:
+
+        - name:       (string) this string will appear in portal select
+                               boxes
+        - permission: (string) zope default perms only
+        - mailer:     (string) name of some mailer registered above or
+                               'smtp'
+        - queuePath:  (string) must exist and contain cur/, new/, and
+                               tmp/ dirs. Relative paths are relative
+                               to the directory this files lives in.
+
+   -->
+  <mail:queuedDelivery
+      name="Queued SMTP on mail server"
+      permission="zope.Public"
+      mailer="smtp.mailserver"
+      queuePath="../../../var/mailqueue"
+      />
+
+  <mail:directDelivery
+      name="Direct SMTP on mail server"
+      permission="zope.Public"
+      mailer="smtp.mailserver"
+      />
+
+</configure>
Index: /main/waeup.futminna/trunk/src/waeup/futminna/meta.zcml
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/meta.zcml	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/meta.zcml	(revision 8619)
@@ -0,0 +1,12 @@
+<configure
+    xmlns="http://namespaces.zope.org/zope"
+    xmlns:meta="http://namespaces.zope.org/meta"
+    xmlns:grok="http://namespaces.zope.org/grok">
+
+  <include package="grok" file="meta.zcml" />
+  <!-- include package="z3c.autoinclude" file="meta.zcml" / -->
+
+  <!-- Load the grokkers -->
+  <grok:grok package=".meta" />
+
+</configure>
Index: /main/waeup.futminna/trunk/src/waeup/futminna/overrides.zcml
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/overrides.zcml	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/overrides.zcml	(revision 8619)
@@ -0,0 +1,15 @@
+<configure xmlns="http://namespaces.zope.org/zope"
+           xmlns:grok="http://namespaces.zope.org/grok">
+  <includeDependencies package="." />
+  <grok:grok package="." />
+
+  <!-- Register edit widget for PhoneNumbers -->
+  <adapter
+      for="waeup.kofa.schema.interfaces.IPhoneNumber
+           zope.publisher.interfaces.browser.IBrowserRequest"
+      provides="zope.formlib.interfaces.ISimpleInputWidget"
+      factory="waeup.futminna.widgets.phonewidget.CustomPhoneWidget"
+      permission="zope.Public"
+      />
+
+</configure>
Index: /main/waeup.futminna/trunk/src/waeup/futminna/payments/__init__.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/payments/__init__.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/payments/__init__.py	(revision 8619)
@@ -0,0 +1,11 @@
+"""This package contains everything regarding payments.
+"""
+# Make this a package.
+from waeup.kofa.payments.container import PaymentsContainer
+from waeup.kofa.payments.payment import SCPayment, OnlinePayment
+
+__all__ = [
+    'PaymentsContainer',
+    'SCPayment',
+    'OnlinePayment',
+    ]
Index: /main/waeup.futminna/trunk/src/waeup/futminna/payments/interfaces.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/payments/interfaces.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/payments/interfaces.py	(revision 8619)
@@ -0,0 +1,70 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+from zope.interface import Attribute
+from zope import schema
+from waeup.kofa.payments.interfaces import IPayment
+from waeup.kofa.interfaces import MessageFactory as _
+
+class ICustomOnlinePayment(IPayment):
+    """A payment via payment gateways.
+
+    """
+
+    ac = schema.TextLine(
+        title = _(u'Activation Code'),
+        default = None,
+        required = False,
+        readonly = False,
+        )
+
+    r_amount_approved = schema.Float(
+        title = _(u'Response Amount Approved'),
+        default = 0.0,
+        required = False,
+        readonly = False,
+        )
+
+    r_code = schema.TextLine(
+        title = _(u'Response Code'),
+        default = None,
+        required = False,
+        readonly = False,
+        )
+
+    r_desc = schema.TextLine(
+        title = _(u'Response Description'),
+        default = None,
+        required = False,
+        readonly = False,
+        )
+
+    # Only defined in custom package
+
+    r_pay_reference = schema.TextLine(
+        title = _(u'Response Payment Reference'),
+        default = None,
+        required = False,
+        readonly = False,
+        )
+
+    r_card_num = schema.TextLine(
+        title = _(u'Response Card Number'),
+        default = None,
+        required = False,
+        readonly = False,
+        )
Index: /main/waeup.futminna/trunk/src/waeup/futminna/permissions.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/permissions.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/permissions.py	(revision 8619)
@@ -0,0 +1,47 @@
+## $Id$
+##
+## Copyright (C) 2012 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+import grok
+
+
+class CRPUOfficer(grok.Role):
+    """ Permissions of FUTMinna CRPU members.
+
+    This is basically a copy of the the PortalManager. We exclude some
+    permissions by commenting them out.
+    """
+
+    grok.name('waeup.CRPUOfficer')
+    grok.title(u'FUTMinna CRPU Officer')
+    grok.permissions('waeup.managePortal',
+                     #'waeup.manageUsers',
+                     'waeup.viewAcademics', 'waeup.manageAcademics',
+                     #'waeup.manageACBatches',
+                     'waeup.manageDataCenter',
+                     #'waeup.importData',
+                     'waeup.managePortalConfiguration',
+                     'waeup.viewApplication',
+                     'waeup.manageApplication', 'waeup.handleApplication',
+                     'waeup.viewApplicantsTab', 'waeup.payApplicant',
+                     'waeup.viewApplicationStatistics',
+                     'waeup.viewStudent', 'waeup.manageStudent',
+                     'waeup.clearStudent', 'waeup.payStudent',
+                     'waeup.uploadStudentFile', 'waeup.showStudents',
+                     'waeup.viewStudentsContainer','waeup.viewStudentsTab',
+                     'waeup.viewHostels', 'waeup.manageHostels',
+                     #'waeup.editUser'
+                     )
Index: /main/waeup.futminna/trunk/src/waeup/futminna/students/__init__.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/students/__init__.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/students/__init__.py	(revision 8619)
@@ -0,0 +1,1 @@
+# Make this a package.
Index: /main/waeup.futminna/trunk/src/waeup/futminna/students/batching.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/students/batching.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/students/batching.py	(revision 8619)
@@ -0,0 +1,37 @@
+## $Id$
+##
+## Copyright (C) 2012 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""Batch processing components for student objects.
+
+Batch processors eat CSV files to add, update or remove large numbers
+of certain kinds of objects at once.
+
+Here we define the processors for students specific objects like
+students, studycourses, payment tickets and accommodation tickets.
+"""
+from waeup.futminna.students.interfaces import (
+    ICustomStudent, ICustomStudentUpdateByRegNo,
+    ICustomStudentUpdateByMatricNo
+    )
+from waeup.kofa.students.batching import StudentProcessor
+
+class CustomStudentProcessor(StudentProcessor):
+    """A batch processor for IStudent objects.
+    """
+    iface = ICustomStudent
+    iface_byregnumber = ICustomStudentUpdateByRegNo
+    iface_bymatricnumber = ICustomStudentUpdateByMatricNo
Index: /main/waeup.futminna/trunk/src/waeup/futminna/students/browser.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/students/browser.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/students/browser.py	(revision 8619)
@@ -0,0 +1,211 @@
+## $Id$
+##
+## Copyright (C) 2012 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+import grok
+from zope.formlib.textwidgets import BytesDisplayWidget
+from zope.component import getUtility
+from zope.i18n import translate
+from waeup.kofa.widgets.datewidget import FriendlyDatetimeDisplayWidget
+from waeup.kofa.interfaces import IExtFileStore
+from waeup.kofa.browser.layout import action
+from waeup.kofa.students.browser import (
+    StudentPersonalDisplayFormPage,
+    StudentClearanceManageFormPage, StudentClearanceEditFormPage,
+    StudentClearanceDisplayFormPage, OnlinePaymentFakeApprovePage,
+    ExportPDFClearanceSlipPage, StudentBaseManageFormPage,
+    StudentBaseEditFormPage, StudentPersonalEditFormPage,
+    OnlinePaymentDisplayFormPage, OnlinePaymentAddFormPage,
+    OnlinePaymentBreadcrumb, ExportPDFPaymentSlipPage)
+from waeup.kofa.students.viewlets import (
+    PaymentReceiptActionButton)
+from waeup.futminna.students.interfaces import (
+    ICustomStudentBase, ICustomStudent, ICustomStudentPersonal,
+    ICustomUGStudentClearance,ICustomPGStudentClearance,
+    ICustomStudentOnlinePayment,
+    )
+from waeup.futminna.interfaces import MessageFactory as _
+
+#class RequestCallbackActionButton(RequestCallbackActionButton):
+#    """ Display the base package callback button in custom pages.
+#    """
+#    grok.context(ICustomStudentOnlinePayment)
+
+#class CustomOnlinePaymentCallbackPage(OnlinePaymentCallbackPage):
+#    """ Activate callback simulation view
+#    """
+#    grok.context(ICustomStudentOnlinePayment)
+
+class CustomOnlinePaymentBreadcrumb(OnlinePaymentBreadcrumb):
+    """A breadcrumb for payments.
+    """
+    grok.context(ICustomStudentOnlinePayment)
+
+class PaymentReceiptActionButton(PaymentReceiptActionButton):
+    grok.order(4)
+    grok.context(ICustomStudentOnlinePayment)
+
+class CustomStudentBaseManageFormPage(StudentBaseManageFormPage):
+    """ View to manage student base data
+    """
+    form_fields = grok.AutoFields(ICustomStudentBase).omit('student_id')
+
+class CustomStudentBaseEditFormPage(StudentBaseEditFormPage):
+    """ View to edit student base data
+    """
+    form_fields = grok.AutoFields(ICustomStudentBase).select(
+        'email', 'phone')
+
+
+class CustomStudentPersonalDisplayFormPage(StudentPersonalDisplayFormPage):
+    """ Page to display student personal data
+    """
+    grok.context(ICustomStudent)
+    form_fields = grok.AutoFields(ICustomStudentPersonal)
+    form_fields['perm_address'].custom_widget = BytesDisplayWidget
+
+
+class CustomStudentPersonalEditFormPage(StudentPersonalEditFormPage):
+    """ Page to edit personal data
+    """
+    form_fields = grok.AutoFields(ICustomStudentPersonal)
+
+
+class CustomStudentClearanceDisplayFormPage(StudentClearanceDisplayFormPage):
+    """ Page to display student clearance data
+    """
+    grok.context(ICustomStudent)
+
+    @property
+    def form_fields(self):
+        cm = getattr(self.context,'current_mode', None)
+        if cm is not None and cm.startswith('pg'):
+            form_fields = grok.AutoFields(
+                ICustomPGStudentClearance).omit('clearance_locked')
+        else:
+            form_fields = grok.AutoFields(
+                ICustomUGStudentClearance).omit('clearance_locked')
+        return form_fields
+
+class CustomExportPDFClearanceSlipPage(ExportPDFClearanceSlipPage):
+    """Deliver a PDF slip of the context.
+    """
+    grok.context(ICustomStudent)
+
+    @property
+    def form_fields(self):
+        cm = getattr(self.context,'current_mode', None)
+        if cm is not None and cm.startswith('pg'):
+            form_fields = grok.AutoFields(
+                ICustomPGStudentClearance).omit('clearance_locked')
+        else:
+            form_fields = grok.AutoFields(
+                ICustomUGStudentClearance).omit('clearance_locked')
+        return form_fields
+
+class CustomStudentClearanceManageFormPage(StudentClearanceManageFormPage):
+    """ Page to edit student clearance data
+    """
+    grok.context(ICustomStudent)
+
+    @property
+    def form_fields(self):
+        cm = getattr(self.context,'current_mode', None)
+        if cm is not None and cm.startswith('pg'):
+            form_fields = grok.AutoFields(ICustomPGStudentClearance)
+        else:
+            form_fields = grok.AutoFields(ICustomUGStudentClearance)
+        return form_fields
+
+class CustomStudentClearanceEditFormPage(StudentClearanceEditFormPage):
+    """ View to edit student clearance data by student
+    """
+    grok.context(ICustomStudent)
+
+    @property
+    def form_fields(self):
+        cm = getattr(self.context,'current_mode', None)
+        if cm is not None and cm.startswith('pg'):
+            form_fields = grok.AutoFields(ICustomPGStudentClearance).omit('clearance_locked')
+        else:
+            form_fields = grok.AutoFields(ICustomUGStudentClearance).omit('clearance_locked')
+        return form_fields
+
+    def dataNotComplete(self):
+        store = getUtility(IExtFileStore)
+        if not store.getFileByContext(self.context, attr=u'birth_certicicate.jpg'):
+            return _('No birth certificate uploaded.')
+        if not store.getFileByContext(self.context, attr=u'ref_let.jpg'):
+            return _('No referee letter uploaded.')
+        if not store.getFileByContext(self.context, attr=u'acc_let.jpg'):
+            return _('No acceptance letter uploaded.')
+        if not store.getFileByContext(self.context, attr=u'fst_sit_scan.jpg'):
+            return _('No first sitting result uploaded.')
+        return False
+
+class CustomOnlinePaymentDisplayFormPage(OnlinePaymentDisplayFormPage):
+    """ Page to view an online payment ticket
+    """
+    grok.context(ICustomStudentOnlinePayment)
+    form_fields = grok.AutoFields(ICustomStudentOnlinePayment)
+    form_fields[
+        'creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
+    form_fields[
+        'payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
+    grok.template('payment_view')
+
+    @property
+    def transaction_code(self):
+        tcode = self.context.p_id
+        return tcode[len(tcode)-8:len(tcode)]
+
+class CustomOnlinePaymentAddFormPage(OnlinePaymentAddFormPage):
+    """ Page to add an online payment ticket
+    """
+    form_fields = grok.AutoFields(ICustomStudentOnlinePayment).select(
+        'p_category')
+
+class CustomOnlinePaymentFakeApprovePage(OnlinePaymentFakeApprovePage):
+    """ Disable payment approval view for students.
+
+    This view is used for browser tests only and
+    has to be neutralized here!
+    """
+
+    grok.name('fake_approve')
+    grok.require('waeup.managePortal')
+
+    def update(self):
+        return
+
+class CustomExportPDFPaymentSlipPage(ExportPDFPaymentSlipPage):
+    """Deliver a PDF slip of the context.
+    """
+    grok.context(ICustomStudentOnlinePayment)
+    form_fields = grok.AutoFields(ICustomStudentOnlinePayment)
+    form_fields['creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
+    form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
+
+    @property
+    def note(self):
+        tcode = self.context.p_id
+        tcode = tcode[len(tcode)-8:len(tcode)]
+        amount = self.context.amount_auth
+        note = translate(_(
+            u"""<br /><br /><br />
+The tranzaction code is <strong>${a}</strong>.""",
+            mapping = {'a':tcode}))
+        return note
Index: /main/waeup.futminna/trunk/src/waeup/futminna/students/browser_templates/payment_view.pt
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/students/browser_templates/payment_view.pt	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/students/browser_templates/payment_view.pt	(revision 8619)
@@ -0,0 +1,18 @@
+<table class="form-table" i18n:domain="waeup.custom"
+  tal:define="files provider:files">
+  <tbody>
+    <tal:widgets content="structure provider:widgets" />
+    <tr tal:condition="python: files.replace('\n','')">
+      <td class="separator" colspan=2 i18n:translate="">
+        Uploaded Files
+      </td>
+    </tr>
+    <tal:files content="structure files" />
+    <tr>
+      <td class="fieldname">
+        <span i18n:translate="">Transaction Code</span>:
+      </td>
+      <td tal:content="view/transaction_code">TRANSACTIONCODE</td>
+    </tr>
+  </tbody>
+</table>
Index: /main/waeup.futminna/trunk/src/waeup/futminna/students/interfaces.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/students/interfaces.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/students/interfaces.py	(revision 8619)
@@ -0,0 +1,401 @@
+## $Id$
+##
+## Copyright (C) 2012 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+from zope import schema
+from waeup.kofa.schema import TextLineChoice
+from waeup.kofa.interfaces import SimpleKofaVocabulary, academic_sessions_vocab
+from waeup.kofa.schema import FormattedDate
+from waeup.kofa.schoolgrades import ResultEntryField
+from waeup.kofa.students.vocabularies import nats_vocab
+from waeup.kofa.students.interfaces import (
+    IStudentBase, IUGStudentClearance, IPGStudentClearance,
+    IStudentPersonal, IStudentNavigation, IStudentStudyLevel,
+    IStudentStudyCourse, ICourseTicket
+    )
+from waeup.kofa.students.vocabularies import (
+    nats_vocab, contextual_reg_num_source)
+from waeup.futminna.interfaces import (
+    high_qual, high_grade, exam_types, LGASource)
+from waeup.futminna.interfaces import MessageFactory as _
+from waeup.futminna.payments.interfaces import ICustomOnlinePayment
+from waeup.futminna.utils.lgas import LGAS
+
+
+class ICustomStudentBase(IStudentBase):
+    """Representation of student base data.
+
+    """
+
+    reg_number = TextLineChoice(
+        title = _(u'Registration Number'),
+        required = False,
+        readonly = False,
+        source = contextual_reg_num_source,
+        )
+
+class ICustomStudentPersonal(IStudentPersonal):
+    """Student personal data.
+
+    """
+
+    marit_stat = schema.Choice(
+        title = u'Maritual Status',
+        default = 'unmarried',
+        required = False,
+        vocabulary = SimpleKofaVocabulary(
+            (_('Unmarried'), 'unmarried'),
+            (_('Married'), 'married'),)
+        )
+
+class ICustomUGStudentClearance(IUGStudentClearance):
+    """Representation of ug student clearance data.
+
+    """
+    date_of_birth = FormattedDate(
+        title = _(u'Date of Birth'),
+        required = False,
+        show_year = True,
+        )
+
+    nationality = schema.Choice(
+        source = nats_vocab,
+        title = _(u'Nationality'),
+        required = False,
+        )
+
+    lga = schema.Choice(
+        source = LGASource(),
+        title = _(u'State/LGA (Nigerians only)'),
+        required = False,
+        )
+
+    def_adm = schema.Bool(
+        title = _(u'Deferent of Admission'),
+        required = False,
+        readonly = False,
+        )
+
+    fst_sit_fname = schema.TextLine(
+        title = _(u'Full Name'),
+        required = False,
+        readonly = False,
+        )
+    fst_sit_no = schema.TextLine(
+        title = _(u'Exam Number'),
+        required = False,
+        readonly = False,
+        )
+
+    fst_sit_date = FormattedDate(
+        title = _(u'Exam Date'),
+        required = False,
+        readonly = False,
+        show_year = True,
+        )
+
+    fst_sit_type = schema.Choice(
+        title = _(u'Exam Type'),
+        required = False,
+        readonly = False,
+        vocabulary = exam_types,
+        )
+
+    fst_sit_results = schema.List(
+        title = _(u'Exam Results'),
+        value_type = ResultEntryField(),
+        required = False,
+        readonly = False,
+        default = [],
+        )
+
+    scd_sit_fname = schema.TextLine(
+        title = _(u'Full Name'),
+        required = False,
+        readonly = False,
+        )
+    scd_sit_no = schema.TextLine(
+        title = _(u'Exam Number'),
+        required = False,
+        readonly = False,
+        )
+
+    scd_sit_date = FormattedDate(
+        title = _(u'Exam Date'),
+        required = False,
+        readonly = False,
+        show_year = True,
+        )
+
+    scd_sit_type = schema.Choice(
+        title = _(u'Exam Type'),
+        required = False,
+        readonly = False,
+        vocabulary = exam_types,
+        )
+
+    scd_sit_results = schema.List(
+        title = _(u'Exam Results'),
+        value_type = ResultEntryField(),
+        required = False,
+        readonly = False,
+        default = [],
+        )
+
+    alr_fname = schema.TextLine(
+        title = _(u'Full Name'),
+        required = False,
+        readonly = False,
+        )
+    alr_no = schema.TextLine(
+        title = _(u'Exam Number'),
+        required = False,
+        readonly = False,
+        )
+
+    alr_date = FormattedDate(
+        title = _(u'Exam Date'),
+        required = False,
+        readonly = False,
+        show_year = True,
+        )
+
+    alr_results = schema.List(
+        title = _(u'Exam Results'),
+        value_type = ResultEntryField(),
+        required = False,
+        readonly = False,
+        default = [],
+        )
+
+    hq_type = schema.Choice(
+        title = _(u'Qualification Obtained'),
+        required = False,
+        readonly = False,
+        vocabulary = high_qual,
+        )
+
+    hq_matric_no = schema.TextLine(
+        title = _(u'Former Matric Number'),
+        required = False,
+        readonly = False,
+        )
+
+    hq_degree = schema.Choice(
+        title = _(u'Class of Degree'),
+        required = False,
+        readonly = False,
+        vocabulary = high_grade,
+        )
+
+    hq_school = schema.TextLine(
+        title = _(u'Institution Attended'),
+        required = False,
+        readonly = False,
+        )
+
+    hq_session = schema.TextLine(
+        title = _(u'Years Attended'),
+        required = False,
+        readonly = False,
+        )
+
+    hq_disc = schema.TextLine(
+        title = _(u'Discipline'),
+        required = False,
+        readonly = False,
+        )
+
+
+class ICustomPGStudentClearance(ICustomUGStudentClearance):
+    """Representation of pg student clearance data.
+
+    """
+
+    hq2_type = schema.Choice(
+        title = _(u'Qualification Obtained'),
+        required = False,
+        readonly = False,
+        vocabulary = high_qual,
+        )
+
+    hq2_matric_no = schema.TextLine(
+        title = _(u'Former Matric Number'),
+        required = False,
+        readonly = False,
+        )
+
+    hq2_degree = schema.Choice(
+        title = _(u'Class of Degree'),
+        required = False,
+        readonly = False,
+        vocabulary = high_grade,
+        )
+
+    hq2_school = schema.TextLine(
+        title = _(u'Institution Attended'),
+        required = False,
+        readonly = False,
+        )
+
+    hq2_session = schema.TextLine(
+        title = _(u'Years Attended'),
+        required = False,
+        readonly = False,
+        )
+
+    hq2_disc = schema.TextLine(
+        title = _(u'Discipline'),
+        required = False,
+        readonly = False,
+        )
+
+    nysc_year = schema.Int(
+        title = _(u'Nysc Year'),
+        required = False,
+        readonly = False,
+        )
+
+    nysc_lga = schema.Choice(
+        source = LGASource(),
+        title = _(u'Nysc Location'),
+        required = False,
+        )
+
+    employer = schema.TextLine(
+        title = _(u'Employer'),
+        required = False,
+        readonly = False,
+        )
+
+    emp_position = schema.TextLine(
+        title = _(u'Employer Position'),
+        required = False,
+        readonly = False,
+        )
+
+    emp_start = FormattedDate(
+        title = _(u'Start Date'),
+        required = False,
+        readonly = False,
+        show_year = True,
+        )
+
+    emp_end = FormattedDate(
+        title = _(u'End Date'),
+        required = False,
+        readonly = False,
+        show_year = True,
+        )
+
+    emp_reason = schema.TextLine(
+        title = _(u'Reason for Leaving'),
+        required = False,
+        readonly = False,
+        )
+
+    employer2 = schema.TextLine(
+        title = _(u'2nd Employer'),
+        required = False,
+        readonly = False,
+        )
+
+    emp2_position = schema.TextLine(
+        title = _(u'2nd Employer Position'),
+        required = False,
+        readonly = False,
+        )
+
+    emp2_start = FormattedDate(
+        title = _(u'Start Date'),
+        required = False,
+        readonly = False,
+        show_year = True,
+        )
+    emp2_end = FormattedDate(
+        title = _(u'End Date'),
+        required = False,
+        readonly = False,
+        show_year = True,
+        )
+
+    emp2_reason = schema.TextLine(
+        title = _(u'Reason for Leaving'),
+        required = False,
+        readonly = False,
+        )
+
+    former_matric = schema.TextLine(
+        title = _(u'If yes, matric number'),
+        required = False,
+        readonly = False,
+        )
+
+
+class ICustomStudent(ICustomStudentBase,ICustomUGStudentClearance,
+    ICustomPGStudentClearance,ICustomStudentPersonal):
+    """Representation of a student.
+
+    """
+
+class ICustomStudentStudyCourse(IStudentStudyCourse):
+    """A container for student study levels.
+
+    """
+
+class ICustomStudentStudyLevel(IStudentStudyLevel):
+    """A container for course tickets.
+
+    """
+
+class ICustomStudentOnlinePayment(ICustomOnlinePayment):
+    """A student payment via payment gateways.
+
+    This Interface does not inherit from IStudentOnlinePayment.
+    Thus all fields from IStudentOnlinePayment have to be repeated here.
+    """
+
+    p_level = schema.Int(
+        title = _(u'Payment Level'),
+        required = False,
+        readonly = True,
+        )
+
+ICustomStudentOnlinePayment['p_level'].order = ICustomStudentOnlinePayment[
+    'p_session'].order
+
+class ICustomCourseTicket(ICourseTicket):
+    """A course ticket.
+
+    """
+
+class ICustomStudentUpdateByRegNo(ICustomStudent):
+    """Representation of a student. Skip regular reg_number validation.
+
+    """
+    reg_number = schema.TextLine(
+        title = _(u'Registration Number'),
+        required = False,
+        )
+
+class ICustomStudentUpdateByMatricNo(ICustomStudent):
+    """Representation of a student. Skip regular matric_number validation.
+
+    """
+    matric_number = schema.TextLine(
+        title = _(u'Matriculation Number'),
+        required = False,
+        )
Index: /main/waeup.futminna/trunk/src/waeup/futminna/students/payments.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/students/payments.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/students/payments.py	(revision 8619)
@@ -0,0 +1,62 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""
+Student payment components.
+"""
+import grok
+from zope.component.interfaces import IFactory
+from zope.interface import implementedBy
+from waeup.kofa.students.interfaces import IStudentNavigation
+from waeup.kofa.students.payments import StudentOnlinePayment
+from waeup.kofa.utils.helpers import attrs_to_fields
+from waeup.futminna.students.interfaces import ICustomStudentOnlinePayment
+
+class CustomStudentOnlinePayment(StudentOnlinePayment):
+    """This is a custom online payment for students.
+
+    Since this class inherits from StudentOnlinePayment, it automatically
+    implements the interfaces of the parent class which means
+    all viewlets and views meant for StudentOnlinePayment
+    can also be accessed in the customized system.
+    """
+    grok.implements(ICustomStudentOnlinePayment, IStudentNavigation)
+    grok.provides(ICustomStudentOnlinePayment)
+
+    def __init__(self):
+        super(CustomStudentOnlinePayment, self).__init__()
+        return
+
+    def getStudent(self):
+        return self.__parent__.__parent__
+
+CustomStudentOnlinePayment = attrs_to_fields(CustomStudentOnlinePayment)
+
+# Student online payments must be importable. So we might need a factory.
+class CustomStudentOnlinePaymentFactory(grok.GlobalUtility):
+    """A factory for student online payments.
+    """
+    grok.implements(IFactory)
+    grok.name(u'waeup.CustomStudentOnlinePayment')
+    title = u"Create a new online payment.",
+    description = u"This factory instantiates new online payment instances."
+
+    def __call__(self, *args, **kw):
+        return CustomStudentOnlinePayment()
+
+    def getInterfaces(self):
+        return implementedBy(CustomStudentOnlinePayment)
Index: /main/waeup.futminna/trunk/src/waeup/futminna/students/student.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/students/student.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/students/student.py	(revision 8619)
@@ -0,0 +1,50 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""
+Container for the various objects owned by students.
+"""
+import grok
+from zope.interface import implementedBy
+from waeup.kofa.utils.helpers import attrs_to_fields
+from waeup.kofa.students.student import Student, StudentFactory
+from waeup.futminna.students.interfaces import ICustomStudent, IStudentNavigation
+
+
+class CustomStudent(Student):
+    """This is a student container for the various objects
+    owned by students.
+    """
+    grok.implements(ICustomStudent, IStudentNavigation)
+    grok.provides(ICustomStudent)
+
+
+# Set all attributes of Student required in IStudent as field
+# properties. Doing this, we do not have to set initial attributes
+# ourselves and as a bonus we get free validation when an attribute is
+# set.
+CustomStudent = attrs_to_fields(CustomStudent)
+
+class CustomStudentFactory(StudentFactory):
+    """A factory for students.
+    """
+
+    def __call__(self, *args, **kw):
+        return CustomStudent()
+
+    def getInterfaces(self):
+        return implementedBy(CustomStudent)
Index: /main/waeup.futminna/trunk/src/waeup/futminna/students/studycourse.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/students/studycourse.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/students/studycourse.py	(revision 8619)
@@ -0,0 +1,72 @@
+## $Id$
+##
+## Copyright (C) 2012 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""
+Container which holds the data of the student study courses
+and contains the (student) study level objects.
+"""
+import grok
+from zope.interface import implementedBy
+from waeup.kofa.students.studycourse import (
+    StudentStudyCourse, StudentStudyCourseFactory)
+from waeup.kofa.utils.helpers import attrs_to_fields
+from waeup.kofa.students.workflow import CLEARED, RETURNING, PAID
+from waeup.futminna.students.interfaces import (
+    ICustomStudentStudyCourse, IStudentNavigation)
+
+class CustomStudentStudyCourse(StudentStudyCourse):
+    """This is a container for study levels.
+    """
+
+    grok.implements(ICustomStudentStudyCourse, IStudentNavigation)
+    grok.provides(ICustomStudentStudyCourse)
+
+    @property
+    def next_session_allowed(self):
+        state = self.getStudent().state
+        certificate = getattr(self, 'certificate', None)
+        if certificate == None:
+            return False
+        if state == CLEARED:
+            return True
+        cond0 = state == RETURNING
+        cond1 = self.previous_verdict in (
+            'A','B','C','F','J','L','M','N','O','X','Z')
+        cond2 = self.current_level in (0, 100)
+        cond3 = certificate.study_mode.startswith('de') and \
+            self.current_level == 200
+        cond4 = certificate.study_mode.startswith('ph') and \
+            self.current_level == 300
+        if cond0 and (cond1 or cond2 or cond3 or cond4):
+            return True
+        cond5 = self.is_postgrad
+        cond6 = state == PAID
+        if  cond5 and cond6:
+            return True
+        return False
+
+CustomStudentStudyCourse = attrs_to_fields(CustomStudentStudyCourse)
+
+class CustomStudentStudyCourseFactory(StudentStudyCourseFactory):
+    """A factory for student study courses.
+    """
+
+    def __call__(self, *args, **kw):
+        return CustomStudentStudyCourse()
+
+    def getInterfaces(self):
+        return implementedBy(CustomStudentStudyCourse)
Index: /main/waeup.futminna/trunk/src/waeup/futminna/students/studylevel.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/students/studylevel.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/students/studylevel.py	(revision 8619)
@@ -0,0 +1,74 @@
+## $Id$
+##
+## Copyright (C) 2012 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""
+Container which holds the data of a student study level
+and contains the course tickets.
+"""
+import grok
+from zope.component.interfaces import IFactory
+from zope.interface import implementedBy
+from waeup.kofa.utils.helpers import attrs_to_fields
+from waeup.kofa.students.studylevel import (
+    StudentStudyLevel, CourseTicket,
+    CourseTicketFactory, StudentStudyLevelFactory)
+from waeup.futminna.students.interfaces import (
+    ICustomStudentStudyLevel, IStudentNavigation, ICustomCourseTicket)
+
+
+class CustomStudentStudyLevel(StudentStudyLevel):
+    """This is a container for course tickets.
+    """
+    grok.implements(ICustomStudentStudyLevel, IStudentNavigation)
+    grok.provides(ICustomStudentStudyLevel)
+
+CustomStudentStudyLevel = attrs_to_fields(CustomStudentStudyLevel)
+
+class CustomStudentStudyLevelFactory(StudentStudyLevelFactory):
+    """A factory for student study levels.
+    """
+
+    def __call__(self, *args, **kw):
+        return CustomStudentStudyLevel()
+
+    def getInterfaces(self):
+        return implementedBy(CustomStudentStudyLevel)
+
+class CustomCourseTicket(CourseTicket):
+    """This is a course ticket which allows the
+    student to attend the course. Lecturers will enter scores and more at
+    the end of the term.
+
+    A course ticket contains a copy of the original course and
+    course referrer data. If the courses and/or their referrers are removed, the
+    corresponding tickets remain unchanged. So we do not need any event
+    triggered actions on course tickets.
+    """
+    grok.implements(ICustomCourseTicket, IStudentNavigation)
+    grok.provides(ICustomCourseTicket)
+
+CustomCourseTicket = attrs_to_fields(CustomCourseTicket)
+
+class CustomCourseTicketFactory(CourseTicketFactory):
+    """A factory for student study levels.
+    """
+
+    def __call__(self, *args, **kw):
+        return CustomCourseTicket()
+
+    def getInterfaces(self):
+        return implementedBy(CustomCourseTicket)
Index: /main/waeup.futminna/trunk/src/waeup/futminna/students/tests/__init__.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/students/tests/__init__.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/students/tests/__init__.py	(revision 8619)
@@ -0,0 +1,1 @@
+# Make this a package.
Index: /main/waeup.futminna/trunk/src/waeup/futminna/students/tests/sample_student_data.csv
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/students/tests/sample_student_data.csv	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/students/tests/sample_student_data.csv	(revision 8619)
@@ -0,0 +1,4 @@
+firstname,lastname,reg_number,date_of_birth,matric_number,email,phone,sex
+Aaren,Pieri,1,,100000,aa@aa.ng,1234,m
+Aaren,Finau,2,,100001,aa@aa.ng,1234,m
+Aaren,Berson,3,,100002,aa@aa.ng,1234,m
Index: /main/waeup.futminna/trunk/src/waeup/futminna/students/tests/test_browser.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/students/tests/test_browser.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/students/tests/test_browser.py	(revision 8619)
@@ -0,0 +1,365 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+import os
+import shutil
+import tempfile
+from hurry.workflow.interfaces import IWorkflowState
+from zope.component.hooks import setSite, clearSite
+from zope.component import getUtility, createObject
+from zope.interface import verify
+from waeup.kofa.app import University
+from waeup.kofa.students.tests.test_browser import StudentsFullSetup
+from waeup.kofa.testing import FunctionalTestCase
+from waeup.kofa.students.batching import StudentProcessor
+from waeup.kofa.students.interfaces import IStudentsUtils
+from waeup.futminna.students.batching import CustomStudentProcessor
+from waeup.futminna.testing import FunctionalLayer
+from waeup.futminna.students.interfaces import (
+    ICustomStudentStudyCourse, ICustomStudent,
+    ICustomStudentStudyLevel, ICustomCourseTicket)
+
+
+STUDENT_SAMPLE_DATA = open(
+    os.path.join(os.path.dirname(__file__), 'sample_student_data.csv'),
+    'rb').read()
+
+STUDENT_HEADER_FIELDS = STUDENT_SAMPLE_DATA.split(
+    '\n')[0].split(',')
+
+class StudentProcessorTest(FunctionalTestCase):
+    """Perform some batching tests.
+    """
+
+    layer = FunctionalLayer
+
+    def setUp(self):
+        super(StudentProcessorTest, self).setUp()
+        # Setup a sample site for each test
+        app = University()
+        self.dc_root = tempfile.mkdtemp()
+        app['datacenter'].setStoragePath(self.dc_root)
+
+        # Prepopulate the ZODB...
+        self.getRootFolder()['app'] = app
+        # we add the site immediately after creation to the
+        # ZODB. Catalogs and other local utilities are not setup
+        # before that step.
+        self.app = self.getRootFolder()['app']
+        # Set site here. Some of the following setup code might need
+        # to access grok.getSite() and should get our new app then
+        setSite(app)
+
+        self.processor_base = StudentProcessor()
+        self.processor = CustomStudentProcessor()
+        self.workdir = tempfile.mkdtemp()
+        self.csv_file = os.path.join(self.workdir, 'sample_student_data.csv')
+        open(self.csv_file, 'wb').write(STUDENT_SAMPLE_DATA)
+
+    def tearDown(self):
+        super(StudentProcessorTest, self).tearDown()
+        shutil.rmtree(self.workdir)
+        shutil.rmtree(self.dc_root)
+        clearSite()
+        return
+
+    def test_import(self):
+        # We have an empty column 'date_of_birth' in  the import file.
+        # The original processor will fail because 'date_of_birth' is required
+        # in the base package.
+        num, num_warns, fin_file, fail_file = self.processor_base.doImport(
+            self.csv_file, STUDENT_HEADER_FIELDS)
+        self.assertEqual(num_warns,3)
+        assert len(self.app['students'].keys()) == 0
+        # The customized processor does not complain since 'date_of_birth' is
+        # not required in the custom package.
+        num, num_warns, fin_file, fail_file = self.processor.doImport(
+            self.csv_file, STUDENT_HEADER_FIELDS)
+        #print open(fail_file).read()
+        self.assertEqual(num_warns,0)
+        assert len(self.app['students'].keys()) == 3
+        shutil.rmtree(os.path.dirname(fin_file))
+
+
+class StudentUITests(StudentsFullSetup):
+    """Tests for customized student class views and pages
+    """
+
+    layer = FunctionalLayer
+
+    def test_classes(self):
+        # Let's see if objects created in the customized
+        # portal really implement the customized interfaces
+        verify.verifyObject(ICustomStudent, self.student)
+        verify.verifyObject(
+            ICustomStudentStudyCourse, self.student['studycourse'])
+        studylevel = createObject(u'waeup.StudentStudyLevel')
+        verify.verifyObject(ICustomStudentStudyLevel, studylevel)
+        ticket = createObject(u'waeup.CourseTicket')
+        verify.verifyObject(ICustomCourseTicket, ticket)
+        IWorkflowState(self.student).setState('returning')
+        # Let's see if next_session_allowed works as expected
+        # A, ug_ft, 100
+        self.assertTrue(self.student['studycourse'].next_session_allowed)
+        # O, ug_ft, 100
+        self.student['studycourse'].current_verdict = 'O'
+        self.assertTrue(self.student['studycourse'].next_session_allowed)
+        # O, ug_ft, 200
+        self.student['studycourse'].current_level = 200
+        self.assertFalse(self.student['studycourse'].next_session_allowed)
+        # O, de_ft, 200
+        self.student['studycourse'].certificate.study_mode = 'de_ft'
+        self.assertTrue(self.student['studycourse'].next_session_allowed)
+        # O, ph_ft, 300
+        self.student['studycourse'].certificate.study_mode = 'ph_ft'
+        self.student['studycourse'].current_level = 300
+        self.assertTrue(self.student['studycourse'].next_session_allowed)
+        # O, ph_ft, 400
+        self.student['studycourse'].current_level = 400
+        self.assertFalse(self.student['studycourse'].next_session_allowed)
+
+        # Now we convert the certificate into a postgraduate certificate
+        IWorkflowState(self.student).setState('school fee paid')
+        self.certificate.study_mode = 'pg_ft'
+        # ... and voila next session registration is allowed
+        self.assertTrue(self.student['studycourse'].next_session_allowed)
+
+    def test_manage_access(self):
+        # Managers can access the pages of students
+        # and can perform actions
+        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
+        # The student created in the base package is an ug student
+        self.browser.open(self.student_path)
+        self.browser.getLink("Clearance Data").click()
+        self.assertEqual(self.browser.headers['Status'], '200 Ok')
+        self.assertEqual(self.browser.url, self.clearance_path)
+        self.browser.getLink("Manage").click()
+        self.assertEqual(self.browser.headers['Status'], '200 Ok')
+        self.assertEqual(self.browser.url, self.manage_clearance_path)
+        self.browser.getControl(name="form.date_of_birth").value = '09/10/1961'
+        self.browser.getControl("Save").click()
+        self.assertMatches('...Form has been saved...',
+                           self.browser.contents)
+        self.assertMatches('...First Sitting Record...',
+                           self.browser.contents)
+        # Managers can open clearance slip of ug students
+        self.browser.open(self.student_path + '/clearance.pdf')
+        self.assertEqual(self.browser.headers['Status'], '200 Ok')
+        self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf')
+        # There is no pg field in the clearance form
+        self.assertFalse('Second Higher Education Record'
+            in self.browser.contents)
+        # Now we change the study mode ...
+        self.certificate.study_mode = 'pg_ft'
+        self.browser.open(self.clearance_path)
+        # ... and additional pg clearance fields appear
+        self.assertMatches('...Second Higher Education Record...',
+                           self.browser.contents)
+        # But also fields from the ug form are displayed
+        self.assertMatches('...First Sitting Record...',
+                           self.browser.contents)
+        # Managers can open clearance slip of pg students
+        self.browser.open(self.student_path + '/clearance.pdf')
+        self.assertEqual(self.browser.headers['Status'], '200 Ok')
+        self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf')
+
+    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'].clearance_fee = 120.0
+        self.app['configuration']['2004'].booking_fee = 150.0
+        self.app['configuration']['2004'].maint_fee = 180.0
+
+        # Managers can add online payment tickets
+        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
+        self.browser.open(self.payments_path)
+        self.browser.getControl("Add online payment ticket").click()
+        self.browser.getControl("Create ticket").click()
+        self.assertMatches('...Amount could not be determined...',
+                           self.browser.contents)
+        IWorkflowState(self.student).setState('cleared')
+        self.browser.open(self.payments_path + '/addop')
+        self.browser.getControl("Create ticket").click()
+        self.assertMatches('...ticket created...',
+                           self.browser.contents)
+        ctrl = self.browser.getControl(name='val_id')
+        value = ctrl.options[0]
+        self.browser.getLink(value).click()
+        self.assertMatches('...Amount Authorized...',
+                           self.browser.contents)
+        # Managers can open payment slip
+        self.browser.getLink("Download payment slip").click()
+        self.assertEqual(self.browser.headers['Status'], '200 Ok')
+        self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf')
+        # Set ticket paid
+        ticket = self.student['payments'].items()[0][1]
+        ticket.p_state = 'paid'
+        self.browser.open(self.payments_path + '/addop')
+        self.browser.getControl("Create ticket").click()
+        self.assertMatches('...This type of payment has already been made...',
+                           self.browser.contents)
+        # Remove all payments so that we can add a school fee payment again
+        keys = [i for i in self.student['payments'].keys()]
+        for payment in keys:
+            del self.student['payments'][payment]
+        self.browser.open(self.payments_path + '/addop')
+        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 = ['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("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 = ['bed_allocation']
+        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 = ['hostel_maintenance']
+        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 = ['clearance']
+        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 = ['schoolfee']
+        self.browser.getControl("Create ticket").click()
+        self.assertMatches('...ticket created...',
+                           self.browser.contents)
+        # In state returning we can add a new school fee ticket since
+        # p_session and p_level is different
+        IWorkflowState(self.student).setState('returning')
+        self.browser.open(self.payments_path + '/addop')
+        self.browser.getControl(name="form.p_category").value = ['schoolfee']
+        self.browser.getControl("Create ticket").click()
+        self.assertMatches('...ticket created...',
+                           self.browser.contents)
+        # In state admitted school fee can't be determined
+        IWorkflowState(self.student).setState('admitted')
+        self.browser.open(self.payments_path + '/addop')
+        self.browser.getControl(name="form.p_category").value = ['schoolfee']
+        self.browser.getControl("Create ticket").click()
+        self.assertMatches('...Amount could not be determined...',
+                           self.browser.contents)
+
+        # If the session configuration doesn't exist an error message will
+        # be shown. No other requirement is being checked.
+        del self.app['configuration']['2004']
+        self.browser.open(self.payments_path)
+        self.browser.getControl("Add online payment ticket").click()
+        self.browser.getControl("Create ticket").click()
+        self.assertMatches('...Session configuration object is not...',
+                           self.browser.contents)
+
+    def test_student_access(self):
+        # Students can edit clearance data
+        IWorkflowState(self.student).setState('cleared')
+        self.student.clearance_locked = False
+        self.browser.open(self.login_path)
+        self.browser.getControl(name="form.login").value = self.student_id
+        self.browser.getControl(name="form.password").value = 'spwd'
+        self.browser.getControl("Login").click()
+        # Student can view and edit clearance data
+        self.browser.getLink("Clearance Data").click()
+        self.browser.getLink("Edit").click()
+        self.assertTrue('Save' in self.browser.contents)
+
+    def test_get_returning_data(self):
+        # Student is in level 100, session 2004 with verdict A
+        utils = getUtility(IStudentsUtils)
+        self.assertEqual(utils.getReturningData(self.student),(2005, 200))
+        self.student['studycourse'].current_verdict = 'C'
+        self.assertEqual(utils.getReturningData(self.student),(2005, 110))
+        self.student['studycourse'].current_verdict = 'D'
+        self.assertEqual(utils.getReturningData(self.student),(2005, 100))
+        return
+
+    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'].booking_fee = 150.0
+        self.app['configuration']['2004'].maint_fee = 180.0
+        utils = getUtility(IStudentsUtils)
+
+        error, payment = utils.setPaymentDetails('schoolfee',self.student)
+        self.assertEqual(payment, None)
+        self.assertEqual(error, u'Amount could not be determined.')
+
+        IWorkflowState(self.student).setState('cleared')
+        error, payment = utils.setPaymentDetails('schoolfee',self.student)
+        self.assertEqual(payment.p_level, 100)
+        self.assertEqual(payment.p_session, 2004)
+        self.assertEqual(payment.amount_auth, 40000.0)
+        self.assertEqual(payment.p_item, u'CERT1')
+        self.assertEqual(error, None)
+
+        IWorkflowState(self.student).setState('returning')
+        error, payment = utils.setPaymentDetails('schoolfee',self.student)
+        self.assertEqual(payment.p_level, 200)
+        self.assertEqual(payment.p_session, 2005)
+        self.assertEqual(payment.amount_auth, 20000.0)
+        self.assertEqual(payment.p_item, u'CERT1')
+        self.assertEqual(error, None)
+
+        error, payment = utils.setPaymentDetails('clearance',self.student)
+        self.assertEqual(payment.p_level, 100)
+        self.assertEqual(payment.p_session, 2004)
+        self.assertEqual(payment.amount_auth, 34250.0)
+        self.assertEqual(payment.p_item, u'CERT1')
+        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, 150.0)
+        self.assertEqual(payment.p_item, u'')
+        self.assertEqual(error, None)
+
+        error, payment = utils.setPaymentDetails('hostel_maintenance',self.student)
+        self.assertEqual(payment.p_level, 100)
+        self.assertEqual(payment.p_session, 2004)
+        self.assertEqual(payment.amount_auth, 180.0)
+        self.assertEqual(payment.p_item, u'')
+        self.assertEqual(error, None)
+
+        error, payment = utils.setPaymentDetails('bed_allocation',self.student)
+        self.assertEqual(payment.p_level, 100)
+        self.assertEqual(payment.p_session, 2004)
+        self.assertEqual(payment.amount_auth, 150.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, 90.0)
+        self.assertEqual(payment.p_item, u'')
+        self.assertEqual(error, None)
+        return
Index: /main/waeup.futminna/trunk/src/waeup/futminna/students/tests/test_student.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/students/tests/test_student.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/students/tests/test_student.py	(revision 8619)
@@ -0,0 +1,127 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""Tests for students and related.
+"""
+from datetime import tzinfo
+from zope.component.interfaces import IFactory
+from zope.interface import verify
+from waeup.kofa.testing import FunctionalTestCase
+from waeup.futminna.students.student import CustomStudent, CustomStudentFactory
+from waeup.futminna.students.studycourse import (
+    CustomStudentStudyCourse, CustomStudentStudyCourseFactory)
+from waeup.futminna.students.studylevel import (
+    CustomStudentStudyLevel, CustomCourseTicket,
+    CustomStudentStudyLevelFactory,
+    CustomCourseTicketFactory)
+from waeup.futminna.students.interfaces import (
+    ICustomStudent, ICustomStudentStudyCourse,
+    ICustomStudentStudyLevel, ICustomCourseTicket)
+from waeup.futminna.testing import FunctionalLayer
+
+
+class CustomStudentFactoryTest(FunctionalTestCase):
+
+    layer = FunctionalLayer
+
+    def setUp(self):
+        super(CustomStudentFactoryTest, self).setUp()
+        self.factory = CustomStudentFactory()
+
+    def tearDown(self):
+        super(CustomStudentFactoryTest, self).tearDown()
+
+    def test_interfaces(self):
+        verify.verifyClass(IFactory, CustomStudentFactory)
+        verify.verifyObject(IFactory, self.factory)
+
+    def test_factory(self):
+        obj = self.factory()
+        assert isinstance(obj, CustomStudent)
+
+    def test_getInterfaces(self):
+        implemented_by = self.factory.getInterfaces()
+        assert implemented_by.isOrExtends(ICustomStudent)
+
+class CustomStudentStudyCourseFactoryTest(FunctionalTestCase):
+
+    layer = FunctionalLayer
+
+    def setUp(self):
+        super(CustomStudentStudyCourseFactoryTest, self).setUp()
+        self.factory = CustomStudentStudyCourseFactory()
+
+    def tearDown(self):
+        super(CustomStudentStudyCourseFactoryTest, self).tearDown()
+
+    def test_interfaces(self):
+        verify.verifyClass(IFactory, CustomStudentStudyCourseFactory)
+        verify.verifyObject(IFactory, self.factory)
+
+    def test_factory(self):
+        obj = self.factory()
+        assert isinstance(obj, CustomStudentStudyCourse)
+
+    def test_getInterfaces(self):
+        implemented_by = self.factory.getInterfaces()
+        assert implemented_by.isOrExtends(ICustomStudentStudyCourse)
+
+class CustomStudentStudyLevelFactoryTest(FunctionalTestCase):
+
+    layer = FunctionalLayer
+
+    def setUp(self):
+        super(CustomStudentStudyLevelFactoryTest, self).setUp()
+        self.factory = CustomStudentStudyLevelFactory()
+
+    def tearDown(self):
+        super(CustomStudentStudyLevelFactoryTest, self).tearDown()
+
+    def test_interfaces(self):
+        verify.verifyClass(IFactory, CustomStudentStudyLevelFactory)
+        verify.verifyObject(IFactory, self.factory)
+
+    def test_factory(self):
+        obj = self.factory()
+        assert isinstance(obj, CustomStudentStudyLevel)
+
+    def test_getInterfaces(self):
+        implemented_by = self.factory.getInterfaces()
+        assert implemented_by.isOrExtends(ICustomStudentStudyLevel)
+
+class CustomCourseTicketFactoryTest(FunctionalTestCase):
+
+    layer = FunctionalLayer
+
+    def setUp(self):
+        super(CustomCourseTicketFactoryTest, self).setUp()
+        self.factory = CustomCourseTicketFactory()
+
+    def tearDown(self):
+        super(CustomCourseTicketFactoryTest, self).tearDown()
+
+    def test_interfaces(self):
+        verify.verifyClass(IFactory, CustomCourseTicketFactory)
+        verify.verifyObject(IFactory, self.factory)
+
+    def test_factory(self):
+        obj = self.factory()
+        assert isinstance(obj, CustomCourseTicket)
+
+    def test_getInterfaces(self):
+        implemented_by = self.factory.getInterfaces()
+        assert implemented_by.isOrExtends(ICustomCourseTicket)
Index: /main/waeup.futminna/trunk/src/waeup/futminna/students/utils.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/students/utils.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/students/utils.py	(revision 8619)
@@ -0,0 +1,169 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+import grok
+from time import time
+from zope.component import createObject
+from waeup.kofa.interfaces import CLEARED, RETURNING, PAID
+from waeup.kofa.students.utils import StudentsUtils
+from waeup.kofa.students.interfaces import IStudentsUtils
+from waeup.kofa.accesscodes import create_accesscode
+from waeup.futminna.interfaces import MessageFactory as _
+
+class CustomStudentsUtils(StudentsUtils):
+    """A collection of customized methods.
+
+    """
+    grok.implements(IStudentsUtils)
+
+    paymentfactory = u'waeup.CustomStudentOnlinePayment'
+
+    def getReturningData(self, student):
+        """ This method defines what happens after school fee payment
+        of returning students depending on the student's senate verdict.
+        """
+        prev_level = student['studycourse'].current_level
+        cur_verdict = student['studycourse'].current_verdict
+        if cur_verdict in ('A','B','L','M','N','Z',):
+            # Successful student
+            new_level = divmod(int(prev_level),100)[0]*100 + 100
+        elif cur_verdict == 'C':
+            # Student on probation
+            new_level = int(prev_level) + 10
+        else:
+            # Student is somehow in an undefined state.
+            # Level has to be set manually.
+            new_level = prev_level
+        new_session = student['studycourse'].current_session + 1
+        return new_session, new_level
+
+    def setPaymentDetails(self, category, student):
+        """Create Payment object and set the payment data of a student for
+        the payment category specified.
+
+        """
+        details = {}
+        p_item = u''
+        amount = 0.0
+        error = u''
+        p_session = student['studycourse'].current_session
+        p_level = student['studycourse'].current_level
+        session = str(p_session)
+        try:
+            academic_session = grok.getSite()['configuration'][session]
+        except KeyError:
+            return _(u'Session configuration object is not available.'), None
+        if category == 'transfer':
+            amount = academic_session.transfer_fee
+        elif category == 'gown':
+            amount = academic_session.gown_fee
+        elif category == 'bed_allocation':
+            amount = academic_session.booking_fee
+        elif category == 'hostel_maintenance':
+            amount = academic_session.maint_fee
+        elif category == 'clearance':
+            try:
+                p_item = student['studycourse'].certificate.code
+            except (AttributeError, TypeError):
+                return _('Study course data are incomplete.'), None
+            if p_item in ('BEDCET', 'BIOEDCET', 'CHMEDCET', 'ISEDCET',
+                'MTHEDCET', 'PHYEDCET', 'ITECET', 'AGREDCET', 'HEEDCET'):
+                amount = 17250.0
+            else:
+                amount = 34250.0
+        elif category == 'schoolfee':
+            try:
+                certificate = student['studycourse'].certificate
+                p_item = certificate.code
+            except (AttributeError, TypeError):
+                return _('Study course data are incomplete.'), None
+            if student.state == CLEARED:
+                amount = getattr(certificate, 'school_fee_1', 0.0)
+            elif student.state == RETURNING:
+                # In case of returning school fee payment the payment session
+                # and level contain the values of the session the student
+                # has paid for.
+                p_session, p_level = self.getReturningData(student)
+                amount = getattr(certificate, 'school_fee_2', 0.0)
+            elif student.is_postgrad and student.state == PAID:
+                # Returning postgraduate students also pay for the next session
+                # but their level always remains the same.
+                p_session += 1
+                amount = getattr(certificate, 'school_fee_2', 0.0)
+        if amount in (0.0, None):
+            return _(u'Amount could not be determined.'), None
+        for key in student['payments'].keys():
+            ticket = student['payments'][key]
+            if ticket.p_state == 'paid' and\
+               ticket.p_category == category and \
+               ticket.p_item == p_item and \
+               ticket.p_session == p_session:
+                  return _('This type of payment has already been made.'), None
+        payment = createObject(self.paymentfactory)
+        timestamp = "%d" % int(time()*1000)
+        payment.p_id = "p%s" % timestamp
+        payment.p_category = category
+        payment.p_item = p_item
+        payment.p_session = p_session
+        payment.p_level = p_level
+        payment.amount_auth = amount
+        return None, payment
+
+    VERDICTS_DICT = {
+        '0': 'not yet',
+        'A': 'Successful student',
+        'B': 'Student with carryover courses',
+        'C': 'Student on probation',
+        'D': 'Withdrawn from the faculty',
+        'E': 'Student who were previously on probation',
+        'F': 'Medical case',
+        'G': 'Absent from examination',
+        'H': 'Withheld results',
+        'I': 'Expelled/rusticated/suspended student',
+        'J': 'Temporary withdrawn from the university',
+        'K': 'Unregistered student',
+        'L': 'Referred student',
+        'M': 'Reinstatement',
+        'N': 'Student on transfer',
+        'O': 'NCE-III repeater',
+        'Y': 'No previous verdict',
+        'X': 'New 300 level student',
+        'Z': 'Successful student (provisional)',
+        'A1': 'First Class',
+        'A2': 'Second Class Upper',
+        'A3': 'Second Class Lower',
+        'A4': 'Third Class',
+        'A5': 'Pass',
+        'A6': 'Distinction',
+        'A7': 'Credit',
+        'A8': 'Merit',
+        }
+
+    # FUTMinna separators
+    SEPARATORS_DICT = {
+        'form.fst_sit_fname': _(u'First Sitting Record'),
+        'form.scd_sit_fname': _(u'Second Sitting Record'),
+        'form.alr_fname': _(u'Advanced Level Record'),
+        'form.hq_type': _(u'Higher Education Record'),
+        'form.hq2_type': _(u'Second Higher Education Record'),
+        'form.nysc_year': _(u'NYSC Information'),
+        'form.employer': _(u'Employment History'),
+        'form.former_matric': _(u'Former FUTMinna Student'),
+        }
+
+    # FUTMinna prefix
+    STUDENT_ID_PREFIX = u'M'
Index: /main/waeup.futminna/trunk/src/waeup/futminna/students/viewlets.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/students/viewlets.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/students/viewlets.py	(revision 8619)
@@ -0,0 +1,514 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+
+import grok
+from waeup.kofa.students.viewlets import (
+    FileDisplay, FileUpload, Image)
+from waeup.kofa.students.browser import ExportPDFClearanceSlipPage
+
+from waeup.futminna.interfaces import MessageFactory as _
+
+# LGA Identification
+
+class LGAIdentificationDisplay(FileDisplay):
+    """LGA Identification display viewlet.
+    """
+    grok.order(1)
+    label = _(u'LGA Identification')
+    title = _(u'LGA Identification Scan')
+    download_name = u'lga_ident'
+
+class LGAIdentificationSlip(LGAIdentificationDisplay):
+    grok.view(ExportPDFClearanceSlipPage)
+
+class LGAIdentificationUpload(FileUpload):
+    """LGA Identification upload viewlet.
+    """
+    grok.order(2)
+    label = _(u'LGA Identification')
+    title = _(u'LGA Identification Scan')
+    mus = 1024 * 150
+    download_name = u'lga_ident'
+
+class LGAIdentificationImage(Image):
+    """Renders LGA Identification scan.
+    """
+    grok.name('lga_ident')
+    download_name = u'lga_ident'
+
+# First Sitting Result
+
+class FirstSittingResultDisplay(FileDisplay):
+    """First Sitting Result display viewlet.
+    """
+    grok.order(1)
+    label = _(u'First Sitting Result')
+    title = _(u'First Sitting Result')
+    download_name = u'fst_sit_scan'
+
+class FirstSittingResultSlip(FirstSittingResultDisplay):
+    grok.view(ExportPDFClearanceSlipPage)
+
+class FirstSittingResultUpload(FileUpload):
+    """First Sitting Result upload viewlet.
+    """
+    grok.order(2)
+    label = _(u'First Sitting Result')
+    title = _(u'First Sitting Result Scan')
+    mus = 1024 * 150
+    download_name = u'fst_sit_scan'
+
+class FirstSittingResultImage(Image):
+    """Renders First Sitting Result scan.
+    """
+    grok.name('fst_sit_scan')
+    download_name = u'fst_sit_scan'
+
+# Second Sitting Result
+
+class SecondSittingResultDisplay(FileDisplay):
+    """Second Sitting Result display viewlet.
+    """
+    grok.order(1)
+    label = _(u'Second Sitting Result')
+    title = _(u'Second Sitting Result')
+    download_name = u'scd_sit_scan'
+
+class SecondSittingResultSlip(SecondSittingResultDisplay):
+    grok.view(ExportPDFClearanceSlipPage)
+
+class SecondSittingResultUpload(FileUpload):
+    """Second Sitting Result upload viewlet.
+    """
+    grok.order(2)
+    label = _(u'Second Sitting Result')
+    title = _(u'Second Sitting Result Scan')
+    mus = 1024 * 150
+    download_name = u'scd_sit_scan'
+
+class SecondSittingResultImage(Image):
+    """Renders Second Sitting Result scan.
+    """
+    grok.name('scd_sit_scan')
+    download_name = u'scd_sit_scan'
+
+# Higher Qualification Result
+
+class HigherQualificationResultDisplay(FileDisplay):
+    """Higher Qualification Result display viewlet.
+    """
+    grok.order(1)
+    label = _(u'Higher Qualification Result')
+    title = _(u'Higher Qualification Result')
+    download_name = u'hq_scan'
+
+class HigherQualificationResultSlip(HigherQualificationResultDisplay):
+    grok.view(ExportPDFClearanceSlipPage)
+
+class HigherQualificationResultUpload(FileUpload):
+    """Higher Qualification Result upload viewlet.
+    """
+    grok.order(2)
+    label = _(u'Higher Qualification Result')
+    title = _(u'Higher Qualification Result Scan')
+    mus = 1024 * 150
+    download_name = u'hq_scan'
+
+class HigherQualificationResultImage(Image):
+    """Renders Higher Qualification Result scan.
+    """
+    grok.name('hq_scan')
+    download_name = u'hq_scan'
+
+# 2nd Higher Qualification Result (PG Students only)
+
+class SecondHigherQualificationResultDisplay(FileDisplay):
+    """Second Higher Qualification Result display viewlet.
+    """
+    grok.order(1)
+    label = _(u'Second Higher Qualification Result')
+    title = _(u'Second Higher Qualification Result')
+    download_name = u'hq_scan2'
+
+class SecondHigherQualificationResultSlip(SecondHigherQualificationResultDisplay):
+    grok.view(ExportPDFClearanceSlipPage)
+
+class SecondHigherQualificationResultUpload(FileUpload):
+    """Second Higher Qualification Result upload viewlet.
+    """
+    grok.order(2)
+    label = _(u'Second Higher Qualification Result')
+    title = _(u'Second Higher Qualification Result Scan')
+    mus = 1024 * 150
+    download_name = u'hq_scan2'
+
+    @property
+    def show_viewlet(self):
+        cm = getattr(self.context,'current_mode', None)
+        if cm is not None and cm.startswith('pg'):
+            return True
+        return False
+
+class SecondHigherQualificationResultImage(Image):
+    """Renders Second Higher Qualification Result scan.
+    """
+    grok.name('hq_scan2')
+    download_name = u'hq_scan2'
+
+# Advanced Level Result
+
+class AdvancedLevelResultDisplay(FileDisplay):
+    """Advanced Level Result display viewlet.
+    """
+    grok.order(1)
+    label = _(u'Advanced Level Result')
+    title = _(u'Advanced Level Result')
+    download_name = u'alr_scan'
+
+class AdvancedLevelResultSlip(AdvancedLevelResultDisplay):
+    grok.view(ExportPDFClearanceSlipPage)
+
+class AdvancedLevelResultUpload(FileUpload):
+    """Advanced Level Result upload viewlet.
+    """
+    grok.order(2)
+    label = _(u'Advanced Level Result')
+    title = _(u'Advanced Level Result Scan')
+    mus = 1024 * 150
+    download_name = u'alr_scan'
+
+class AdvancedLevelResultImage(Image):
+    """Renders Advanced Level Result scan.
+    """
+    grok.name('alr_scan')
+    download_name = u'alr_scan'
+
+# Certificate 
+
+class CertificateDisplay(FileDisplay):
+    """Certificate display viewlet.
+    """
+    grok.order(1)
+    label = _(u'Certificate')
+    title = _(u'Certificate')
+    download_name = u'certificate'
+
+class CertificateSlip(CertificateDisplay):
+    grok.view(ExportPDFClearanceSlipPage)
+
+class CertificateUpload(FileUpload):
+    """Certificate upload viewlet.
+    """
+    grok.order(2)
+    label = _(u'Certificate')
+    title = _(u'Certificate Scan')
+    mus = 1024 * 150
+    download_name = u'certificate'
+
+class CertificateImage(Image):
+    """Renders Certificate scan.
+    """
+    grok.name('certificate')
+    download_name = u'certificate'
+
+# Second Certificate (PG Students only)
+
+class SecondCertificateDisplay(FileDisplay):
+    """ Second Certificate display viewlet.
+    """
+    grok.order(1)
+    label = _(u'Second Certificate')
+    title = _(u'Second Certificate')
+    download_name = u'certificate2'
+
+class SecondCertificateSlip(SecondCertificateDisplay):
+    grok.view(ExportPDFClearanceSlipPage)
+
+class SecondCertificateUpload(FileUpload):
+    """Second Certificate upload viewlet.
+    """
+    grok.order(2)
+    label = _(u'Second Certificate')
+    title = _(u'Second Certificate Scan')
+    mus = 1024 * 150
+    download_name = u'certificate2'
+
+    @property
+    def show_viewlet(self):
+        cm = getattr(self.context,'current_mode', None)
+        if cm is not None and cm.startswith('pg'):
+            return True
+        return False
+
+class CertificateImage(Image):
+    """Renders Second Certificate scan.
+    """
+    grok.name('certificate2')
+    download_name = u'certificate2'
+
+# Third Certificate (PG Students only)
+
+class ThirdCertificateDisplay(FileDisplay):
+    """ Third Certificate display viewlet.
+    """
+    grok.order(1)
+    label = _(u'Third Certificate')
+    title = _(u'Third Certificate')
+    download_name = u'certificate3'
+
+class ThirdCertificateSlip(ThirdCertificateDisplay):
+    grok.view(ExportPDFClearanceSlipPage)
+
+class ThirdCertificateUpload(FileUpload):
+    """Third Certificate upload viewlet.
+    """
+    grok.order(2)
+    label = _(u'Third Certificate')
+    title = _(u'Third Certificate Scan')
+    mus = 1024 * 150
+    download_name = u'certificate3'
+
+    @property
+    def show_viewlet(self):
+        cm = getattr(self.context,'current_mode', None)
+        if cm is not None and cm.startswith('pg'):
+            return True
+        return False
+
+class CertificateImage(Image):
+    """Renders Third Certificate scan.
+    """
+    grok.name('certificate3')
+    download_name = u'certificate3'
+
+# Evidence of Name
+
+class EvidenceNameDisplay(FileDisplay):
+    """Evidence of Name display viewlet.
+    """
+    grok.order(1)
+    label = _(u'Evidence of Name')
+    title = _(u'Evidence of Name')
+    download_name = u'evid'
+
+class EvidenceNameSlip(EvidenceNameDisplay):
+    grok.view(ExportPDFClearanceSlipPage)
+
+class EvidenceNameUpload(FileUpload):
+    """Evidence of Name upload viewlet.
+    """
+    grok.order(2)
+    label = _(u'Evidence of Name')
+    title = _(u'Evidence of Name Scan')
+    mus = 1024 * 150
+    download_name = u'evid'
+
+class EvidenceNameImage(Image):
+    """Renders Evidence of Name scan.
+    """
+    grok.name('evid')
+    download_name = u'evid'
+
+# Result Statement
+
+class ResultStatementDisplay(FileDisplay):
+    """Result Statement display viewlet.
+    """
+    grok.order(1)
+    label = _(u'Result Statement')
+    title = _(u'Result Statement')
+    download_name = u'res_stat'
+
+class ResultStatementSlip(ResultStatementDisplay):
+    grok.view(ExportPDFClearanceSlipPage)
+
+class ResultStatementUpload(FileUpload):
+    """Result Statement upload viewlet.
+    """
+    grok.order(2)
+    label = _(u'Result Statement')
+    title = _(u'Result Statement Scan')
+    mus = 1024 * 150
+    download_name = u'res_stat'
+
+class ResultStatementImage(Image):
+    """Renders Result Statement scan.
+    """
+    grok.name('res_stat')
+    download_name = u'res_stat'
+
+# Referee Letter
+
+class RefereeLetterDisplay(FileDisplay):
+    """Referee Letter display viewlet.
+    """
+    grok.order(1)
+    label = _(u'Referee Letter')
+    title = _(u'Referee Letter')
+    download_name = u'ref_let'
+
+class RefereeLetterSlip(RefereeLetterDisplay):
+    grok.view(ExportPDFClearanceSlipPage)
+
+class RefereeLetterUpload(FileUpload):
+    """Referee Letter upload viewlet.
+    """
+    grok.order(2)
+    label = _(u'Referee Letter')
+    title = _(u'Referee Letter Scan')
+    mus = 1024 * 150
+    download_name = u'ref_let'
+
+class RefereeLetterImage(Image):
+    """Renders Referee Letter scan.
+    """
+    grok.name('ref_let')
+    download_name = u'ref_let'
+
+# Second Referee Letter (PG Students only)
+
+class SecondRefereeLetterDisplay(FileDisplay):
+    """Second Referee Letter display viewlet.
+    """
+    grok.order(1)
+    label = _(u'Second Referee Letter')
+    title = _(u'Second Referee Letter')
+    download_name = u'ref_let2'
+
+class SecondRefereeLetterSlip(SecondRefereeLetterDisplay):
+    grok.view(ExportPDFClearanceSlipPage)
+
+class SecondRefereeLetterUpload(FileUpload):
+    """Referee Letter upload viewlet.
+    """
+    grok.order(2)
+    label = _(u'Second Referee Letter')
+    title = _(u'Second Referee Letter Scan')
+    mus = 1024 * 150
+    download_name = u'ref_let2'
+
+    @property
+    def show_viewlet(self):
+        cm = getattr(self.context,'current_mode', None)
+        if cm is not None and cm.startswith('pg'):
+            return True
+        return False
+
+class SecondRefereeLetterImage(Image):
+    """Renders Referee Letter scan.
+    """
+    grok.name('ref_let2')
+    download_name = u'ref_let2'
+
+# Third Referee Letter (PG Students only)
+
+class ThirdRefereeLetterDisplay(FileDisplay):
+    """Third Referee Letter display viewlet.
+    """
+    grok.order(1)
+    label = _(u'Third Referee Letter')
+    title = _(u'Third Referee Letter')
+    download_name = u'ref_let3'
+
+class ThirdRefereeLetterSlip(ThirdRefereeLetterDisplay):
+    grok.view(ExportPDFClearanceSlipPage)
+
+class ThirdRefereeLetterUpload(FileUpload):
+    """Referee Letter upload viewlet.
+    """
+    grok.order(2)
+    label = _(u'Third Referee Letter')
+    title = _(u'Third Referee Letter Scan')
+    mus = 1024 * 150
+    download_name = u'ref_let3'
+
+    @property
+    def show_viewlet(self):
+        cm = getattr(self.context,'current_mode', None)
+        if cm is not None and cm.startswith('pg'):
+            return True
+        return False
+
+class ThirdRefereeLetterImage(Image):
+    """Renders Referee Letter scan.
+    """
+    grok.name('ref_let3')
+    download_name = u'ref_let3'
+
+# Statutory Declaration of Good Conduct
+
+class StatutoryDeclarationDisplay(FileDisplay):
+    """Statutory Declaration of Good Conduct display viewlet.
+    """
+    grok.order(1)
+    label = _(u'Statutory Declaration of Good Conduct')
+    title = _(u'Statutory Declaration of Good Conduct')
+    download_name = u'stat_dec'
+
+class StatutoryDeclarationSlip(StatutoryDeclarationDisplay):
+    grok.view(ExportPDFClearanceSlipPage)
+
+class StatutoryDeclarationUpload(FileUpload):
+    """Statutory Declaration of Good Conduct upload viewlet.
+    """
+    grok.order(2)
+    label = _(u'Statutory Declaration of Good Conduct')
+    title = _(u'Statutory Declaration of Good Conduct Scan')
+    mus = 1024 * 150
+    download_name = u'stat_dec'
+
+class StatutoryDeclarationImage(Image):
+    """Renders Statutory Declaration of Good Conduct scan.
+    """
+    grok.name('stat_dec')
+    download_name = u'stat_dec'
+
+# Letter of Admission (PG Students only)
+
+class LetterAdmissionDisplay(FileDisplay):
+    """Letter of Admission display viewlet.
+    """
+    grok.order(1)
+    label = _(u'Letter of Admission')
+    title = _(u'Letter of Admission')
+    download_name = u'admission_let'
+
+class LetterAdmissionSlip(LetterAdmissionDisplay):
+    grok.view(ExportPDFClearanceSlipPage)
+
+class LetterAdmissionUpload(FileUpload):
+    """Letter of Admission upload viewlet.
+    """
+    grok.order(2)
+    label = _(u'Letter of Admission')
+    title = _(u'Letter of Admission Scan')
+    mus = 1024 * 150
+    download_name = u'admission_let'
+
+    @property
+    def show_viewlet(self):
+        cm = getattr(self.context,'current_mode', None)
+        if cm is not None and cm.startswith('pg'):
+            return True
+        return False
+
+class LetterAdmissionImage(Image):
+    """Renders Letter of Admission scan.
+    """
+    grok.name('admission_let')
+    download_name = u'admission_let'
Index: /main/waeup.futminna/trunk/src/waeup/futminna/testing.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/testing.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/testing.py	(revision 8619)
@@ -0,0 +1,27 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""Testing support for custom package.
+"""
+import os.path
+import waeup.futminna
+from zope.app.testing.functional import ZCMLLayer
+
+ftesting_zcml = os.path.join(
+    os.path.dirname(waeup.futminna.__file__), 'ftesting.zcml')
+FunctionalLayer = ZCMLLayer(ftesting_zcml, __name__, 'FunctionalLayer',
+                            allow_teardown=True)
Index: /main/waeup.futminna/trunk/src/waeup/futminna/tests/__init__.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/tests/__init__.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/tests/__init__.py	(revision 8619)
@@ -0,0 +1,2 @@
+# This is a package
+
Index: /main/waeup.futminna/trunk/src/waeup/futminna/tests/test_configuration.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/tests/test_configuration.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/tests/test_configuration.py	(revision 8619)
@@ -0,0 +1,76 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""Tests for configuration containers and related.
+"""
+from zope.component.interfaces import IFactory
+from zope.interface import verify
+from waeup.kofa.testing import FunctionalTestCase
+from waeup.kofa.configuration import ConfigurationContainer
+from waeup.kofa.interfaces import IConfigurationContainer
+from waeup.kofa.tests.test_configuration import (
+    ConfigurationTest, SessionConfigurationFactoryTest)
+from waeup.futminna.configuration import (
+    CustomSessionConfiguration, CustomSessionConfigurationFactory)
+from waeup.futminna.interfaces import(
+    ICustomSessionConfiguration, ICustomSessionConfigurationAdd)
+from waeup.futminna.testing import FunctionalLayer
+
+class ConfigurationTest(ConfigurationTest):
+
+    layer = FunctionalLayer
+
+    def setUp(self):
+        super(ConfigurationTest, self).setUp()
+        self.confcontainer = ConfigurationContainer()
+        self.sessionconf = CustomSessionConfiguration()
+        return
+
+    #def tearDown(self):
+    #    super(ConfigurationTest, self).tearDown()
+    #    return
+
+    def test_interfaces(self):
+        #verify.verifyClass(IConfigurationContainer, ConfigurationContainer)
+        #verify.verifyObject(IConfigurationContainer, self.confcontainer)
+        verify.verifyClass(ICustomSessionConfiguration, CustomSessionConfiguration)
+        verify.verifyObject(ICustomSessionConfiguration, self.sessionconf)
+        verify.verifyClass(ICustomSessionConfigurationAdd, CustomSessionConfiguration)
+        verify.verifyObject(ICustomSessionConfigurationAdd, self.sessionconf)
+
+class SessionConfigurationFactoryTest(SessionConfigurationFactoryTest):
+
+    layer = FunctionalLayer
+
+    def setUp(self):
+        super(SessionConfigurationFactoryTest, self).setUp()
+        self.factory = CustomSessionConfigurationFactory()
+
+    #def tearDown(self):
+    #    super(SessionConfigurationFactoryTest, self).tearDown()
+
+    def test_interfaces(self):
+        verify.verifyClass(IFactory, CustomSessionConfigurationFactory)
+        verify.verifyObject(IFactory, self.factory)
+
+    def test_factory(self):
+        obj = self.factory()
+        assert isinstance(obj, CustomSessionConfiguration)
+
+    def test_getInterfaces(self):
+        implemented_by = self.factory.getInterfaces()
+        assert implemented_by.isOrExtends(ICustomSessionConfiguration)
Index: /main/waeup.futminna/trunk/src/waeup/futminna/tests/test_datacenter.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/tests/test_datacenter.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/tests/test_datacenter.py	(revision 8619)
@@ -0,0 +1,30 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+from waeup.kofa.datacenter import DataCenter
+from waeup.kofa.testing import FunctionalTestCase
+from waeup.futminna.testing import FunctionalLayer
+
+
+class DatacenterTests(FunctionalTestCase):
+
+    layer = FunctionalLayer
+
+    def test_storage_path(self):
+        mydatacenter = DataCenter()
+        storagepath = mydatacenter.storage
+        self.assertTrue('/parts/test/datacenter' in storagepath)
Index: /main/waeup.futminna/trunk/src/waeup/futminna/tests/test_smtp.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/tests/test_smtp.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/tests/test_smtp.py	(revision 8619)
@@ -0,0 +1,129 @@
+# -*- coding: utf-8 -*-
+## $Id$
+##
+## Copyright (C) 2012 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+# Tests for email-related components
+import base64
+import logging
+import tempfile
+import shutil
+import unittest
+from StringIO import StringIO
+from zope.component import getUtility
+from zope.component.hooks import setSite
+from zope.sendmail.interfaces import IMailDelivery
+from waeup.kofa.app import University
+from waeup.kofa.interfaces import IMailService
+from waeup.kofa.smtp import (
+    encode_header_item, encode_address, encode_body, FakeSMTPDelivery,
+    send_mail)
+from waeup.kofa.testing import FunctionalTestCase
+from waeup.futminna.testing import FunctionalLayer
+
+#
+# SMTP test config
+#
+
+# Also run tests that send mail to external servers?
+#   If you enable this, please make sure the external smtp hosts and receivers
+#   do exist really and are not bothered by being spammed by a test programme.
+EXTERNAL_MAIL_TESTS = False
+
+# Maybe existing receiver of externally sent mail. If this mail account
+# exists really, it might receive mail from the tests!
+EXTERNAL_MAIL_RECEIVER = 'existing_address@waeup.org'
+
+# Names of mail deliveries to use when external mail tests are enabled.
+#   See local mail.zcml for names of available deliveries.
+EXTERNAL_DIRECT_DELIVERY = 'Direct SMTP on mail server'
+EXTERNAL_QUEUED_DELIVERY = 'Queued SMTP on mail server'
+
+#
+# end of SMTP test config
+#
+
+def external_mail_test(func):
+    if not EXTERNAL_MAIL_TESTS:
+        myself = __file__
+        if myself.endswith('.pyc'):
+            myself = myself[:-2]
+        print "WARNING: external mail tests are skipped!"
+        print "WARNING: edit %s to enable them." % myself
+        return
+    return func
+
+class ExternalMailerTests(FunctionalTestCase):
+
+    layer = FunctionalLayer
+
+    def setUp(self):
+        super(ExternalMailerTests, self).setUp()
+        # Setup a sample site for each test
+        app = University()
+        self.dc_root = tempfile.mkdtemp()
+        app['datacenter'].setStoragePath(self.dc_root)
+
+        # Prepopulate the ZODB...
+        self.getRootFolder()['app'] = app
+        self.app = self.getRootFolder()['app']
+        return
+
+    def tearDown(self):
+        super(ExternalMailerTests, self).tearDown()
+        shutil.rmtree(self.dc_root)
+        return
+
+    def test_config_default_mailer(self):
+        # The default mailer set in config is 'no mailer'.
+        self.assertEqual(
+            getattr(self.app.get('configuration', None), 'smtp_mailer'),
+            u'No email service')
+        return
+
+    @external_mail_test
+    def test_send_direct_mail(self):
+        # send mail using direct mail delivery
+        self.app['configuration'].smtp_mailer = EXTERNAL_DIRECT_DELIVERY
+        setSite(self.app)
+        result = send_mail(
+            'test program', 'no-reply@waeup.org',
+            'test mail receiver', EXTERNAL_MAIL_RECEIVER,
+            'Test Mail from WAeUP Kofa',
+            'Hi from test mailer!\n\nRegards,\nTest Programme\n'
+            )
+        import transaction
+        transaction.commit() # The mail is really sent when transactions is
+                             # committed
+        self.assertTrue('@' in result)
+        return
+
+    @external_mail_test
+    def test_send_queued_mail(self):
+        # send mail using queued mail delivery
+        self.app['configuration'].smtp_mailer = EXTERNAL_QUEUED_DELIVERY
+        setSite(self.app)
+        result = send_mail(
+            'test program', 'no-reply@waeup.org',
+            'test mail receiver', EXTERNAL_MAIL_RECEIVER,
+            'Test Mail from WAeUP Kofa',
+            'Hi from test mailer!\n\nRegards,\nTest Programme\n'
+            )
+        import transaction
+        transaction.commit() # The mail is really sent when transactions is
+                             # committed
+        self.assertTrue('@' in result)
+        return
Index: /main/waeup.futminna/trunk/src/waeup/futminna/university/__init__.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/university/__init__.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/university/__init__.py	(revision 8619)
@@ -0,0 +1,1 @@
+# Make this a package.
Index: /main/waeup.futminna/trunk/src/waeup/futminna/utils/__init__.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/utils/__init__.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/utils/__init__.py	(revision 8619)
@@ -0,0 +1,1 @@
+# Make this a package.
Index: /main/waeup.futminna/trunk/src/waeup/futminna/utils/lgas.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/utils/lgas.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/utils/lgas.py	(revision 8619)
@@ -0,0 +1,881 @@
+LGAS = (
+    ('abia_aba_north','Abia / Aba North'),
+    ('abia_aba_south','Abia / Aba South'),
+    ('abia_arochukwu','Abia / Arochukwu'),
+    ('abia_bende','Abia / Bende'),
+    ('abia_ikawuno','Abia / Ikawuno'),
+    ('abia_ikwuano','Abia / Ikwuano'),
+    ('abia_isiala-ngwa-north','Abia / Isiala-Ngwa-North'),
+    ('abia_isiala-ngwa-south','Abia / Isiala-Ngwa-South'),
+    ('abia_isikwuato','Abia / Isikwuato'),
+    ('abia_isuikwuato','Abia / Isuikwuato'),
+    ('abia_nneochi','Abia / Nneochi'),
+    ('abia_obi_ngwa','Abia / Obi Ngwa'),
+    ('abia_obioma_ngwa_','Abia / Obioma Ngwa'),
+    ('abia_obioma-ngwa','Abia / Obioma-Ngwa'),
+    ('abia_ohafia','Abia / Ohafia'),
+    ('abia_ohaozara','Abia / Ohaozara'),
+    ('abia_osisioma','Abia / Osisioma'),
+    ('abia_ugwunagbo','Abia / Ugwunagbo'),
+    ('abia_ukwa_west','Abia / Ukwa West'),
+    ('abia_ukwu_east','Abia / Ukwu East'),
+    ('abia_umuahia','Abia / Umuahia'),
+    ('abia_umuahia_south','Abia / Umuahia South'),
+    ('abia_umuahia-north','Abia / Umuahia-North'),
+    ('abuja_abaji','Abuja / Abaji'),
+    ('abuja_amac','Abuja / Amac'),
+    ('abuja_bwari','Abuja / Bwari'),
+    ('abuja_kuje','Abuja / Kuje'),
+    ('abuja_gwagwalada','Abuja / Gwagwalada'),
+    ('abuja_kwali','Abuja / Kwali'),
+    ('abuja_municipal','Abuja / Municipal'),
+    ('adamawa_demsa','Adamawa / Demsa'),
+    ('adamawa_fufore','Adamawa / Fufore'),
+    ('adamawa_ganye','Adamawa / Ganye'),
+    ('adamawa_girei','Adamawa / Girei'),
+    ('adamawa_gombi','Adamawa / Gombi'),
+    ('adamawa_guyuk','Adamawa / Guyuk'),
+    ('adamawa_hong','Adamawa / Hong'),
+    ('adamawa_jada','Adamawa / Jada'),
+    ('adamawa_jimeta','Adamawa / Jimeta'),
+    ('adamawa_lamurde','Adamawa / Lamurde'),
+    ('adamawa_madagali','Adamawa / Madagali'),
+    ('adamawa_maiha','Adamawa / Maiha'),
+    ('adamawa_mayo-belwa','Adamawa / Mayo-Belwa'),
+    ('adamawa_michika','Adamawa / Michika'),
+    ('adamawa_mubi-north','Adamawa / Mubi-North'),
+    ('adamawa_mubi-south','Adamawa / Mubi-South'),
+    ('adamawa_numan','Adamawa / Numan'),
+    ('adamawa_shelleng','Adamawa / Shelleng'),
+    ('adamawa_song','Adamawa / Song'),
+    ('adamawa_toungo','Adamawa / Toungo'),
+    ('adamawa_yola','Adamawa / Yola'),
+    ('akwa_ibom_abak','Akwa Ibom / Abak'),
+    ('akwa_ibom_eastern-obolo','Akwa Ibom / Eastern-Obolo'),
+    ('akwa_ibom_eket','Akwa Ibom / Eket'),
+    ('akwa_ibom_ekpe-atani','Akwa Ibom / Ekpe-Atani'),
+    ('akwa_ibom_esit_ekit','Akwa Ibom / Esit Ekit'),
+    ('akwa_ibom_essien-udim','Akwa Ibom / Essien-Udim'),
+    ('akwa_ibom_etim-ekpo','Akwa Ibom / Etim-Ekpo'),
+    ('akwa_ibom_etinam','Akwa Ibom / Etinam'),
+    ('akwa_ibom_ibeno','Akwa Ibom / Ibeno'),
+    ('akwa_ibom_ibesikpo-asutan','Akwa Ibom / Ibesikpo-Asutan'),
+    ('akwa_ibom_ibiono-ibom','Akwa Ibom / Ibiono-Ibom'),
+    ('akwa_ibom_ika','Akwa Ibom / Ika'),
+    ('akwa_ibom_ikono','Akwa Ibom / Ikono'),
+    ('akwa_ibom_ikot-abasi','Akwa Ibom / Ikot-Abasi'),
+    ('akwa_ibom_ikot-ekpene','Akwa Ibom / Ikot-Ekpene'),
+    ('akwa_ibom_ini','Akwa Ibom / Ini'),
+    ('akwa_ibom_itu','Akwa Ibom / Itu'),
+    ('akwa_ibom_mbo','Akwa Ibom / Mbo'),
+    ('akwa_ibom_mkpat-enin','Akwa Ibom / Mkpat-Enin'),
+    ('akwa_ibom_nsit-ibom','Akwa Ibom / Nsit-Ibom'),
+    ('akwa_ibom_nsit-ubium','Akwa Ibom / Nsit-Ubium'),
+    ('akwa_ibom_obot-akara','Akwa Ibom / Obot-Akara'),
+    ('akwa_ibom_okobo','Akwa Ibom / Okobo'),
+    ('akwa_ibom_onna','Akwa Ibom / Onna'),
+    ('akwa_ibom_oron','Akwa Ibom / Oron'),
+    ('akwa_ibom_oruk_anam','Akwa Ibom / Oruk-Anam'),
+    ('akwa_ibom_udung-uko','Akwa Ibom / Udung-Uko'),
+    ('akwa_ibom_ukanefun','Akwa Ibom / Ukanefun'),
+    ('akwa_ibom_uquo_ibeno','Akwa Ibom / Uquo Ibeno'),
+    ('akwa_ibom_urue-offong-oruko','Akwa Ibom / Urue-Offong-Oruko'),
+    ('akwa_ibom_uruan','Akwa Ibom / Uruan'),
+    ('akwa_ibom_uruk-anam','Akwa Ibom / Uruk-Anam'),
+    ('akwa_ibom_uyo','Akwa Ibom / Uyo'),
+    ('anambra_aguata','Anambra / Aguata'),
+    ('anambra_anambra-east','Anambra / Anambra-East'),
+    ('anambra_anambra-west','Anambra / Anambra-West'),
+    ('anambra_anaocha','Anambra / Anaocha'),
+    ('anambra_awka-north','Anambra / Awka-North'),
+    ('anambra_awka-south','Anambra / Awka-South'),
+    ('anambra_ayamelum','Anambra / Ayamelum'),
+    ('anambra_dunukofia','Anambra / Dunukofia'),
+    ('anambra_ekwusigo','Anambra / Ekwusigo'),
+    ('anambra_idemili','Anambra / Idemili'),
+    ('anambra_idemili-north','Anambra / Idemili-North'),
+    ('anambra_idemili-south','Anambra / Idemili-South'),
+    ('anambra_ihiala','Anambra / Ihiala'),
+    ('anambra_nibo','Anambra / Nibo'),
+    ('anambra_njikoka','Anambra / Njikoka'),
+    ('anambra_nnewi','Anambra / Nnewi'),
+    ('anambra_nnewi-north','Anambra / Nnewi-North'),
+    ('anambra_nnewi-south','Anambra / Nnewi-South'),
+    ('anambra_ogbaru','Anambra / Ogbaru'),
+    ('anambra_olumba','Anambra / Olumba'),
+    ('anambra_onitsha-north','Anambra / Onitsha-North'),
+    ('anambra_onitsha-south','Anambra / Onitsha-South'),
+    ('anambra_orumba-north','Anambra / Orumba-North'),
+    ('anambra_orumba-south','Anambra / Orumba-South'),
+    ('anambra_oti','Anambra / Oti'),
+    ('anambra_oyi','Anambra / Oyi'),
+    ('anambra_ubuluizor-ihiala','Anambra / Ubuluizor-Ihiala'),
+    ('anambra_uyi','Anambra / Uyi'),
+    ('bauchi_alkaleri','Bauchi / Alkaleri'),
+    ('bauchi_bauchi','Bauchi / Bauchi'),
+    ('bauchi_bogoro','Bauchi / Bogoro'),
+    ('bauchi_damban','Bauchi / Damban'),
+    ('bauchi_darazo','Bauchi / Darazo'),
+    ('bauchi_dass','Bauchi / Dass'),
+    ('bauchi_gamawa','Bauchi / Gamawa'),
+    ('bauchi_ganjuwa','Bauchi / Ganjuwa'),
+    ('bauchi_giade','Bauchi / Giade'),
+    ('bauchi_itas/gadau','Bauchi / Itas/Gadau'),
+    ('bauchi_jamaare','Bauchi / Jamaare'),
+    ('bauchi_katagum','Bauchi / Katagum'),
+    ('bauchi_kirfi','Bauchi / Kirfi'),
+    ('bauchi_misau','Bauchi / Misau'),
+    ('bauchi_ningi','Bauchi / Ningi'),
+    ('bauchi_shira','Bauchi / Shira'),
+    ('bauchi_tafawa-balewa','Bauchi / Tafawa-Balewa'),
+    ('bauchi_toro','Bauchi / Toro'),
+    ('bauchi_warji','Bauchi / Warji'),
+    ('bauchi_zaki','Bauchi / Zaki'),
+    ('bayelsa_brass','Bayelsa / Brass'),
+    ('bayelsa_ekeremor','Bayelsa / Ekeremor'),
+    ('bayelsa_kembe','Bayelsa / Kembe'),
+    ('bayelsa_kolokuma','Bayelsa / Kolokuma'),
+    ('bayelsa_kolokuma/opkuma','Bayelsa / Kolokuma/Opkuma'),
+    ('bayelsa_nembe','Bayelsa / Nembe'),
+    ('bayelsa_ogbia','Bayelsa / Ogbia'),
+    ('bayelsa_sagbama','Bayelsa / Sagbama'),
+    ('bayelsa_southern-ijaw','Bayelsa / Southern-Ijaw'),
+    ('bayelsa_toru-abubo','Bayelsa / Toru-Abubo'),
+    ('bayelsa_yenegoa','Bayelsa / Yenegoa'),
+    ('benue_ado','Benue / Ado'),
+    ('benue_agatu','Benue / Agatu'),
+    ('benue_apa','Benue / Apa'),
+    ('benue_buruku','Benue / Buruku'),
+    ('benue_gboko','Benue / Gboko'),
+    ('benue_guma','Benue / Guma'),
+    ('benue_gwer-east','Benue / Gwer-East'),
+    ('benue_gwer-west','Benue / Gwer-West'),
+    ('benue_katsina-ala','Benue / Katsina-Ala'),
+    ('benue_konshisha','Benue / Konshisha'),
+    ('benue_kwande','Benue / Kwande'),
+    ('benue_logo','Benue / Logo'),
+    ('benue_makurdi','Benue / Makurdi'),
+    ('benue_ogbadibo','Benue / Ogbadibo'),
+    ('benue_ohimini','Benue / Ohimini'),
+    ('benue_oju','Benue / Oju'),
+    ('benue_okpokwu','Benue / Okpokwu'),
+    ('benue_otukpo','Benue / Otukpo'),
+    ('benue_oturkpa','Benue / Oturkpa'),
+    ('benue_tarka','Benue / Tarka'),
+    ('benue_ukum','Benue / Ukum'),
+    ('benue_ushongo','Benue / Ushongo'),
+    ('benue_vandeikya','Benue / Vandeikya'),
+    ('borno_abadan','Borno / Abadan'),
+    ('borno_askira-uba','Borno / Askira-Uba'),
+    ('borno_bama','Borno / Bama'),
+    ('borno_bayo','Borno / Bayo'),
+    ('borno_biu','Borno / Biu'),
+    ('borno_chibok','Borno / Chibok'),
+    ('borno_damboa','Borno / Damboa'),
+    ('borno_dikwa','Borno / Dikwa'),
+    ('borno_gubio','Borno / Gubio'),
+    ('borno_guzamala','Borno / Guzamala'),
+    ('borno_gwoza','Borno / Gwoza'),
+    ('borno_hawul','Borno / Hawul'),
+    ('borno_jere','Borno / Jere'),
+    ('borno_kaga','Borno / Kaga'),
+    ('borno_kala/balge','Borno / Kala/Balge'),
+    ('borno_konduga','Borno / Konduga'),
+    ('borno_kukawa','Borno / Kukawa'),
+    ('borno_kwaya-kusar','Borno / Kwaya-Kusar'),
+    ('borno_mafa','Borno / Mafa'),
+    ('borno_magumeri','Borno / Magumeri'),
+    ('borno_maiduguri','Borno / Maiduguri'),
+    ('borno_marte','Borno / Marte'),
+    ('borno_mobbar','Borno / Mobbar'),
+    ('borno_mongunu','Borno / Mongunu'),
+    ('borno_ngala','Borno / Ngala'),
+    ('borno_nganzai','Borno / Nganzai'),
+    ('borno_shani','Borno / Shani'),
+    ('cross_river_abi','Cross River / Abi'),
+    ('cross_river_abuochichie','Cross River / Abuochichie'),
+    ('cross_river_akamkpa','Cross River / Akamkpa'),
+    ('cross_river_akpabuyo','Cross River / Akpabuyo'),
+    ('cross_river_bakassi','Cross River / Bakassi'),
+    ('cross_river_bekwara','Cross River / Bekwara'),
+    ('cross_river_biasi','Cross River / Biasi'),
+    ('cross_river_boki','Cross River / Boki'),
+    ('cross_river_calabar-municipal','Cross River / Calabar-Municipal'),
+    ('cross_river_calabar-south','Cross River / Calabar-South'),
+    ('cross_river_etunk','Cross River / Etunk'),
+    ('cross_river_ikom','Cross River / Ikom'),
+    ('cross_river_obanliku','Cross River / Obanliku'),
+    ('cross_river_obubra','Cross River / Obubra'),
+    ('cross_river_obudu','Cross River / Obudu'),
+    ('cross_river_odukpani','Cross River / Odukpani'),
+    ('cross_river_ogoja','Cross River / Ogoja'),
+    ('cross_river_ugep-north','Cross River / Ugep-North'),
+    ('cross_river_yakurr','Cross River / Yakurr'),
+    ('cross_river_yala','Cross River / Yala'),
+    ('delta_aniocha-north','Delta / Aniocha-North'),
+    ('delta_aniocha-south','Delta / Aniocha-South'),
+    ('delta_bomadi','Delta / Bomadi'),
+    ('delta_burutu','Delta / Burutu'),
+    ('delta_effurun','Delta / Effurun'),
+    ('delta_ethiope-east','Delta / Ethiope-East'),
+    ('delta_ethiope-west','Delta / Ethiope-West'),
+    ('delta_idu','Delta / Idu'),
+    ('delta_ika-ne','Delta / Ika-Ne'),
+    ('delta_ika-north-east','Delta / Ika-North-East'),
+    ('delta_ika-south','Delta / Ika-South'),
+    ('delta_idemili-south','Delta / Idemili-South'),
+    ('delta_isoko-north','Delta / Isoko-North'),
+    ('delta_isoko-south','Delta / Isoko-South'),
+    ('delta_ndokwa-east','Delta / Ndokwa-East'),
+    ('delta_ndokwa-north','Delta / Ndokwa-North'),
+    ('delta_ndokwa-south','Delta / Ndokwa-South'),
+    ('delta_ndokwa-west','Delta / Ndokwa-West'),
+    ('delta_okpe','Delta / Okpe'),
+    ('delta_okwuani','Delta / Okwuani'),
+    ('delta_oleh','Delta / Oleh'),
+    ('delta_oshielli-north','Delta / Oshielli-North'),
+    ('delta_oshimili','Delta / Oshimili'),
+    ('delta_oshimili-north','Delta / Oshimili-North'),
+    ('delta_oshimili-south','Delta / Oshimili-South'),
+    ('delta_osimili','Delta / Osimili'),
+    ('delta_osimili-north','Delta / Osimili-North'),
+    ('delta_osimili-south','Delta / Osimili-South'),
+    ('delta_patani','Delta / Patani'),
+    ('delta_sapele','Delta / Sapele'),
+    ('delta_udokwa','Delta / Udokwa'),
+    ('delta_udu','Delta / Udu'),
+    ('delta_ughelli-north','Delta / Ughelli-North'),
+    ('delta_ughelli-south','Delta / Ughelli-South'),
+    ('delta_ukwuani','Delta / Ukwuani'),
+    ('delta_urwie','Delta / Urwie'),
+    ('delta_uvie','Delta / Uvie'),
+    ('delta_uvwei','Delta / Uvwei'),
+    ('delta_uvwie','Delta / Uvwie'),
+    ('delta_warri-central','Delta / Warri-Central'),
+    ('delta_warri-north','Delta / Warri-North'),
+    ('delta_warri-south','Delta / Warri-South'),
+    ('delta_warri-south-west','Delta / Warri-South-West'),
+    ('ebonyi_abakaliki','Ebonyi / Abakaliki'),
+    ('ebonyi_afikpo-north','Ebonyi / Afikpo-North'),
+    ('ebonyi_afikpo-south','Ebonyi / Afikpo-South'),
+    ('ebonyi_bomadim','Ebonyi / Bomadim'),
+    ('ebonyi_ebonyi','Ebonyi / Ebonyi'),
+    ('ebonyi_ezza-north','Ebonyi / Ezza-North'),
+    ('ebonyi_ezza-south','Ebonyi / Ezza-South'),
+    ('ebonyi_ikwo','Ebonyi / Ikwo'),
+    ('ebonyi_ishielu','Ebonyi / Ishielu'),
+    ('ebonyi_ivo','Ebonyi / Ivo'),
+    ('ebonyi_izzi','Ebonyi / Izzi'),
+    ('ebonyi_obaukwu','Ebonyi / Obaukwu'),
+    ('ebonyi_ohakwu','Ebonyi / Ohakwu'),
+    ('ebonyi_ohaozara','Ebonyi / Ohaozara'),
+    ('ebonyi_onicha','Ebonyi / Onicha'),
+    ('ebonyi_ukaba','Ebonyi / Ukaba'),
+    ('edo_afokpella','Edo / Afokpella'),
+    ('edo_afuze','Edo / Afuze'),
+    ('edo_agbazilo','Edo / Agbazilo'),
+    ('edo_akoko-edo','Edo / Akoko-Edo'),
+    ('edo_egor','Edo / Egor'),
+    ('edo_esan-central','Edo / Esan-Central'),
+    ('edo_esan-north-east','Edo / Esan-North-East'),
+    ('edo_esan-north-west','Edo / Esan-North-West'),
+    ('edo_esan-south-east','Edo / Esan-South-East'),
+    ('edo_esan-west','Edo / Esan-West'),
+    ('edo_etsako-central','Edo / Etsako-Central'),
+    ('edo_etsako-east','Edo / Etsako-East'),
+    ('edo_etsako-west','Edo / Etsako-West'),
+    ('edo_igueben','Edo / Igueben'),
+    ('edo_ikpoba-okha','Edo / Ikpoba-Okha'),
+    ('edo_ohunmwode','Edo / Ohunmwode'),
+    ('edo_ologbo','Edo / Ologbo'),
+    ('edo_opoji_irrua','Edo / Opoji Irrua'),
+    ('edo_oredo','Edo / Oredo'),
+    ('edo_orhionmwon','Edo / Orhionmwon'),
+    ('edo_ovia-north-east','Edo / Ovia-North-East'),
+    ('edo_ovia-south-west','Edo / Ovia-South-West'),
+    ('edo_owan-east','Edo / Owan-East'),
+    ('edo_owan-west','Edo / Owan-West'),
+    ('edo_uhunmwonde','Edo / Uhunmwonde'),
+    ('ekiti_ado-ekiti','Ekiti / Ado-Ekiti'),
+    ('ekiti_aiyekire','Ekiti / Aiyekire'),
+    ('ekiti_efon','Ekiti / Efon'),
+    ('ekiti_ekiti-east','Ekiti / Ekiti-East'),
+    ('ekiti_ekiti-south-west','Ekiti / Ekiti-South-West'),
+    ('ekiti_ekiti-west','Ekiti / Ekiti-West'),
+    ('ekiti_emure/ise/orun','Ekiti / Emure/Ise/Orun'),
+    ('ekiti_gbonyin','Ekiti / Gbonyin'),
+    ('ekiti_ido-osi','Ekiti / Ido-Osi'),
+    ('ekiti_ijero','Ekiti / Ijero'),
+    ('ekiti_ikare','Ekiti / Ikare'),
+    ('ekiti_ikere','Ekiti / Ikere'),
+    ('ekiti_ikole','Ekiti / Ikole'),
+    ('ekiti_ilejemeje','Ekiti / Ilejemeje'),
+    ('ekiti_irepodun/ifelodun','Ekiti / Irepodun/Ifelodun'),
+    ('ekiti_ise-orun','Ekiti / Ise-Orun'),
+    ('ekiti_moba','Ekiti / Moba'),
+    ('ekiti_oye','Ekiti / Oye'),
+    ('enugu_aninri','Enugu / Aninri'),
+    ('enugu_awgu','Enugu / Awgu'),
+    ('enugu_enugu-east','Enugu / Enugu-East'),
+    ('enugu_enugu-north','Enugu / Enugu-North'),
+    ('enugu_enugu-south','Enugu / Enugu-South'),
+    ('enugu_ezeagu','Enugu / Ezeagu'),
+    ('enugu_igbo-etiti','Enugu / Igbo-Etiti'),
+    ('enugu_igbo-eze-north','Enugu / Igbo-Eze-North'),
+    ('enugu_igbo-eze-south','Enugu / Igbo-Eze-South'),
+    ('enugu_isi-uzo','Enugu / Isi-Uzo'),
+    ('enugu_nkanu-east','Enugu / Nkanu-East'),
+    ('enugu_nkanu-west','Enugu / Nkanu-West'),
+    ('enugu_nsukka','Enugu / Nsukka'),
+    ('enugu_nukanu_east','Enugu / Nukanu East'),
+    ('enugu_oji-river','Enugu / Oji-River'),
+    ('enugu_udenu','Enugu / Udenu'),
+    ('enugu_udi','Enugu / Udi'),
+    ('enugu_uzo-uwani','Enugu / Uzo-Uwani'),
+    ('gombe_akko','Gombe / Akko'),
+    ('gombe_balanga','Gombe / Balanga'),
+    ('gombe_billiri','Gombe / Billiri'),
+    ('gombe_dukku','Gombe / Dukku'),
+    ('gombe_funakaye','Gombe / Funakaye'),
+    ('gombe_gombe','Gombe / Gombe'),
+    ('gombe_kaltungo','Gombe / Kaltungo'),
+    ('gombe_kwami','Gombe / Kwami'),
+    ('gombe_nafada/bajoga','Gombe / Nafada/Bajoga'),
+    ('gombe_shomgom','Gombe / Shomgom'),
+    ('gombe_yamaltu/deba','Gombe / Yamaltu/Deba'),
+    ('imo_aboh-mbaise','Imo / Aboh-Mbaise'),
+    ('imo_ahiazu-mbaise','Imo / Ahiazu-Mbaise'),
+    ('imo_dral-esat','Imo / Dral-Esat'),
+    ('imo_ehime-mbano','Imo / Ehime-Mbano'),
+    ('imo_ezinihitte','Imo / Ezinihitte'),
+    ('imo_ideato','Imo / Ideato'),
+    ('imo_ideato-north','Imo / Ideato-North'),
+    ('imo_ideato-south','Imo / Ideato-South'),
+    ('imo_ihitte/uboma','Imo / Ihitte/Uboma'),
+    ('imo_ikeduru','Imo / Ikeduru'),
+    ('imo_isiala-mbano','Imo / Isiala-Mbano'),
+    ('imo_isu','Imo / Isu'),
+    ('imo_mbaitoli','Imo / Mbaitoli'),
+    ('imo_mbano','Imo / Mbano'),
+    ('imo_ngor-okpala','Imo / Ngor-Okpala'),
+    ('imo_njaba','Imo / Njaba'),
+    ('imo_nkwerre','Imo / Nkwerre'),
+    ('imo_nwangele','Imo / Nwangele'),
+    ('imo_obowo','Imo / Obowo'),
+    ('imo_oguta','Imo / Oguta'),
+    ('imo_ohaji-egbema','Imo / Ohaji-Egbema'),
+    ('imo_okigwe','Imo / Okigwe'),
+    ('imo_onuimo','Imo / Onuimo'),
+    ('imo_orlu','Imo / Orlu'),
+    ('imo_orsu','Imo / Orsu'),
+    ('imo_oru-east','Imo / Oru-East'),
+    ('imo_oru-west','Imo / Oru-West'),
+    ('imo_owerri-municipal','Imo / Owerri-Municipal'),
+    ('imo_owerri-north','Imo / Owerri-North'),
+    ('imo_owerri-west','Imo / Owerri-West'),
+    ('imo_ugiri-ike_ikeduru','Imo / Ugiri-Ike Ikeduru'),
+    ('imo_ugiri-ikedikeduru','Imo / Ugiri-Ikedikeduru'),
+    ('imo_unbano','Imo / Unbano'),
+    ('imo_zinihitte','Imo / Zinihitte'),
+    ('jigawa_auyo','Jigawa / Auyo'),
+    ('jigawa_babura','Jigawa / Babura'),
+    ('jigawa_biriniwa','Jigawa / Biriniwa'),
+    ('jigawa_birnin-kudu','Jigawa / Birnin-Kudu'),
+    ('jigawa_bosuwa','Jigawa / Bosuwa'),
+    ('jigawa_buji','Jigawa / Buji'),
+    ('jigawa_dutse','Jigawa / Dutse'),
+    ('jigawa_gagarawa','Jigawa / Gagarawa'),
+    ('jigawa_garki','Jigawa / Garki'),
+    ('jigawa_gumel','Jigawa / Gumel'),
+    ('jigawa_guri','Jigawa / Guri'),
+    ('jigawa_gwaram','Jigawa / Gwaram'),
+    ('jigawa_gwiwa','Jigawa / Gwiwa'),
+    ('jigawa_hadejia','Jigawa / Hadejia'),
+    ('jigawa_jahun','Jigawa / Jahun'),
+    ('jigawa_kafin-hausa','Jigawa / Kafin-Hausa'),
+    ('jigawa_kaugama','Jigawa / Kaugama'),
+    ('jigawa_kazaure','Jigawa / Kazaure'),
+    ('jigawa_kirkasamma','Jigawa / Kirkasamma'),
+    ('jigawa_maigatari','Jigawa / Maigatari'),
+    ('jigawa_malam-maduri','Jigawa / Malam-Maduri'),
+    ('jigawa_miga','Jigawa / Miga'),
+    ('jigawa_ringim','Jigawa / Ringim'),
+    ('jigawa_roni','Jigawa / Roni'),
+    ('jigawa_sule-tankarkar','Jigawa / Sule-Tankarkar'),
+    ('jigawa_taura','Jigawa / Taura'),
+    ('jigawa_yankwashi','Jigawa / Yankwashi'),
+    ('kaduna_birnin-gwari','Kaduna / Birnin-Gwari'),
+    ('kaduna_chikun','Kaduna / Chikun'),
+    ('kaduna_giwa','Kaduna / Giwa'),
+    ('kaduna_gwagwada','Kaduna / Gwagwada'),
+    ('kaduna_igabi','Kaduna / Igabi'),
+    ('kaduna_ikara','Kaduna / Ikara'),
+    ('kaduna_jaba','Kaduna / Jaba'),
+    ('kaduna_jemaa','Kaduna / Jemaa'),
+    ('kaduna_kachia','Kaduna / Kachia'),
+    ('kaduna_kaduna-north','Kaduna / Kaduna-North'),
+    ('kaduna_kagarko','Kaduna / Kagarko'),
+    ('kaduna_kajuru','Kaduna / Kajuru'),
+    ('kaduna_kaura','Kaduna / Kaura'),
+    ('kaduna_kauru','Kaduna / Kauru'),
+    ('kaduna_koka/kawo','Kaduna / Koka/Kawo'),
+    ('kaduna_kubah','Kaduna / Kubah'),
+    ('kaduna_kudan','Kaduna / Kudan'),
+    ('kaduna_lere','Kaduna / Lere'),
+    ('kaduna_makarfi','Kaduna / Makarfi'),
+    ('kaduna_sabon-gari','Kaduna / Sabon-Gari'),
+    ('kaduna_sanga','Kaduna / Sanga'),
+    ('kaduna_soba','Kaduna / Soba'),
+    ('kaduna_tudun-wada/makera','Kaduna / Tudun-Wada/Makera'),
+    ('kaduna_zango-kataf','Kaduna / Zango-Kataf'),
+    ('kaduna_zaria','Kaduna / Zaria'),
+    ('kano_ajingi','Kano / Ajingi'),
+    ('kano_albasu','Kano / Albasu'),
+    ('kano_bagwai','Kano / Bagwai'),
+    ('kano_bebeji','Kano / Bebeji'),
+    ('kano_bichi','Kano / Bichi'),
+    ('kano_bunkure','Kano / Bunkure'),
+    ('kano_dala','Kano / Dala'),
+    ('kano_dambatta','Kano / Dambatta'),
+    ('kano_dawakin-kudu','Kano / Dawakin-Kudu'),
+    ('kano_dawakin-tofa','Kano / Dawakin-Tofa'),
+    ('kano_doguwa','Kano / Doguwa'),
+    ('kano_fagge','Kano / Fagge'),
+    ('kano_gabasawa','Kano / Gabasawa'),
+    ('kano_garko','Kano / Garko'),
+    ('kano_garun-mallam','Kano / Garun-Mallam'),
+    ('kano_gaya','Kano / Gaya'),
+    ('kano_gezawa','Kano / Gezawa'),
+    ('kano_gwale','Kano / Gwale'),
+    ('kano_gwarzo','Kano / Gwarzo'),
+    ('kano_kano-municipal','Kano / Kano-Municipal'),
+    ('kano_karaye','Kano / Karaye'),
+    ('kano_kibiya','Kano / Kibiya'),
+    ('kano_kiru','Kano / Kiru'),
+    ('kano_kumbotso','Kano / Kumbotso'),
+    ('kano_kunchi','Kano / Kunchi'),
+    ('kano_kura','Kano / Kura'),
+    ('kano_madobi','Kano / Madobi'),
+    ('kano_makoda','Kano / Makoda'),
+    ('kano_minjibir','Kano / Minjibir'),
+    ('kano_nasarawa','Kano / Nasarawa'),
+    ('kano_rano','Kano / Rano'),
+    ('kano_rimin-gado','Kano / Rimin-Gado'),
+    ('kano_rogo','Kano / Rogo'),
+    ('kano_shanono','Kano / Shanono'),
+    ('kano_sumaila','Kano / Sumaila'),
+    ('kano_takai','Kano / Takai'),
+    ('kano_tarauni','Kano / Tarauni'),
+    ('kano_tofa','Kano / Tofa'),
+    ('kano_tsanyawa','Kano / Tsanyawa'),
+    ('kano_tudun-wada','Kano / Tudun-Wada'),
+    ('kano_ungogo','Kano / Ungogo'),
+    ('kano_warawa','Kano / Warawa'),
+    ('kano_wudil','Kano / Wudil'),
+    ('katsina_bakori','Katsina / Bakori'),
+    ('katsina_batagarawa','Katsina / Batagarawa'),
+    ('katsina_batsari','Katsina / Batsari'),
+    ('katsina_baure','Katsina / Baure'),
+    ('katsina_bindawa','Katsina / Bindawa'),
+    ('katsina_charanchi','Katsina / Charanchi'),
+    ('katsina_dan-musa','Katsina / Dan-Musa'),
+    ('katsina_dandume','Katsina / Dandume'),
+    ('katsina_danji','Katsina / Danji'),
+    ('katsina_daura','Katsina / Daura'),
+    ('katsina_dutsi','Katsina / Dutsi'),
+    ('katsina_dutsinma','Katsina / Dutsinma'),
+    ('katsina_faskari','Katsina / Faskari'),
+    ('katsina_funtua','Katsina / Funtua'),
+    ('katsina_ingawa','Katsina / Ingawa'),
+    ('katsina_jibia','Katsina / Jibia'),
+    ('katsina_kafur','Katsina / Kafur'),
+    ('katsina_kaita','Katsina / Kaita'),
+    ('katsina_kankara','Katsina / Kankara'),
+    ('katsina_kankia','Katsina / Kankia'),
+    ('katsina_katsina','Katsina / Katsina'),
+    ('katsina_kurfi','Katsina / Kurfi'),
+    ('katsina_kusada','Katsina / Kusada'),
+    ('katsina_mai-adua','Katsina / Mai-Adua'),
+    ('katsina_malumfashi','Katsina / Malumfashi'),
+    ('katsina_mani','Katsina / Mani'),
+    ('katsina_mashi','Katsina / Mashi'),
+    ('katsina_matazu','Katsina / Matazu'),
+    ('katsina_musawa','Katsina / Musawa'),
+    ('katsina_rimi','Katsina / Rimi'),
+    ('katsina_sabuwa','Katsina / Sabuwa'),
+    ('katsina_safana','Katsina / Safana'),
+    ('katsina_sandamu','Katsina / Sandamu'),
+    ('katsina_zango','Katsina / Zango'),
+    ('kebbi_aleiro','Kebbi / Aleiro'),
+    ('kebbi_arewa-dandi','Kebbi / Arewa-Dandi'),
+    ('kebbi_argungu','Kebbi / Argungu'),
+    ('kebbi_augie','Kebbi / Augie'),
+    ('kebbi_bagudo','Kebbi / Bagudo'),
+    ('kebbi_birnin-kebbi','Kebbi / Birnin-Kebbi'),
+    ('kebbi_bumza','Kebbi / Bumza'),
+    ('kebbi_dandi','Kebbi / Dandi'),
+    ('kebbi_danko','Kebbi / Danko'),
+    ('kebbi_fakai','Kebbi / Fakai'),
+    ('kebbi_gwandu','Kebbi / Gwandu'),
+    ('kebbi_jega','Kebbi / Jega'),
+    ('kebbi_kalgo','Kebbi / Kalgo'),
+    ('kebbi_koko-besse','Kebbi / Koko-Besse'),
+    ('kebbi_maiyama','Kebbi / Maiyama'),
+    ('kebbi_ngaski','Kebbi / Ngaski'),
+    ('kebbi_sakaba','Kebbi / Sakaba'),
+    ('kebbi_shanga','Kebbi / Shanga'),
+    ('kebbi_suru','Kebbi / Suru'),
+    ('kebbi_wasagu','Kebbi / Wasagu'),
+    ('kebbi_yauri','Kebbi / Yauri'),
+    ('kebbi_zuru','Kebbi / Zuru'),
+    ('kogi_adavi','Kogi / Adavi'),
+    ('kogi_ajaokuta','Kogi / Ajaokuta'),
+    ('kogi_ankpa','Kogi / Ankpa'),
+    ('kogi_bassa','Kogi / Bassa'),
+    ('kogi_dekina','Kogi / Dekina'),
+    ('kogi_ibaji','Kogi / Ibaji'),
+    ('kogi_idah','Kogi / Idah'),
+    ('kogi_igalamela','Kogi / Igalamela'),
+    ('kogi_ijumu','Kogi / Ijumu'),
+    ('kogi_ikoyi-ijumu','Kogi / Ikoyi-Ijumu'),
+    ('kogi_kabba/bunu','Kogi / Kabba/Bunu'),
+    ('kogi_kogi','Kogi / Kogi'),
+    ('kogi_lokoja','Kogi / Lokoja'),
+    ('kogi_mopa-muro','Kogi / Mopa-Muro'),
+    ('kogi_obaji','Kogi / Obaji'),
+    ('kogi_ofu','Kogi / Ofu'),
+    ('kogi_ogori/magongo','Kogi / Ogori/Magongo'),
+    ('kogi_okehi','Kogi / Okehi'),
+    ('kogi_okene','Kogi / Okene'),
+    ('kogi_olamaboro','Kogi / Olamaboro'),
+    ('kogi_omala','Kogi / Omala'),
+    ('kogi_oru','Kogi / Oru'),
+    ('kogi_oyi','Kogi / Oyi'),
+    ('kogi_yagba-east','Kogi / Yagba-East'),
+    ('kogi_yagba-west','Kogi / Yagba-West'),
+    ('kwara_asa','Kwara / Asa'),
+    ('kwara_baruten','Kwara / Baruten'),
+    ('kwara_edu','Kwara / Edu'),
+    ('kwara_ekiti','Kwara / Ekiti'),
+    ('kwara_ilorin-east','Kwara / Ilorin-East'),
+    ('kwara_ilorin-south','Kwara / Ilorin-South'),
+    ('kwara_ilorin-west','Kwara / Ilorin-West'),
+    ('kwara_isin','Kwara / Isin'),
+    ('kwara_kaiama','Kwara / Kaiama'),
+    ('kwara_moro','Kwara / Moro'),
+    ('kwara_offa','Kwara / Offa'),
+    ('kwara_oke-ero','Kwara / Oke-Ero'),
+    ('kwara_oyun','Kwara / Oyun'),
+    ('kwara_pategi','Kwara / Pategi'),
+    ('kwara_ifelodun','Kwara / Ifelodun'),
+    ('kwara_irepodun','Kwara / Irepodun'),
+    ('lagos_agege','Lagos / Agege'),
+    ('lagos_ajeromi-ifelodun','Lagos / Ajeromi-Ifelodun'),
+    ('lagos_alimosho','Lagos / Alimosho'),
+    ('lagos_amuwo-odofin','Lagos / Amuwo-Odofin'),
+    ('lagos_apapa','Lagos / Apapa'),
+    ('lagos_badagry','Lagos / Badagry'),
+    ('lagos_epe','Lagos / Epe'),
+    ('lagos_eti-osa','Lagos / Eti-Osa'),
+    ('lagos_ibeju-lekki','Lagos / Ibeju-Lekki'),
+    ('lagos_ifako-ijaiye','Lagos / Ifako-Ijaiye'),
+    ('lagos_ikeja','Lagos / Ikeja'),
+    ('lagos_ikorodu','Lagos / Ikorodu'),
+    ('lagos_island','Lagos / Island'),
+    ('lagos_kosofe','Lagos / Kosofe'),
+    ('lagos_lagos-island','Lagos / Lagos-Island'),
+    ('lagos_lagos-mainland','Lagos / Lagos-Mainland'),
+    ('lagos_mushin','Lagos / Mushin'),
+    ('lagos_ojo','Lagos / Ojo'),
+    ('lagos_oshodi-isolo','Lagos / Oshodi-Isolo'),
+    ('lagos_shomolu','Lagos / Shomolu'),
+    ('lagos_somolu','Lagos / Somolu'),
+    ('lagos_suru-lere','Lagos / Suru-Lere'),
+    ('nassarawa_akwanga','Nassarawa / Akwanga'),
+    ('nassarawa_awe','Nassarawa / Awe'),
+    ('nassarawa_doma','Nassarawa / Doma'),
+    ('nassarawa_karu','Nassarawa / Karu'),
+    ('nassarawa_keana','Nassarawa / Keana'),
+    ('nassarawa_keffi','Nassarawa / Keffi'),
+    ('nassarawa_kokona','Nassarawa / Kokona'),
+    ('nassarawa_lafia','Nassarawa / Lafia'),
+    ('nassarawa_nassawara','Nassarawa / Nassawara'),
+    ('nassarawa_nassarawa','Nassarawa / Nassarawa'),
+    ('nassarawa_nassawara_eggon','Nassarawa / Nassawara Eggon'),
+    ('nassarawa_obi','Nassarawa / Obi'),
+    ('nassarawa_toto','Nassarawa / Toto'),
+    ('nassarawa_wambu','Nassarawa / Wambu'),
+    ('niger_agaie','Niger / Agaie'),
+    ('niger_agwara','Niger / Agwara'),
+    ('niger_bida','Niger / Bida'),
+    ('niger_borgu','Niger / Borgu'),
+    ('niger_bosso','Niger / Bosso'),
+    ('niger_chanchaga','Niger / Chanchaga'),
+    ('niger_edati','Niger / Edati'),
+    ('niger_gbako','Niger / Gbako'),
+    ('niger_gurara','Niger / Gurara'),
+    ('niger_katcha','Niger / Katcha'),
+    ('niger_kontagora','Niger / Kontagora'),
+    ('niger_lapai','Niger / Lapai'),
+    ('niger_lavun','Niger / Lavun'),
+    ('niger_magama','Niger / Magama'),
+    ('niger_mariga','Niger / Mariga'),
+    ('niger_mashegu','Niger / Mashegu'),
+    ('niger_mokwa','Niger / Mokwa'),
+    ('niger_muya','Niger / Muya'),
+    ('niger_paikoro','Niger / Paikoro'),
+    ('niger_rafi','Niger / Rafi'),
+    ('niger_rijau','Niger / Rijau'),
+    ('niger_shiroro','Niger / Shiroro'),
+    ('niger_suleja','Niger / Suleja'),
+    ('niger_tafa','Niger / Tafa'),
+    ('niger_wushishi','Niger / Wushishi'),
+    ('ogun_abeokuta-north','Ogun / Abeokuta-North'),
+    ('ogun_abeokuta-south','Ogun / Abeokuta-South'),
+    ('ogun_ado-odo/ota','Ogun / Ado-Odo/Ota'),
+    ('ogun_adoodo-ota','Ogun / Adoodo-Ota'),
+    ('ogun_ewekoro','Ogun / Ewekoro'),
+    ('ogun_idarapo','Ogun / Idarapo'),
+    ('ogun_iffo-otta','Ogun / Iffo-Otta'),
+    ('ogun_ifo','Ogun / Ifo'),
+    ('ogun_igbado-north','Ogun / Igbado-North'),
+    ('ogun_igbado-south','Ogun / Igbado-South'),
+    ('ogun_ijebu-east','Ogun / Ijebu-East'),
+    ('ogun_ijebu-north','Ogun / Ijebu-North'),
+    ('ogun_ijebu-north-east','Ogun / Ijebu-North-East'),
+    ('ogun_ijebu-ode','Ogun / Ijebu-Ode'),
+    ('ogun_ikenne','Ogun / Ikenne'),
+    ('ogun_ilishan_remo','Ogun / Ilishan Remo'),
+    ('ogun_ilugun-alaro','Ogun / Ilugun-Alaro'),
+    ('ogun_imeko-afon','Ogun / Imeko-Afon'),
+    ('ogun_ipokia','Ogun / Ipokia'),
+    ('ogun_lgayekpe_','Ogun / Lgayekpe'),
+    ('ogun_obafemi-owode','Ogun / Obafemi-Owode'),
+    ('ogun_odedah','Ogun / Odedah'),
+    ('ogun_odogbolu','Ogun / Odogbolu'),
+    ('ogun_ogun-waterside','Ogun / Ogun-Waterside'),
+    ('ogun_remo-north','Ogun / Remo-North'),
+    ('ogun_sagamu','Ogun / Sagamu'),
+    ('ogun_shagamu','Ogun / Shagamu'),
+    ('ogun_yewa','Ogun / Yewa'),
+    ('ondo_akoko','Ondo / Akoko'),
+    ('ondo_akoko-north','Ondo / Akoko-North'),
+    ('ondo_akoko-north-east','Ondo / Akoko-North-East'),
+    ('ondo_akoko-north-west','Ondo / Akoko-North-West'),
+    ('ondo_akoko-south','Ondo / Akoko-South'),
+    ('ondo_akoko-south-east','Ondo / Akoko-South-East'),
+    ('ondo_akoko-south-west','Ondo / Akoko-South-West'),
+    ('ondo_akure','Ondo / Akure'),
+    ('ondo_akure-north','Ondo / Akure-North'),
+    ('ondo_akure-south','Ondo / Akure-South'),
+    ('ondo_ese-odo','Ondo / Ese-Odo'),
+    ('ondo_idanre','Ondo / Idanre'),
+    ('ondo_ifedore','Ondo / Ifedore'),
+    ('ondo_ikale','Ondo / Ikale'),
+    ('ondo_ilaje','Ondo / Ilaje'),
+    ('ondo_ilaje-west','Ondo / Ilaje-West'),
+    ('ondo_ile-oluji-okeigbo','Ondo / Ile-Oluji-Okeigbo'),
+    ('ondo_irele','Ondo / Irele'),
+    ('ondo_odigbo','Ondo / Odigbo'),
+    ('ondo_okiti-pupa','Ondo / Okiti-Pupa'),
+    ('ondo_ondo','Ondo / Ondo'),
+    ('ondo_ondo-east','Ondo / Ondo-East'),
+    ('ondo_ondo-west','Ondo / Ondo-West'),
+    ('ondo_ose','Ondo / Ose'),
+    ('ondo_owo','Ondo / Owo'),
+    ('osun_atakumosa','Osun / Atakumosa'),
+    ('osun_atakumosa_east','Osun / Atakumosa East'),
+    ('osun_ayeda-ade','Osun / Ayeda-Ade'),
+    ('osun_ayedire','Osun / Ayedire'),
+    ('osun_boluwaduro','Osun / Boluwaduro'),
+    ('osun_boripe','Osun / Boripe'),
+    ('osun_ede','Osun / Ede'),
+    ('osun_ede-north','Osun / Ede North'),
+    ('osun_egbedore','Osun / Egbedore'),
+    ('osun_ejigbo','Osun / Ejigbo'),
+    ('osun_ife','Osun / Ife'),
+    ('osun_ife-north','Osun / Ife-North'),
+    ('osun_ife-south','Osun / Ife-South'),
+    ('osun_ife-central','Osun / Ife-Central'),
+    ('osun_ife-east','Osun / Ife-East'),
+    ('osun_ifelodun','Osun / Ifelodun'),
+    ('osun_ila','Osun / Ila'),
+    ('osun_ilesa-east','Osun / Ilesa-East'),
+    ('osun_ilesa-west','Osun / Ilesa-West'),
+    ('osun_ilesha','Osun / Ilesha'),
+    ('osun_ilesha_west','Osun / Ilesha West'),
+    ('osun_irepodun','Osun / Irepodun'),
+    ('osun_irewole','Osun / Irewole'),
+    ('osun_isokan','Osun / Isokan'),
+    ('osun_iwo','Osun / Iwo'),
+    ('osun_obokun','Osun / Obokun'),
+    ('osun_odo-otin','Osun / Odo-Otin'),
+    ('osun_ola_oluwa','Osun / Ola Oluwa'),
+    ('osun_olorunda','Osun / Olorunda'),
+    ('osun_ori-ade','Osun / Ori-Ade'),
+    ('osun_orolu','Osun / Orolu'),
+    ('osun_osogbo','Osun / Osogbo'),
+    ('oyo_afijio','Oyo / Afijio'),
+    ('oyo_akinyele','Oyo / Akinyele'),
+    ('oyo_atiba','Oyo / Atiba'),
+    ('oyo_atigbo','Oyo / Atigbo'),
+    ('oyo_egbeda','Oyo / Egbeda'),
+    ('oyo_ibadan-central','Oyo / Ibadan-Central'),
+    ('oyo_ibadan-north-east','Oyo / Ibadan-North-East'),
+    ('oyo_ibadan-north-west','Oyo / Ibadan-North-West'),
+    ('oyo_ibadan-south-east','Oyo / Ibadan-South-East'),
+    ('oyo_ibadan-south-west','Oyo / Ibadan-South-West'),
+    ('oyo_ibarapa-central','Oyo / Ibarapa-Central'),
+    ('oyo_ibarapa-east','Oyo / Ibarapa-East'),
+    ('oyo_ibarapa-north','Oyo / Ibarapa-North'),
+    ('oyo_ido','Oyo / Ido'),
+    ('oyo_ifedayo','Oyo / Ifedayo'),
+    ('oyo_ifeloju','Oyo / Ifeloju'),
+    ('oyo_irepo','Oyo / Irepo'),
+    ('oyo_iseyin','Oyo / Iseyin'),
+    ('oyo_itseiwaju','Oyo / Itseiwaju'),
+    ('oyo_iwajowa','Oyo / Iwajowa'),
+    ('oyo_kajola','Oyo / Kajola'),
+    ('oyo_lagelu','Oyo / Lagelu'),
+    ('oyo_odo-oluwa','Oyo / Odo-Oluwa'),
+    ('oyo_ogbomosho-north','Oyo / Ogbomosho-North'),
+    ('oyo_ogbomosho-south','Oyo / Ogbomosho-South'),
+    ('oyo_olorunsogo','Oyo / Olorunsogo'),
+    ('oyo_oluyole','Oyo / Oluyole'),
+    ('oyo_ona-ara','Oyo / Ona-Ara'),
+    ('oyo_orelope','Oyo / Orelope'),
+    ('oyo_ori-ire','Oyo / Ori-Ire'),
+    ('oyo_oyo-west','Oyo / Oyo-West'),
+    ('oyo_saki-east','Oyo / Saki-East'),
+    ('oyo_saki-west','Oyo / Saki-West'),
+    ('oyo_surulere','Oyo / Surulere'),
+    ('plateau_barkin-ladi','Plateau / Barkin-Ladi'),
+    ('plateau_bassa','Plateau / Bassa'),
+    ('plateau_bokkos','Plateau / Bokkos'),
+    ('plateau_jos-east','Plateau / Jos-East'),
+    ('plateau_jos-north','Plateau / Jos-North'),
+    ('plateau_jos-south','Plateau / Jos-South'),
+    ('plateau_kanam','Plateau / Kanam'),
+    ('plateau_kanke','Plateau / Kanke'),
+    ('plateau_langtang-north','Plateau / Langtang-North'),
+    ('plateau_langtang-south','Plateau / Langtang-South'),
+    ('plateau_mangu','Plateau / Mangu'),
+    ('plateau_mikang','Plateau / Mikang'),
+    ('plateau_pankshin','Plateau / Pankshin'),
+    ('plateau_quananpan','Plateau / Quananpan'),
+    ('plateau_riyom','Plateau / Riyom'),
+    ('plateau_shendam','Plateau / Shendam'),
+    ('plateau_wase','Plateau / Wase'),
+    ('rivers_aboa/odual','Rivers / Aboa/Odual'),
+    ('rivers_ahoada-east','Rivers / Ahoada-East'),
+    ('rivers_ahoada-west','Rivers / Ahoada-West'),
+    ('rivers_akukutoru','Rivers / Akukutoru'),
+    ('rivers_andoni','Rivers / Andoni'),
+    ('rivers_asari-toru','Rivers / Asari-Toru'),
+    ('rivers_bonny','Rivers / Bonny'),
+    ('rivers_buguma','Rivers / Buguma'),
+    ('rivers_degema','Rivers / Degema'),
+    ('rivers_eleme','Rivers / Eleme'),
+    ('rivers_elfane','Rivers / Elfane'),
+    ('rivers_emuoha','Rivers / Emuoha'),
+    ('rivers_etche','Rivers / Etche'),
+    ('rivers_gokana','Rivers / Gokana'),
+    ('rivers_ikwerre','Rivers / Ikwerre'),
+    ('rivers_khana','Rivers / Khana'),
+    ('rivers_obia/akpor','Rivers / Obia/Akpor'),
+    ('rivers_ogba-egbema-ndoni','Rivers / Ogba-Egbema-Ndoni'),
+    ('rivers_ogba/egbema/ndoni','Rivers / Ogba/Egbema/Ndoni'),
+    ('rivers_ogu/bolo','Rivers / Ogu/Bolo'),
+    ('rivers_okirika','Rivers / Okirika'),
+    ('rivers_omuma','Rivers / Omuma'),
+    ('rivers_opobo/nkoro','Rivers / Opobo/Nkoro'),
+    ('rivers_oyigbo','Rivers / Oyigbo'),
+    ('rivers_port-harcourt','Rivers / Port-Harcourt'),
+    ('rivers_tai','Rivers / Tai'),
+    ('sokoto_binji','Sokoto / Binji'),
+    ('sokoto_bodinga','Sokoto / Bodinga'),
+    ('sokoto_dange-shuni','Sokoto / Dange-Shuni'),
+    ('sokoto_gada','Sokoto / Gada'),
+    ('sokoto_goronyo','Sokoto / Goronyo'),
+    ('sokoto_gudu','Sokoto / Gudu'),
+    ('sokoto_gwadabawa','Sokoto / Gwadabawa'),
+    ('sokoto_illela','Sokoto / Illela'),
+    ('sokoto_kebbe','Sokoto / Kebbe'),
+    ('sokoto_kware','Sokoto / Kware'),
+    ('sokoto_raba','Sokoto / Raba'),
+    ('sokoto_sabo-birni','Sokoto / Sabo-Birni'),
+    ('sokoto_shagari','Sokoto / Shagari'),
+    ('sokoto_silame','Sokoto / Silame'),
+    ('sokoto_sokoto-north','Sokoto / Sokoto-North'),
+    ('sokoto_sokoto-south','Sokoto / Sokoto-South'),
+    ('sokoto_tambuwal','Sokoto / Tambuwal'),
+    ('sokoto_tangaza','Sokoto / Tangaza'),
+    ('sokoto_tureta','Sokoto / Tureta'),
+    ('sokoto_wamakko','Sokoto / Wamakko'),
+    ('sokoto_wurno','Sokoto / Wurno'),
+    ('sokoto_yabo','Sokoto / Yabo'),
+    ('taraba_ardo-kola','Taraba / Ardo-Kola'),
+    ('taraba_bali','Taraba / Bali'),
+    ('taraba_donga','Taraba / Donga'),
+    ('taraba_gashaka','Taraba / Gashaka'),
+    ('taraba_gassol','Taraba / Gassol'),
+    ('taraba_ibi','Taraba / Ibi'),
+    ('taraba_jalingo','Taraba / Jalingo'),
+    ('taraba_karim-lamido','Taraba / Karim-Lamido'),
+    ('taraba_kurmi','Taraba / Kurmi'),
+    ('taraba_lau','Taraba / Lau'),
+    ('taraba_oilingo','Taraba / Oilingo'),
+    ('taraba_sardauna','Taraba / Sardauna'),
+    ('taraba_takum','Taraba / Takum'),
+    ('taraba_ussa','Taraba / Ussa'),
+    ('taraba_wukari','Taraba / Wukari'),
+    ('taraba_yorro','Taraba / Yorro'),
+    ('taraba_zing','Taraba / Zing'),
+    ('yobe_bade','Yobe / Bade'),
+    ('yobe_borsali','Yobe / Borsali'),
+    ('yobe_damaturu','Yobe / Damaturu'),
+    ('yobe_fika','Yobe / Fika'),
+    ('yobe_fune','Yobe / Fune'),
+    ('yobe_geidam','Yobe / Geidam'),
+    ('yobe_gogaram','Yobe / Gogaram'),
+    ('yobe_gujba','Yobe / Gujba'),
+    ('yobe_gulani','Yobe / Gulani'),
+    ('yobe_jakusko','Yobe / Jakusko'),
+    ('yobe_karasuwa','Yobe / Karasuwa'),
+    ('yobe_machina','Yobe / Machina'),
+    ('yobe_nangere','Yobe / Nangere'),
+    ('yobe_nguru','Yobe / Nguru'),
+    ('yobe_potiskum','Yobe / Potiskum'),
+    ('yobe_tarmua','Yobe / Tarmua'),
+    ('yobe_yunusari','Yobe / Yunusari'),
+    ('yobe_yusufari','Yobe / Yusufari'),
+    ('zamfara_anka','Zamfara / Anka'),
+    ('zamfara_bakura','Zamfara / Bakura'),
+    ('zamfara_bukkuyum','Zamfara / Bukkuyum'),
+    ('zamfara_bungudu','Zamfara / Bungudu'),
+    ('zamfara_gumi','Zamfara / Gumi'),
+    ('zamfara_gusau','Zamfara / Gusau'),
+    ('zamfara_isa','Zamfara / Isa'),
+    ('zamfara_kaura-namoda','Zamfara / Kaura-Namoda'),
+    ('zamfara_kiyawa','Zamfara / Kiyawa'),
+    ('zamfara_maradun','Zamfara / Maradun'),
+    ('zamfara_maru','Zamfara / Maru'),
+    ('zamfara_shinkafi','Zamfara / Shinkafi'),
+    ('zamfara_talata-mafara','Zamfara / Talata-Mafara'),
+    ('zamfara_tsafe','Zamfara / Tsafe'),
+    ('zamfara_zurmi','Zamfara / Zurmi'),
+    ('osun_aiyedire','Osun / Aiyedire'),
+    ('cross_river_biase','Cross River / Biase'),
+    ('ogun_egbado-north','Ogun / Egbado-North'),
+    ('ogun_egbado-south','Ogun / Egbado-South'),
+    ('oyo_itesiwaju','Oyo / Itesiwaju'),
+    ('oyo_ogo-oluwa','Oyo / Ogo-Oluwa'),
+    ('ebonyi_ohaukwu','Ebonyi / Ohaukwu'),
+    ('ondo_okitipupa','Ondo / Okitipupa'),
+    ('osun_oriade','Osun / Oriade'),
+    ('benue_oturkpo','Benue / Oturkpo'),
+    ('oyo_oyo-east','Oyo / Oyo-East'),
+    ('abia_ukwa-east','Abia / Ukwa-East'),
+    ('akwa_ibom_urue-ffong-oruko','Akwa Ibom / Urue-Offong-Oruko'),
+    ('foreigner','Foreigner')
+    )
Index: /main/waeup.futminna/trunk/src/waeup/futminna/utils/tests.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/utils/tests.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/utils/tests.py	(revision 8619)
@@ -0,0 +1,29 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+from waeup.kofa.testing import FunctionalTestCase
+from waeup.futminna.testing import FunctionalLayer
+
+
+class CustomPackageUtilsTests(FunctionalTestCase):
+
+    layer = FunctionalLayer
+
+    def test_foo(self):
+        '''Test method foo.
+        '''
+        return
Index: /main/waeup.futminna/trunk/src/waeup/futminna/utils/utils.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/utils/utils.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/utils/utils.py	(revision 8619)
@@ -0,0 +1,202 @@
+## $Id$
+##
+## Copyright (C) 2012 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""Customize general helper utilities for Kofa.
+"""
+import os
+import pytz
+from waeup.kofa.utils.utils import KofaUtils, sorted_phone_prefixes
+from waeup.futminna.interfaces import MessageFactory as _
+
+INT_PHONE_PREFIXES = [
+    (1, _('Nigeria'), '234'),
+    (99, _('Germany'), '49'),
+    (99, _('United States'), '1'),
+    (99, _('Niger'), '227'),
+    (99, _('Benin'), '229'),
+    (99, _('Cameroon'), '237'),
+    (99, _('United Kingdom'), '44'),
+    (99, _('France'), '33'),
+    ]
+
+class KofaUtils(KofaUtils):
+    """A collection of methods subject to customization.
+    """
+    PORTAL_LANGUAGE = 'en'
+
+    PREFERRED_LANGUAGES_DICT = {
+        }
+
+    #: A function to return
+    @classmethod
+    def sorted_phone_prefixes(cls, data=INT_PHONE_PREFIXES, request=None):
+        return sorted_phone_prefixes(data, request)
+
+    EXAM_SUBJECTS_DICT = {
+        'accounts': 'Accounts',
+        'add_general_science': 'Add General Science',
+        'add_maths': 'Add Maths',
+        'adv_elect_install_maint': 'Adv. Electrical Installation and Maintenance',
+        'agricultural_science': 'Agricultural Science',
+        'applied_electricity': 'Applied Electricity',
+        'arabi': 'Arabic',
+        'arithmetics': 'Arithmetics',
+        'art': 'Art',
+        'auto_mechanics': 'Auto Mechanics',
+        'basic_electricity': 'Basic Electricity',
+        'bible_knowledge': 'Bible Knowledge',
+        'biology': 'Biology',
+        'biology_alt_syl': 'Biology (Alt.Syl)',
+        'book_keeping': 'Book Keeping',
+        'building_construction': 'Building Construction',
+        'business_management': 'Business Management',
+        'business_construction_management': 'Business/Construction Management (Adv)',
+        'chemistry': 'Chemistry',
+        'chemistry_alt_syl': 'Chemistry (Alt.Syl)',
+        'christian_religious_studies': 'Christian Religious Studies',
+        'class_teaching': 'Class Teaching',
+        'clerical_office_duties': 'Clerical Office Duties',
+        'clothing_and_textiles': 'Clothing and Textiles',
+        'commerce': 'Commerce',
+        'economics': 'Economics',
+        'education': 'Education',
+        'efik': 'Efik',
+        'electronics': 'Electronics',
+        'elementary_surveying': 'Elementary Surveying',
+        'english_language': 'English Language',
+        'engineering_science': 'Engineering Science',
+        'financial_accounting': 'Financial Accounting',
+        'food_and_nutrition': 'Food and Nutrition',
+        'french': 'French',
+        'further_mathematics': 'Further Mathematics',
+        'general_science': 'General Science',
+        'geography': 'Geography',
+        'german': 'German',
+        'government': 'Government',
+        'hausa': 'Hausa',
+        'hausa_literature': 'Hausa Literature',
+        'health_science': 'Health Science',
+        'history': 'History',
+        'home_management': 'Home Management',
+        'human_biology': 'Human Biology',
+        'industrial_electrical_installation': 'Industrial Elect Installation (Adv)',
+        'intergrated_science': 'Intergrated Science',
+        'islamic_studies': 'Islamic Studies',
+        'literature_in_english': 'Literature in English',
+        'literature_in_nigerian_languages': 'Literature in Nigerian Languages',
+        'igbo': 'Igbo',
+        'igbo_literature': 'Igbo Literature',
+        'yoruba': 'Yoruba',
+        'yoruba_literature': 'Yoruba Literature',
+        'management_in_living': 'Management in Living',
+        'mathematics': 'Mathematics',
+        'metalwork': 'Metalwork',
+        'music': 'Music',
+        'nigerian_language': 'Nigerian Language',
+        'office_practice': 'Office Practice',
+        'physical_education': 'Physical Education',
+        'physical_health_education': 'Physical and Health Education',
+        'physics': 'Physics',
+        'physics_alt_syl': 'Physics (Alt.Syl)',
+        'principles_and_practice_of_education': 'Principles and Practice of Education',
+        'principles_of_cost_accounting': 'Principles of Cost Accounting',
+        'rural_science': 'Rural Science',
+        'science': 'Science',
+        'secretarial_duties': 'Secretarial Duties',
+        'shorthand': 'Shorthand',
+        'sierra_leone_studies': 'Sierra Leone Studies',
+        'sierra_leone_languages': 'Sierra Leone Languages',
+        'social_studies': 'Social Studies',
+        'statistics': 'Statistics',
+        'teaching_practice': 'Teaching Practice',
+        'technical_drawing': 'Technical Drawing',
+        'typewriting': 'Typewriting',
+        'visual_art': 'Visual Art',
+        'woodwork': 'Woodwork',
+        'winding_elect_machines': 'Winding of Elect Machines and Elect Eng Sc'
+        }
+
+    EXAM_GRADES = (
+        ('A1', 'Excellent (A1)'),
+        ('A2', 'Very Good (A2)'),
+        ('A3', 'Good (A3)'),
+        ('B2', 'Very Good (B2)'),
+        ('B3', 'Good (B3)'),
+        ('C4', 'Credit (C4)'),
+        ('C5', 'Credit (C5)'),
+        ('C6', 'Credit (C6)'),
+        ('A', 'Pass (A)'),
+        ('B', 'Pass (B)'),
+        ('C', 'Pass (C)'),
+        ('U', 'Pass (U)'),
+        ('D7', 'Pass (D7)'),
+        ('P7', 'Pass (P7)'),
+        ('P8', 'Pass (P8)'),
+        ('E8', 'Pass (E8)'),
+        ('F9', 'Fail (F9)'),
+        ('Aa', 'A (a)'),
+        ('Bb', 'B (b)'),
+        ('Cc', 'C (c)'),
+        ('Dd', 'D (d)'),
+        ('Ee', 'E (e)'),
+        ('Ff', 'F (f)'),
+        ('Gg', 'G (g)')
+        )
+
+    INST_TYPES_DICT = {
+        'none': '',
+        'faculty': 'Faculty of',
+        'department': 'Department of',
+        'school': 'School of',
+        'office': 'Office for',
+        'centre': 'Centre for',
+        'institute': 'Institute of',
+        'school_for': 'School for',
+        'college': 'College of',
+        }
+
+    STUDY_MODES_DICT = {
+        'rmd_ft': 'Remedial with deficiencies',
+        'dp_pt': 'Diploma Part Time',
+        'ct_ft': 'Certificate Full Time',
+        'dp_ft': 'Diploma Full Time',
+        'de_pt': 'Direct Entry Part Time',
+        'pg_ft': 'Postgraduate Full Time',
+        'pg_pt': 'Postgraduate Part Time',
+        'jm_ft': 'Joint Matriculation Full Time',
+        'de_ft': 'Direct Entry Full Time',
+        'ph_ft': 'Post Higher Education Full Time',
+        'transfer_pt': 'Transfer Part Time',
+        'ug_pt': 'Undergraduate Part Time',
+        'transfer_ft': 'Transfer Full Time',
+        'ct_pt': 'Certificate Part Time',
+        'ug_ft': 'Undergraduate Full Time',
+        'rm_ft': 'Remedial'
+        }
+
+    APP_CATS_DICT = {
+        'basic': 'PUTME, PDE, PCE, PRENCE',
+        'no': 'no application',
+        'pg_ft': 'Postgraduate Full-Time',
+        'pg_pt': 'Postgraduate Part-Time',
+        'sandwich': 'Sandwich',
+        'cest': 'Part-Time, Diploma, Certificate'
+        }
+
+    @property
+    def tzinfo(self):
+        return pytz.timezone('Africa/Lagos')
Index: /main/waeup.futminna/trunk/src/waeup/futminna/widgets/__init__.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/widgets/__init__.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/widgets/__init__.py	(revision 8619)
@@ -0,0 +1,1 @@
+# Make this a package.
Index: /main/waeup.futminna/trunk/src/waeup/futminna/widgets/phonewidget.py
===================================================================
--- /main/waeup.futminna/trunk/src/waeup/futminna/widgets/phonewidget.py	(revision 8619)
+++ /main/waeup.futminna/trunk/src/waeup/futminna/widgets/phonewidget.py	(revision 8619)
@@ -0,0 +1,28 @@
+## $Id$
+##
+## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+"""
+A customized phone widget
+"""
+
+from waeup.kofa.widgets.phonewidget import PhoneWidget
+
+class CustomPhoneWidget(PhoneWidget):
+    """A phone widget without area prefix.
+    """
+    subwidget_names = ('country', 'ext')
+    bootstrap_span = 'span3'
