Ignore:
Timestamp:
17 Nov 2017, 16:12:06 (7 years ago)
Author:
Henrik Bettermann
Message:

Add ´is_student´ property attribute to student objects.

File:
1 edited

Legend:

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

    r14898 r14902  
    263263            if p_item is None:
    264264                return _('Study course data are incomplete.'), None
    265             if student.faccode == 'JUPEB':
     265            if student.is_jupeb:
    266266                amount = 50000.0
    267267            elif student.faccode.startswith('FCETA'):
     
    279279            except (AttributeError, TypeError):
    280280                return _('Study course data are incomplete.'), None
    281 
    282             #####################################################
    283             #if student.faccode == 'JUPEB':
    284             #    return _('Payment temporarily disabled.'), None
    285             #####################################################
    286 
    287 
    288281            if previous_session:
    289282                # Students can pay for previous sessions in all workflow states.
Note: See TracChangeset for help on using the changeset viewer.