Ignore:
Timestamp:
4 Feb 2020, 09:50:05 (5 years ago)
Author:
Henrik Bettermann
Message:

Combine sports and library fees.

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

Legend:

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

    r15971 r15978  
    260260        )
    261261
     262    sports_library_fee = schema.Float(
     263        title = _(u'Sports Development and UG Library Fee'),
     264        default = 0.0,
     265        required = True,
     266        )
     267
    262268    ict_fee = schema.Float(
    263269        title = _(u'ICT Fee'),
  • main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py

    r15976 r15978  
    631631
    632632        # Sports Fee
    633         elif self.context.p_category == 'sports':
     633        #elif self.context.p_category == 'sports':
     634        #    self.pay_item_id = '105'
     635        #    xmldict['institution_amt'] = 100 * (
     636        #        gateway_net_amt(self.context.amount_auth))
     637
     638        # Library Fee
     639        #elif self.context.p_category == 'library':
     640        #    self.pay_item_id = '105'
     641        #    xmldict['institution_amt'] = 100 * (
     642        #        gateway_net_amt(self.context.amount_auth))
     643
     644        # Library PG Fee
     645        #elif self.context.p_category == 'library_pg':
     646        #    self.pay_item_id = '105'
     647        #    xmldict['institution_amt'] = 100 * (
     648        #        gateway_net_amt(self.context.amount_auth))
     649
     650        # Sports & Library Fee
     651        elif self.context.p_category == 'sports_library':
    634652            self.pay_item_id = '105'
    635653            xmldict['institution_amt'] = 100 * (
    636654                gateway_net_amt(self.context.amount_auth))
    637655
    638         # Library Fee
    639         elif self.context.p_category == 'library':
    640             self.pay_item_id = '105'
    641             xmldict['institution_amt'] = 100 * (
    642                 gateway_net_amt(self.context.amount_auth))
    643 
    644         # Library PG Fee
    645         elif self.context.p_category == 'library_pg':
    646             self.pay_item_id = '105'
    647             xmldict['institution_amt'] = 100 * (
    648                 gateway_net_amt(self.context.amount_auth))
    649656
    650657        # Late Registration Fee
  • main/waeup.aaue/trunk/src/waeup/aaue/utils/utils.py

    r15971 r15978  
    7171        'library': 'Library Fee UG',
    7272        'library_pg': 'Library Fee PG',
     73        'sports_library': 'Sports Development and UG Library Fee',
    7374        }
    7475
     
    103104        'fac_dep': 'Faculty and Departmental Dues (incl. ICT/Affidavit Dues)',
    104105        'restitution': 'Restitution Fee',
    105         'sports': 'Sports Fee',
    106         'library': 'Library Fee UG',
    107         'library_pg': 'Library Fee PG',
     106        #'sports': 'Sports Fee',
     107        #'library': 'Library Fee UG',
     108        #'library_pg': 'Library Fee PG',
     109        'sports_library': 'Sports Development and UG Library Fee',
    108110        }
    109111
     
    117119        'schoolfee': 'School Fee',
    118120        'late_registration': 'Late Course Registration Fee',
    119         'library_pg': 'Library Fee PG',
     121        #'library_pg': 'Library Fee PG',
     122        'sports_library': 'Sports Development and UG Library Fee',
    120123        }
    121124
     
    125128        'schoolfee_1': 'School Fee (1st instalment)',
    126129        'schoolfee_2': 'School Fee (2nd instalment)',
    127         'sports': 'Sports Fee',
    128         'library': 'Library Fee UG',
     130        #'sports': 'Sports Fee',
     131        #'library': 'Library Fee UG',
     132        'sports_library': 'Sports Development and UG Library Fee',
    129133        }
    130134
     
    141145        'gst_text_book_3': 'Text Book Fee GST222',
    142146        'late_registration': 'Late Course Registration Fee',
    143         'sports': 'Sports Fee',
    144         'library': 'Library Fee UG',
     147        #'sports': 'Sports Fee',
     148        #'library': 'Library Fee UG',
     149        'sports_library': 'Sports Development and UG Library Fee',
    145150        }
    146151
Note: See TracChangeset for help on using the changeset viewer.