Ignore:
Timestamp:
31 Jan 2020, 14:47:29 (5 years ago)
Author:
Henrik Bettermann
Message:

Add three new payment categories.

Location:
main/waeup.aaue/trunk/src/waeup/aaue
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/interfaces.py

    r15760 r15971  
    254254        )
    255255
    256     library_fee_pg = schema.Float(
     256    library_pg_fee = schema.Float(
    257257        title = _(u'Library Development Fee PG'),
    258258        default = 0.0,
  • main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py

    r15953 r15971  
    304304                    academic_session.library_fee)
    305305                library_amt_pg = gateway_net_amt(
    306                     academic_session.library_fee_pg)
     306                    academic_session.library_pg_fee)
    307307                xmldict['student_union_bank_id'] = '31'
    308308                xmldict['student_union_acct'] = '0051005007'
     
    331331                    academic_session.library_fee)
    332332                library_amt_pg = gateway_net_amt(
    333                     academic_session.library_fee_pg)
     333                    academic_session.library_pg_fee)
    334334                xmldict['student_union_bank_id'] = '7'
    335335                xmldict['student_union_acct'] = '1019763348'
     
    630630                gateway_net_amt(self.context.amount_auth))
    631631
     632        # Sports Fee
     633        elif self.context.p_category == 'sports':
     634            self.pay_item_id = '000'
     635            xmldict['institution_amt'] = 100 * (
     636                gateway_net_amt(self.context.amount_auth))
     637
     638        # Library Fee
     639        elif self.context.p_category == 'library':
     640            self.pay_item_id = '000'
     641            xmldict['institution_amt'] = 100 * (
     642                gateway_net_amt(self.context.amount_auth))
     643
     644        # Library PG Fee
     645        elif self.context.p_category == 'library_pg':
     646            self.pay_item_id = '000'
     647            xmldict['institution_amt'] = 100 * (
     648                gateway_net_amt(self.context.amount_auth))
     649
    632650        # Late Registration Fee
    633651        elif self.context.p_category == 'late_registration':
  • main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py

    r15948 r15971  
    448448                    amount += gateway_net_amt(academic_session.sports_fee)
    449449                    if student.is_postgrad:
    450                         amount += gateway_net_amt(academic_session.library_fee_pg)
     450                        amount += gateway_net_amt(academic_session.library_pg_fee)
    451451                    else:
    452452                        amount += gateway_net_amt(academic_session.library_fee)
  • main/waeup.aaue/trunk/src/waeup/aaue/utils/utils.py

    r15965 r15971  
    6868        'fac_dep': 'Faculty and Departmental Dues (incl. ICT/Affidavit Dues)',
    6969        'restitution': 'Restitution Fee',
     70        'sports': 'Sports Fee',
     71        'library': 'Library Fee UG',
     72        'library_pg': 'Library Fee PG',
    7073        }
    7174
    7275    SELECTABLE_PAYMENT_CATEGORIES = {
    7376        'schoolfee': 'School Fee without additional fees',
    74         'schoolfee_1': 'School Fee (1st instalment) + Student Union Dues + Welfare Assurance, Library and Sports Fees',
     77        'schoolfee_1': 'School Fee (1st instalment) incl. additional fees',
    7578        'schoolfee_2': 'School Fee (2nd instalment)',
    76         'schoolfee_incl': 'School Fee + Student Union Dues + Welfare Assurance, Library and Sports Fees',
     79        'schoolfee_incl': 'School Fee incl. additional fees',
    7780        'clearance': 'Acceptance Fee without additional fees',
    78         'clearance_incl': 'Acceptance Fee + Matric Gown Fee + Lapel/File Fee',
     81        'clearance_incl': 'Acceptance Fee incl. additional fees',
    7982        'hostel_maintenance': 'Hostel Accommodation Fee',
    8083        #'application': 'Application Fee',
     
    100103        'fac_dep': 'Faculty and Departmental Dues (incl. ICT/Affidavit Dues)',
    101104        'restitution': 'Restitution Fee',
     105        'sports': 'Sports Fee',
     106        'library': 'Library Fee UG',
     107        'library_pg': 'Library Fee PG',
    102108        }
    103109
     
    111117        'schoolfee': 'School Fee',
    112118        'late_registration': 'Late Course Registration Fee',
     119        'library_pg': 'Library Fee PG',
    113120        }
    114121
     
    118125        'schoolfee_1': 'School Fee (1st instalment)',
    119126        'schoolfee_2': 'School Fee (2nd instalment)',
     127        'sports': 'Sports Fee',
     128        'library': 'Library Fee UG',
    120129        }
    121130
     
    132141        'gst_text_book_3': 'Text Book Fee GST222',
    133142        'late_registration': 'Late Course Registration Fee',
     143        'sports': 'Sports Fee',
     144        'library': 'Library Fee UG',
    134145        }
    135146
Note: See TracChangeset for help on using the changeset viewer.