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/remita/browser.py

    r14888 r14902  
    8181            if student.current_mode == 'ug_pt':
    8282                return '2067091679'
    83             if student.faccode == 'JUPEB':
     83            if student.is_jupeb:
    8484                return '1946888188'
    8585        if self.context.p_category == 'bed_allocation':
     
    9494            if student.current_mode.startswith('dp_'):
    9595                return '2067080314'
    96             if student.faccode == 'JUPEB':
     96            if student.is_jupeb:
    9797                return '1947201668'
    9898            if student.is_postgrad:
     
    131131            provider_amt = self.dynamic_provider_amt(self.context.student)
    132132        inst_amt = self.context.amount_auth - provider_amt
    133         if self.context.student.faccode == 'JUPEB' \
     133        if self.context.student.is_jupeb \
    134134            or self.context.student.current_mode == 'dp_ft':
    135135            inst_acct = "0040217361038"
Note: See TracChangeset for help on using the changeset viewer.