Ignore:
Timestamp:
7 Nov 2019, 06:39:29 (5 years ago)
Author:
Henrik Bettermann
Message:

Re-enable non-edo-state indigene additional fee for pg students.

Location:
main/waeup.aaue/trunk/src/waeup/aaue/students
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_utils.py

    r15714 r15763  
    7474        self.assertEqual(payment.p_level, 100)
    7575        self.assertEqual(payment.p_session, 2004)
    76         self.assertEqual(payment.amount_auth, 6666.0)
     76        self.assertEqual(payment.amount_auth, 26666.0)
    7777        self.assertEqual(payment.p_item, u'CERT1')
    7878        self.assertEqual(error, None)
  • main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py

    r15750 r15763  
    455455                    and student.state == CLEARED:
    456456                    amount += gateway_net_amt(academic_session.id_card_fee)
    457             # Add session specific penalty fees
     457            # Add non-indigenous fee and session specific penalty fees
    458458            if student.is_postgrad:
    459459                amount += academic_session.penalty_pg
     460                if student.lga and not student.lga.startswith('edo'):
     461                    amount += 20000.0
    460462            else:
    461463                amount += academic_session.penalty_ug
Note: See TracChangeset for help on using the changeset viewer.