Changeset 16015 for main


Ignore:
Timestamp:
26 Feb 2020, 20:45:25 (5 years ago)
Author:
Henrik Bettermann
Message:

Make balance payments available to students.

Location:
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/locales/en/LC_MESSAGES/waeup.kofa.po

    r15883 r16015  
    108108
    109109msgid "Add balance payment ticket"
    110 msgstr "Add balance payment"
     110msgstr "Add custom/balance payment"
    111111
    112112msgid "Ticket Creation Date"
     
    115115msgid "Create ticket"
    116116msgstr "Create payment"
     117
     118msgid "Add balance"
     119msgstr "Add custom/balance payment"
     120
     121msgid "Balance Amount"
     122msgstr "Custom/Balance Amount"
  • main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/browser.py

    r15999 r16015  
    2929    StudentBasePDFFormPage, ExportPDFCourseRegistrationSlip,
    3030    CourseTicketDisplayFormPage, StudentTriggerTransitionFormPage,
    31     StartClearancePage,
     31    StartClearancePage, BalancePaymentAddFormPage,
    3232    msave, emit_lock_message)
    3333from waeup.kofa.students.interfaces import (
     
    216216class CustomStartClearancePage(StartClearancePage):
    217217    with_ac = False
     218
     219class CustomBalancePaymentAddFormPage(BalancePaymentAddFormPage):
     220    grok.require('waeup.handleStudent')
  • main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/viewlets.py

    r15942 r16015  
    2929    ExportPDFClearanceSlip, StudyCourseDisplayFormPage,
    3030    StudyLevelDisplayFormPage, StudentBaseDisplayFormPage)
     31from waeup.kofa.students.viewlets import (
     32    AddPreviousPaymentActionButton, AddBalancePaymentActionButton)
    3133
    3234from kofacustom.nigeria.interfaces import MessageFactory as _
     
    4143    icon = 'actionicon_book.png'
    4244
     45class AddBalancePaymentActionButton(AddBalancePaymentActionButton):
     46    grok.require('waeup.handleStudent')
    4347
    4448class GetMatricNumberActionButton(ManageActionButton):
  • main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/utils/utils.py

    r15937 r16015  
    162162        }
    163163
     164    BALANCE_PAYMENT_CATEGORIES = {
     165        'schoolfee': 'Tuition, Accommodation, Adm. Charges (total amount)',
     166        'registration': 'Registration Fee',
     167        'transcript_local': 'Transcript Fee (Local Students)',
     168        'transcript_overseas': 'Transcript Fee (Oversea Students)',
     169        'late_registration': 'Late Registration Fee',
     170        'science': 'Science Bench Fee',
     171        'clinical': 'Clinical Fee (Medical Students)',
     172        'develop': 'Development Fee',
     173        'municipal_fresh': 'Municipal Fee (Fresh Students)',
     174        'municipal_returning': 'Municipal Fee (Returning Students)',
     175        'alumni': 'Alumni Fee',
     176        'conv': 'Convocation Fee',
     177        'matric': 'Matriculation Fee',
     178        'waecneco': 'WAEC & NECO Verification',
     179        'jambver': 'JAMB Verification',
     180        'book': 'Book Deposit',
     181        'parentsconsult': 'Parents Consultative Forum (PCF) Fee',
     182        'pharmlab': 'Pharmacy Lab Support Fee',
     183        'lo_ident': 'Letter of Identification Fee',
     184        'change_course': 'Change of Course Fee',
     185        'iuits': 'IUITS Fee',
     186        'fine': 'Fine',
     187        'combi': 'Combi Payment',
     188        'resit1': '1 Make-Up Examination Course',
     189        'resit2': '2 Make-Up Examination Courses',
     190        'resit3': '3 Make-Up Examination Courses',
     191        'resit4': '4 Make-Up Examination Courses',
     192        'resit5': '5 Make-Up Examination Courses',
     193        'resit6': '6 Make-Up Examination Course',
     194        'resit7': '7 Make-Up Examination Courses',
     195        'resit8': '8 Make-Up Examination Courses',
     196        'resit9': '9 Make-Up Examination Courses',
     197        }
     198
    164199    APP_CATS_DICT = {
    165200        'basic': 'UAS, PUTME, PUDE, PCE, PRENCE',
Note: See TracChangeset for help on using the changeset viewer.