Ignore:
Timestamp:
24 Feb 2013, 11:15:47 (12 years ago)
Author:
Henrik Bettermann
Message:

Put logic of customization of display_item and display_bedcoordinates into global utility methods. This simplifies customization.

File:
1 edited

Legend:

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

    r9868 r9987  
    271271        return send_mail(
    272272            from_name,from_addr,rcpt_name,rcpt_addr,subject,body,config)
     273
     274    def getPaymentItem(self, payment):
     275        """Return payment item.
     276
     277        This method can be used to customize the display_item property method.
     278        """
     279        return payment.p_item
Note: See TracChangeset for help on using the changeset viewer.