Changeset 15714
- Timestamp:
- 29 Oct 2019, 07:04:05 (5 years ago)
- 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 74 74 self.assertEqual(payment.p_level, 100) 75 75 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) 78 77 self.assertEqual(payment.p_item, u'CERT1') 79 78 self.assertEqual(error, None) -
main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py
r15667 r15714 455 455 and student.state == CLEARED: 456 456 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 458 460 if student.is_postgrad: 459 461 amount += academic_session.penalty_pg 460 if student.lga and not student.lga.startswith('edo'):461 amount += 20000.0462 462 else: 463 463 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 +=100000469 elif certificate.code == 'BSCNSG':470 amount += 100000471 elif certificate.code in ('BMLS',472 'BMLSMMCB', 'BMLSHIST',473 'BMLSHBTS', 'BMLSCHMP'):474 amount += 80000475 elif certificate.code == 'LLB':476 amount += 75000477 elif certificate.code in ('BENGAGE',478 'BENGCIE', 'BENGELE',479 'BENGIPE', 'BENGMPE',480 'BENGPE', 'BENGMEE', 'BENGMME'):481 amount += 75000482 464 elif not student.is_postgrad: 483 465 fee_name = category + '_fee'
Note: See TracChangeset for help on using the changeset viewer.