Ignore:
Timestamp:
27 Oct 2012, 06:17:24 (12 years ago)
Author:
Henrik Bettermann
Message:

Log payment category also in doAfterStudentPayment.

File:
1 edited

Legend:

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

    r9278 r9438  
    115115            if error is not None:
    116116                return False, error, error
    117         log = 'successful payment: %s' % self.p_id
     117        log = 'successful %s payment: %s' % (self.p_category, self.p_id)
    118118        msg = _('Successful payment')
    119119        return True, msg, log
     
    126126            if error is not None:
    127127                return False, error, error
    128         log = 'payment approved: %s' % self.p_id
     128        log = '%s payment approved: %s' % (self.p_category, self.p_id)
    129129        msg = _('Payment approved')
    130130        return True, msg, log
Note: See TracChangeset for help on using the changeset viewer.