Changeset 2898


Ignore:
Timestamp:
9 Dec 2007, 18:04:02 (17 years ago)
Author:
joachim
Message:

fix updatePayments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/Payment.py

    r2897 r2898  
    3838        #import pdb;pdb.set_trace()
    3939        for payment in self.aq_parent.objectValues():
    40             student_record = self.getRecordByKey(self.getStudentId())
     40            student_record = self.students_catalog.getRecordByKey(self.getStudentId())
    4141            payment['updatePayment'](student_record)
    4242
     
    7878        wftool = self.portal_workflow
    7979        d = {}
    80         #student_record = self.students_catalog.getRecordByKey(self.getStudentId())
    8180        d['key'] = self.getId()
    8281        d['amount'] = doc.amount
    83         #d['description'] = d['type_description'] = doc.type_description
    8482        category = ''
    8583        if doc.type_description.startswith('School'):
     
    110108        d['resp_card_num'] = doc.resp_card_num
    111109        d['date'] = getattr(doc,'date',None)
    112         # msg = " ".join(["%s: %s" % (key,value) for key,value in d.items()])
    113         # logger.info(msg)
    114110       
    115111        review_state = wftool.getInfoFor(self,'review_state',None)
Note: See TracChangeset for help on using the changeset viewer.