Ignore:
Timestamp:
29 Jun 2019, 06:10:14 (5 years ago)
Author:
Henrik Bettermann
Message:

2nd instalment should not include split of Joint Venture, AAUE Share etc. Everything goes straights to the school.

File:
1 edited

Legend:

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

    r15475 r15479  
    253253            if contr_agreement_student(student) == 'first':
    254254                # First agreement
    255                 if self.context.p_category != 'schoolfee_2':
    256                     provider_amt = 1900.0
     255                provider_amt = 1900.0
    257256                joint_venture_amt = 0.0
    258257                aaue_share_amt = 0.0
     
    283282                joint_venture_amt = 1000.0
    284283                aaue_share_amt = 1500.0
    285                 if  self.context.p_category != 'schoolfee_2':
    286                     provider_amt = 1500.0
     284                provider_amt = 1500.0
    287285                student_union_due_amt = gateway_net_amt(
    288286                    academic_session.union_fee)
     
    317315                xmldict['institution_amt'] = 100 * (
    318316                    gateway_net_amt(self.context.amount_auth))
     317
     318
     319            elif self.context.p_category == 'schoolfee_2':
     320                xmldict['institution_amt'] = 100 * gateway_net_amt(
     321                    self.context.amount_auth)
     322                xmltext = """<payment_item_detail>
     323<item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s">
     324<item_detail item_id="1" item_name="%(institution_item_name)s" item_amt="%(institution_amt)d" bank_id="%(institution_bank_id)s" acct_num="%(institution_acct)s" />
     325</item_details>
     326</payment_item_detail>""" % xmldict
    319327            elif self.context.p_category in ('schoolfee_incl', 'schoolfee_1') \
    320328                and student.current_mode != 'ijmbe':
Note: See TracChangeset for help on using the changeset viewer.