Ignore:
Timestamp:
21 Jan 2007, 13:52:05 (18 years ago)
Author:
Henrik Bettermann
Message:

payed -> paid
action added
action icon added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/getTransferInfo.py

    r1333 r1338  
    1313"""
    1414import logging
    15 logger = logging.getLogger('Student.Clearance.Info')
     15logger = logging.getLogger('Student.Transfer.Info')
    1616from DateTime import DateTime
    1717
     
    4242student = getattr(students_object,student_id)
    4343payments = getattr(student,'payments').objectIds()
    44 info['payed'] = False
     44info['paid'] = False
    4545for payment in payments:
    4646    if payment.startswith('transfer'):
    47         info['payed'] = True
     47        info['paid'] = True
    4848        payments_obj = getattr(student,'payments')
    4949        payment_obj = getattr(payments_obj,payment)
    5050        info['pin'] = payment_obj.getContent().order_id
    5151        break
    52        
     52
    5353
    5454#student = getattr(students_object, student_id)
     
    6464if len(results) > 0:
    6565    for r in results:
    66         taken.append(r) 
     66        taken.append(r)
    6767info['taken'] = taken
    6868
    6969# for testing of transfer forms
    70 info['payed'] = True
    71 info['pin'] = 'CLR-1-0123456789'     
     70info['paid'] = True
     71info['pin'] = 'CLR-1-0123456789'
    7272
    7373
Note: See TracChangeset for help on using the changeset viewer.