Ignore:
Timestamp:
2 Feb 2019, 09:24:55 (6 years ago)
Author:
Henrik Bettermann
Message:

Disable samePaymentMade for bed_allocation payments.

File:
1 edited

Legend:

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

    r15314 r15318  
    389389            category = 'hostel_maintenance'
    390390        # Create ticket.
    391         if self.samePaymentMade(student, category, p_item, p_session):
     391        if category != 'bed_allocation' \
     392            and self.samePaymentMade(student, category, p_item, p_session):
    392393            return _('This type of payment has already been made.'), None
    393394        if self._isPaymentDisabled(p_session, category, student):
Note: See TracChangeset for help on using the changeset viewer.