Changeset 16810


Ignore:
Timestamp:
16 Feb 2022, 07:48:07 (3 years ago)
Author:
Henrik Bettermann
Message:

Consider ent_combined payments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/students/studylevel.py

    r16757 r16810  
    308308            if course.code in ('ENT201',) and \
    309309                not 'ent_registration_1' in paid_cats and \
    310                 not 'ent_registration_0' in paid_cats:
     310                not 'ent_registration_0' in paid_cats and \
     311                not 'ent_combined' in paid_cats:
    311312                return False
    312313            if course.code in ('ENT211',) and \
    313314                not 'ent_registration_2' in paid_cats and \
    314                 not 'ent_registration_0' in paid_cats:
     315                not 'ent_registration_0' in paid_cats and \
     316                not 'ent_combined' in paid_cats:
    315317                return False
    316318            if course.code in ('ENT201',) and \
    317319                not 'ent_text_book_1' in paid_cats and \
    318                 not 'ent_text_book_0' in paid_cats:
     320                not 'ent_text_book_0' in paid_cats and \
     321                not 'ent_combined' in paid_cats:
    319322                return False
    320323            if course.code in ('ENT211',) and \
    321324                not 'ent_text_book_2' in paid_cats and \
    322                 not 'ent_text_book_0' in paid_cats:
     325                not 'ent_text_book_0' in paid_cats and \
     326                not 'ent_combined' in paid_cats:
    323327                return False
    324328            return True
Note: See TracChangeset for help on using the changeset viewer.