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

    r14691 r14902  
    9393            elif student.current_mode[-3:] in ('_pt', '_sw'):
    9494                self.pay_item_id = '5701'
    95             elif student.faccode == 'JUPEB':
     95            elif student.is_jupeb:
    9696                self.pay_item_id = '5718'
    9797                #xmldict['institution_acct'] =  '0025186411'
     
    9999        elif self.context.p_category == 'clearance':
    100100            self.pay_item_id = '5702'
    101             if student.faccode == 'JUPEB':
     101            if student.is_jupeb:
    102102                self.pay_item_id = '5722'
    103103            provider_amt = self.dynamic_provider_amt(student)
Note: See TracChangeset for help on using the changeset viewer.