Changeset 15976


Ignore:
Timestamp:
3 Feb 2020, 14:07:33 (5 years ago)
Author:
Henrik Bettermann
Message:

Change sports and library fee payment setting.

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

Legend:

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

    r15971 r15976  
    368368                xmldict['student_welfare_assurance_amt'] = 100 * student_welfare_assurance_amt
    369369
    370                 if student.entry_session == 2018 and student.is_fresh:
     370                if student.entry_session >= 2018 and student.is_fresh:
    371371                    xmldict['sports_amt'] = 100 * sports_amt
    372372                    if student.is_postgrad:
     
    632632        # Sports Fee
    633633        elif self.context.p_category == 'sports':
    634             self.pay_item_id = '000'
     634            self.pay_item_id = '105'
    635635            xmldict['institution_amt'] = 100 * (
    636636                gateway_net_amt(self.context.amount_auth))
     
    638638        # Library Fee
    639639        elif self.context.p_category == 'library':
    640             self.pay_item_id = '000'
     640            self.pay_item_id = '105'
    641641            xmldict['institution_amt'] = 100 * (
    642642                gateway_net_amt(self.context.amount_auth))
     
    644644        # Library PG Fee
    645645        elif self.context.p_category == 'library_pg':
    646             self.pay_item_id = '000'
     646            self.pay_item_id = '105'
    647647            xmldict['institution_amt'] = 100 * (
    648648                gateway_net_amt(self.context.amount_auth))
  • main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py

    r15919 r15976  
    7373    NigeriaStudentClearanceEditFormPage,
    7474    NigeriaAccommodationManageFormPage,
     75    NigeriaAccommodationDisplayFormPage,
    7576    NigeriaStudentBaseDisplayFormPage,
    7677    NigeriaStudentBaseManageFormPage,
     
    925926            self.context.student, studentview, note=self.note,
    926927            omit_fields=self.omit_fields)
     928
     929class CustomAccommodationDisplayFormPage(NigeriaAccommodationDisplayFormPage):
     930    """ Page to view bed tickets.
     931    """
     932    with_hostel_selection = True
    927933
    928934class CustomAccommodationManageFormPage(NigeriaAccommodationManageFormPage):
  • main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py

    r15971 r15976  
    445445                    amount += gateway_net_amt(academic_session.welfare_fee) + \
    446446                        gateway_net_amt(academic_session.union_fee)
    447                 if student.entry_session == 2018 and student.is_fresh:
     447                if student.entry_session >= 2018 and student.is_fresh:
    448448                    amount += gateway_net_amt(academic_session.sports_fee)
    449449                    if student.is_postgrad:
Note: See TracChangeset for help on using the changeset viewer.