Changeset 15699 for main/kofacustom.dspg


Ignore:
Timestamp:
24 Oct 2019, 06:57:51 (5 years ago)
Author:
Henrik Bettermann
Message:

Change account.

Location:
main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/browser.py

    r15608 r15699  
    5252SPECIAL_PAYMENT_PARAMS = {
    5353
    54     'carryover1': ('101', 500.0, '1012808851', '117'),
    55     'carryover4': ('101', 500.0, '1012808851', '117'),
    56     'carryover5': ('101', 500.0, '1012808851', '117'),
    57     'carryover6': ('101', 500.0, '1012808851', '117'),
    58     'carryover7': ('101', 500.0, '1012808851', '117'),
    59     'carryover8': ('101', 500.0, '1012808851', '117'),
    60     'carryover9': ('101', 500.0, '1012808851', '117'),
    61     'carryover10': ('101', 500.0, '1012808851', '117'),
    62     'carryover11': ('101', 500.0, '1012808851', '117'),
    63     'carryover12': ('101', 500.0, '1012808851', '117'),
    64     'balance': ('101', 500.0, '1012808851', '117'),
    65 
    66     'certificate': ('111', 500.0, '1012808851', '117'),
    67     'state_result': ('112', 500.0, '1012808851', '117'),
    68     'transcript_local': ('113', 500.0, '1012808851', '117'),
    69     'transcript_foreign': ('114', 500.0, '1012808851', '117'),
    70     'ver_result': ('115', 500.0, '1012808851', '117'),
    71     'change_course': ('116', 500.0, '1012808851', '117'),
    72     'change_inst': ('117', 500.0, '1012808851', '117'),
    73     'jamb_reject': ('118', 500.0, '1012808851', '117'),
    74     'cert_of_cert': ('119', 500.0, '1012808851', '117'),
    75     'ref_let': ('120', 500.0, '1012808851', '117'),
    76     'proc_cert': ('121', 500.0, '1012808851', '117'),
    77     'loss_idcard': ('122', 9.0, '1012808851', '117'),
    78     'loss_examcard': ('123', 4.5, '1012808851', '117'),
    79     'loss_result': ('124', 500.0, '1012808851', '117'),
    80     'loss_receipt': ('125', 500.0, '1012808851', '117'),
    81     'loss_clearance': ('126', 500.0, '1012808851', '117'),
    82     'conv_brochure': ('127', 500.0, '1012808851', '117'),
    83     'hnd_certificate': ('128', 500.0, '1012808851', '117'),
    84     'hnd_state_result': ('129', 500.0, '1012808851', '117'),
    85     'hnd_transcript_local': ('130', 500.0, '1012808851', '117'),
    86     'hnd_transcript_foreign': ('131', 500.0, '1012808851', '117'),
    87     'staff_loss_idcard': ('132', 9.0, '1012808851', '117'),
    88     'hnd_conv_brochure': ('133', 500.0, '1012808851', '117'),
    89     'pgd_state_result': ('134', 500.0, '1012808851', '117'),
    90     'pgd_conv_brochure': ('135', 500.0, '1012808851', '117'),
    91     'pgd_certificate': ('136', 500.0, '1012808851', '117'),
    92     'log_book': ('137', 4.5, '1012808851', '117'),
    93     'pgd_transcript_foreign': ('138', 500.0, '1012808851', '117'),
    94     'pgd_transcript_local': ('139', 500.0, '1012808851', '117'),
    95     'jamb_regularization': ('140', 500.0, '1012808851', '117'),
    96     'utme_registration': ('142', 9.0, '1012808851', '117'),
    97     'utme_cbt': ('143', 9.0, '1012808851', '117'),
    98     'nysc_id_card': ('144', 9.0, '1012808851', '117'),
    99     'ijmb_result': ('147', 500.0, '1012808851', '117'),
     54    'carryover1': ('101', 500.0, '1012963301', '117'),
     55    'carryover4': ('101', 500.0, '1012963301', '117'),
     56    'carryover5': ('101', 500.0, '1012963301', '117'),
     57    'carryover6': ('101', 500.0, '1012963301', '117'),
     58    'carryover7': ('101', 500.0, '1012963301', '117'),
     59    'carryover8': ('101', 500.0, '1012963301', '117'),
     60    'carryover9': ('101', 500.0, '1012963301', '117'),
     61    'carryover10': ('101', 500.0, '1012963301', '117'),
     62    'carryover11': ('101', 500.0, '1012963301', '117'),
     63    'carryover12': ('101', 500.0, '1012963301', '117'),
     64    'balance': ('101', 500.0, '1012963301', '117'),
     65
     66    'certificate': ('111', 500.0, '1012963301', '117'),
     67    'state_result': ('112', 500.0, '1012963301', '117'),
     68    'transcript_local': ('113', 500.0, '1012963301', '117'),
     69    'transcript_foreign': ('114', 500.0, '1012963301', '117'),
     70    'ver_result': ('115', 500.0, '1012963301', '117'),
     71    'change_course': ('116', 500.0, '1012963301', '117'),
     72    'change_inst': ('117', 500.0, '1012963301', '117'),
     73    'jamb_reject': ('118', 500.0, '1012963301', '117'),
     74    'cert_of_cert': ('119', 500.0, '1012963301', '117'),
     75    'ref_let': ('120', 500.0, '1012963301', '117'),
     76    'proc_cert': ('121', 500.0, '1012963301', '117'),
     77    'loss_idcard': ('122', 9.0, '1012963301', '117'),
     78    'loss_examcard': ('123', 4.5, '1012963301', '117'),
     79    'loss_result': ('124', 500.0, '1012963301', '117'),
     80    'loss_receipt': ('125', 500.0, '1012963301', '117'),
     81    'loss_clearance': ('126', 500.0, '1012963301', '117'),
     82    'conv_brochure': ('127', 500.0, '1012963301', '117'),
     83    'hnd_certificate': ('128', 500.0, '1012963301', '117'),
     84    'hnd_state_result': ('129', 500.0, '1012963301', '117'),
     85    'hnd_transcript_local': ('130', 500.0, '1012963301', '117'),
     86    'hnd_transcript_foreign': ('131', 500.0, '1012963301', '117'),
     87    'staff_loss_idcard': ('132', 9.0, '1012963301', '117'),
     88    'hnd_conv_brochure': ('133', 500.0, '1012963301', '117'),
     89    'pgd_state_result': ('134', 500.0, '1012963301', '117'),
     90    'pgd_conv_brochure': ('135', 500.0, '1012963301', '117'),
     91    'pgd_certificate': ('136', 500.0, '1012963301', '117'),
     92    'log_book': ('137', 4.5, '1012963301', '117'),
     93    'pgd_transcript_foreign': ('138', 500.0, '1012963301', '117'),
     94    'pgd_transcript_local': ('139', 500.0, '1012963301', '117'),
     95    'jamb_regularization': ('140', 500.0, '1012963301', '117'),
     96    'utme_registration': ('142', 9.0, '1012963301', '117'),
     97    'utme_cbt': ('143', 9.0, '1012963301', '117'),
     98    'nysc_id_card': ('144', 9.0, '1012963301', '117'),
     99    'ijmb_result': ('147', 500.0, '1012963301', '117'),
    100100    'conv': ('151', 500.0, '1012963301', '117'),
    101101    }
     
    144144                xmldict['institution_bank_id'] = '117'
    145145            elif student.current_mode in ('nd_ft', 'hnd_ft'):
    146                 xmldict['institution_acct'] = '1012808851'
     146                xmldict['institution_acct'] = '1012963301'
    147147                xmldict['institution_bank_id'] = '117'
    148148        elif self.context.p_category == 'clearance':
     
    190190        elif self.context.p_category == 'lsfp_penalty':
    191191            self.pay_item_id = '102'
    192             xmldict['institution_acct'] = '1012808851'
     192            xmldict['institution_acct'] = '1012963301'
    193193            xmldict['institution_bank_id'] = '117'
    194194        elif self.context.p_category in SPECIAL_PAYMENT_PARAMS.keys():
     
    437437            xmltext = """<payment_item_detail>
    438438<item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s">
    439 <item_detail item_id="1" item_name="Collection of Results" item_amt="%(amt1)d" bank_id="117" acct_num="1012808851" />
    440 <item_detail item_id="2" item_name="Collection of Certificate" item_amt="%(amt2)d" bank_id="117" acct_num="1012808851" />
     439<item_detail item_id="1" item_name="Collection of Results" item_amt="%(amt1)d" bank_id="117" acct_num="1012963301" />
     440<item_detail item_id="2" item_name="Collection of Certificate" item_amt="%(amt2)d" bank_id="117" acct_num="1012963301" />
    441441<item_detail item_id="3" item_name="Alumni" item_amt="%(amt3)d" bank_id="8" acct_num="2011810346" />
    442442<item_detail item_id="4" item_name="Convocation" item_amt="%(amt4)d" bank_id="8" acct_num="2006612782" />
     
    454454            xmltext = """<payment_item_detail>
    455455<item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s">
    456 <item_detail item_id="1" item_name="Collection of Results" item_amt="%(amt1)d" bank_id="117" acct_num="1012808851" />
    457 <item_detail item_id="2" item_name="Collection of Certificate" item_amt="%(amt2)d" bank_id="117" acct_num="1012808851" />
     456<item_detail item_id="1" item_name="Collection of Results" item_amt="%(amt1)d" bank_id="117" acct_num="1012963301" />
     457<item_detail item_id="2" item_name="Collection of Certificate" item_amt="%(amt2)d" bank_id="117" acct_num="1012963301" />
    458458<item_detail item_id="3" item_name="Alumni" item_amt="%(amt3)d" bank_id="8" acct_num="2011810346" />
    459459<item_detail item_id="4" item_name="Convocation" item_amt="%(amt4)d" bank_id="8" acct_num="2006612782" />
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/tests.py

    r15671 r15699  
    9292            self.browser.contents)
    9393        self.assertTrue(
    94             'item_name="School Fee" item_amt="2575000" bank_id="117" acct_num="1012808851"' in
     94            'item_name="School Fee" item_amt="2575000" bank_id="117" acct_num="1012963301"' in
    9595            self.browser.contents)
    9696        # ND FT Non-Deltan Fresh Student Acceptance Fee
     
    113113            self.browser.contents)
    114114        self.assertTrue(
    115             'item_name="Acceptance" item_amt="1159500" bank_id="121" acct_num="0072223654"' in
     115            'item_name="Acceptance/Screening" item_amt="1159500" bank_id="121" acct_num="0072223654"' in
    116116            self.browser.contents)
    117117
Note: See TracChangeset for help on using the changeset viewer.