Ignore:
Timestamp:
10 Jan 2017, 21:31:22 (8 years ago)
Author:
Henrik Bettermann
Message:

Do not print fee amounts on payment slips.

File:
1 edited

Legend:

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

    r14354 r14385  
    246246        if self.context.p_category in ('schoolfee_incl', 'schoolfee_1') \
    247247            and academic_session:
    248             welfare_fee = gateway_net_amt(academic_session.welfare_fee)
    249             union_fee = gateway_net_amt(academic_session.union_fee)
     248            #welfare_fee = gateway_net_amt(academic_session.welfare_fee)
     249            #union_fee = gateway_net_amt(academic_session.union_fee)
    250250            if self.context.student.entry_session == 2016 \
    251251                and self.context.student.entry_mode == 'ug_ft' \
    252252                and self.context.p_session == 2016:
    253253                # Add student id card fee to first school fee payment.
    254                 # Attention: The payment slip does not contain any information
    255                 # whether the fee was added or not.
    256                 # We can only draw conclusions from from the student's entry
    257                 # session whether the fee had been included.
    258                 id_card_fee = gateway_net_amt(academic_session.id_card_fee)
     254
     255                ## Attention: The payment slip does not contain any information
     256                ## whether the fee was added or not.
     257                ## We can only draw conclusions from from the student's entry
     258                ## session whether the fee had been included.
     259                #id_card_fee = gateway_net_amt(academic_session.id_card_fee)
     260                #text += ('School Fee, '
     261                #         '%s Naira Student ID Card Fee, '
     262                #         '%s Naira Student Union Dues, '
     263                #         '%s Naira Student Welfare Assurance Fee and '
     264                #         % (id_card_fee, union_fee, welfare_fee))
     265
    259266                text += ('School Fee, '
    260                          '%s Naira Student ID Card Fee, '
    261                          '%s Naira Student Union Dues, '
    262                          '%s Naira Student Welfare Assurance Fee and '
    263                          % (id_card_fee, union_fee, welfare_fee))
     267                         'Student ID Card Fee, '
     268                         'Student Union Dues, '
     269                         'Student Welfare Assurance Fee and ')
    264270            else:
     271
     272                #text += ('School Fee, '
     273                #         '%s Naira Student Union Dues, '
     274                #         '%s Naira Student Welfare Assurance Fee and '
     275                #         % (union_fee, welfare_fee))
     276
    265277                text += ('School Fee, '
    266                          '%s Naira Student Union Dues, '
    267                          '%s Naira Student Welfare Assurance Fee and '
    268                          % (union_fee, welfare_fee))
     278                         'Student Union Dues, '
     279                         'Student Welfare Assurance Fee and ')
    269280        elif self.context.p_category in (
    270281            'clearance_incl', 'clearance_medical_incl') and academic_session:
    271             matric_gown_fee = gateway_net_amt(academic_session.matric_gown_fee)
    272             lapel_fee = gateway_net_amt(academic_session.lapel_fee)
     282
     283            #matric_gown_fee = gateway_net_amt(academic_session.matric_gown_fee)
     284            #lapel_fee = gateway_net_amt(academic_session.lapel_fee)
     285            #text += ('Acceptance Fee, '
     286            #         '%s Naira Matriculation Gown Fee, '
     287            #         '%s Naira Lapel/File Fee and '
     288            #         % (matric_gown_fee, lapel_fee))
     289
    273290            text += ('Acceptance Fee, '
    274                      '%s Naira Matriculation Gown Fee, '
    275                      '%s Naira Lapel/File Fee and '
    276                      % (matric_gown_fee, lapel_fee))
    277         return text + '250.0 Naira Transaction Charge.'
     291                     'Matriculation Gown Fee, '
     292                     'Lapel/File Fee and ')
     293
     294        #return text + '250.0 Naira Transaction Charge.'
     295
     296        return text + 'Transaction Charge.'
    278297
    279298class CustomStudyLevelDisplayFormPage(StudyLevelDisplayFormPage):
Note: See TracChangeset for help on using the changeset viewer.