Ignore:
Timestamp:
5 Dec 2012, 08:33:04 (12 years ago)
Author:
Henrik Bettermann
Message:

Add log message to payments.log after student payment approval.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py

    r9758 r9770  
    14811481        success, msg, log = self.context.approveStudentPayment()
    14821482        if log is not None:
     1483            # Add log message to students.log
    14831484            self.context.writeLogMessage(self,log)
     1485            # Add log message to payments.log
     1486            self.context.logger.info(
     1487                '%s,%s,%s,%s,%s,,,,,,,,,,,,' % (
     1488                self.context.student.student_id,
     1489                self.context.p_id, self.context.p_category,
     1490                self.context.amount_auth, self.context.r_code))
    14841491        self.flash(msg)
    14851492        return
Note: See TracChangeset for help on using the changeset viewer.