Changeset 8296 for WAeUP_SRP


Ignore:
Timestamp:
27 Apr 2012, 10:54:30 (12 years ago)
Author:
Henrik Bettermann
Message:

Add late registration fee for students in session <11.

Location:
WAeUP_SRP/trunk/skins/waeup_uniben
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_uniben/pay_etranzact.py

    r8028 r8296  
    5353elif returning:
    5454    amount = info['amount'] = fee_dict['returning']
     55
     56if int(student_record.session) < 11:
     57    amount_int = int(amount)
     58    info['amount'] = '%d' % (amount_int + 5000)
     59
    5560info['surcharge'] = '0'  # Uniben doesn't show the surcharge on the slip
    5661info['payment_possible'] = True
  • WAeUP_SRP/trunk/skins/waeup_uniben/pay_interswitch.py

    r8238 r8296  
    4343info['pay_bill_to'] = ''
    4444fee_dict = context.getSchoolFee(student_record)
     45
    4546fulltime = student_record.mode.endswith('_ft')
    4647new = student_record.review_state == 'cleared_and_validated'
     
    5455elif returning:
    5556    amount = info['amount'] = fee_dict['returning']
     57
     58if int(student_record.session) < 11:
     59    amount_int = int(amount)
     60    amount_int += 5000
     61    amount = info['amount'] = '%d' % (amount_int)
     62
    5663if fulltime:
    5764    pay_item_id = "5700"
Note: See TracChangeset for help on using the changeset viewer.