Ignore:
Timestamp:
20 Jun 2023, 07:34:04 (15 months ago)
Author:
Henrik Bettermann
Message:

Modify payment slip.

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

Legend:

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

    r17439 r17441  
    4242PROVIDER_ACCT = '0200244434'
    4343PROVIDER_BANK_ID = '11'
    44 PROVIDER_ITEM_NAME = 'WAeAC'
     44PROVIDER_ITEM_NAME = 'WAeAC Portal Fee'
    4545INSTITUTION_NAME = 'AAU Ekpoma'
    4646CURRENCY = '566'
  • main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py

    r17431 r17441  
    336336        except KeyError:
    337337            academic_session = None
    338         text =  '\n\n The Amount Authorized is inclusive of: '
    339         if self.context.p_category in ('schoolfee_incl', 'schoolfee_1') \
    340             and academic_session:
    341             if self.context.student.entry_session == 2016 \
    342                 and self.context.student.entry_mode == 'ug_ft' \
    343                 and self.context.p_session == 2016:
    344                 # Add student id card fee to first school fee payment.
    345 
    346                 ## Attention: The payment slip does not contain any information
    347                 ## whether the fee was added or not.
    348                 ## We can only draw conclusions from from the student's entry
    349                 ## session whether the fee had been included.
    350                 #id_card_fee = gateway_net_amt(academic_session.id_card_fee)
    351                 #text += ('School Fee, '
    352                 #         '%s Naira Student ID Card Fee, '
    353                 #         '%s Naira Student Union Dues, '
    354                 #         '%s Naira Student Welfare Assurance Fee and '
    355                 #         % (id_card_fee, union_fee, welfare_fee))
    356 
    357                 text += ('School Fee, '
    358                          'Student ID Card Fee, '
    359                          'Student Union Dues, '
    360                          'Sports Fee, '
    361                          'Library Levy, '
    362                          'Student Welfare Assurance Fee and ')
    363             else:
    364 
    365                 #text += ('School Fee, '
    366                 #         '%s Naira Student Union Dues, '
    367                 #         '%s Naira Student Welfare Assurance Fee and '
    368                 #         % (union_fee, welfare_fee))
    369 
    370                 text += ('School Fee, '
    371                          'Student Union Dues, '
    372                          'Sports Development Fee, '
    373                          'Library Development Levy, '
    374                          'LMS + Sundry Fees, '
    375                          'Student Welfare Assurance Fee and ')
    376         elif self.context.p_category in (
    377             'clearance_incl', 'clearance_medical_incl') and academic_session:
    378 
    379             #matric_gown_fee = gateway_net_amt(academic_session.matric_gown_fee)
    380             #lapel_fee = gateway_net_amt(academic_session.lapel_fee)
    381             #text += ('Acceptance Fee, '
    382             #         '%s Naira Matriculation Gown Fee, '
    383             #         '%s Naira Lapel/File Fee and '
    384             #         % (matric_gown_fee, lapel_fee))
    385 
    386             text += ('Acceptance Fee, '
    387                      'Matriculation Gown Fee, '
    388                      'Lapel/File Fee and ')
    389 
    390         #return text + '250.0 Naira Transaction Charge.'
    391 
    392         return text + 'Transaction Charge.'
     338        text =  '\n\n The Amount Authorized is inclusive of: %s and also of NGN %d Interswitch surcharge.' % (
     339            getattr(self.context, 'p_split_data'), self.context.gateway_amt)
     340
     341        return text
    393342
    394343class CustomStudyCourseManageFormPage(StudyCourseManageFormPage):
Note: See TracChangeset for help on using the changeset viewer.