Ignore:
Timestamp:
29 Oct 2019, 07:04:05 (5 years ago)
Author:
Henrik Bettermann
Message:

Remove all non-edo-state indigene additional fees.

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

    r15382 r15714  
    7474        self.assertEqual(payment.p_level, 100)
    7575        self.assertEqual(payment.p_session, 2004)
    76         # 20000 Naira non-indigenous fee added
    77         self.assertEqual(payment.amount_auth, 26666.0)
     76        self.assertEqual(payment.amount_auth, 6666.0)
    7877        self.assertEqual(payment.p_item, u'CERT1')
    7978        self.assertEqual(error, None)
  • main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py

    r15667 r15714  
    455455                    and student.state == CLEARED:
    456456                    amount += gateway_net_amt(academic_session.id_card_fee)
    457             # Add non-indigenous fee and session specific penalty fees
     457                if student.entry_session >= 2019:
     458                    amount += gateway_net_amt(academic_session.ict_fee)
     459            # Add session specific penalty fees
    458460            if student.is_postgrad:
    459461                amount += academic_session.penalty_pg
    460                 if student.lga and not student.lga.startswith('edo'):
    461                     amount += 20000.0
    462462            else:
    463463                amount += academic_session.penalty_ug
    464                 if student.lga and not student.lga.startswith('edo') \
    465                     and category in ('schoolfee_incl', 'schoolfee_1') \
    466                     and student.entry_session > 2018:
    467                     if certificate.code == 'MBBS':
    468                         amount +=100000
    469                     elif certificate.code == 'BSCNSG':
    470                         amount += 100000
    471                     elif certificate.code in ('BMLS',
    472                             'BMLSMMCB', 'BMLSHIST',
    473                             'BMLSHBTS', 'BMLSCHMP'):
    474                         amount += 80000
    475                     elif certificate.code == 'LLB':
    476                         amount += 75000
    477                     elif certificate.code in ('BENGAGE',
    478                             'BENGCIE', 'BENGELE',
    479                             'BENGIPE', 'BENGMPE',
    480                             'BENGPE', 'BENGMEE', 'BENGMME'):
    481                         amount += 75000
    482464        elif not student.is_postgrad:
    483465            fee_name = category + '_fee'
Note: See TracChangeset for help on using the changeset viewer.