Ignore:
Timestamp:
14 Nov 2007, 17:49:39 (17 years ago)
Author:
Henrik Bettermann
Message:

rename sessions_voc.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_epayment/getSchoolFee.py

    r2534 r2653  
    105105         }
    106106
    107 #sessionstring = "School Fee for Session %s" % context.portal_vocabularies.sessions.get(session)
    108 # sessionstring = "School Fee for Session %s" % context.sessions_voc(key=session)
    109 # fee_1_data = ("22200",sessionstring)
    110 # fee_2_data = ("23700",sessionstring)
    111 
    112 # if faculty in fee1:
    113 #     return fee_1_data
    114 # return fee_2_data
    115107d = {}
    116108if brain.mode.endswith('_ft'):
     
    120112    d['new'] = session_fees[brain.session][f]
    121113    d['returning'] = 'not set'
    122     d['description'] = "School Fee for Session %s" % context.sessions_voc(key=brain.session)
     114    d['description'] = "School Fee for Session %s" % context.getSessionsVoc(key=brain.session)
    123115if pt_fees.has_key(brain.course):
    124116    d = pt_fees[brain.course]
    125     d['description'] = "School Fee for Session %s, %s" % (context.sessions_voc(key=brain.session),
     117    d['description'] = "School Fee for Session %s, %s" % (context.getSessionsVoc(key=brain.session),
    126118                                                         d['description'])
    127119return d
Note: See TracChangeset for help on using the changeset viewer.