Ignore:
Timestamp:
25 Jan 2022, 08:25:36 (3 years ago)
Author:
Henrik Bettermann
Message:

Implement ENT211 payments.

File:
1 edited

Legend:

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

    r16749 r16754  
    295295                not 'gst_registration_2' in paid_cats:
    296296                return False
    297             if course.code in ('ENT211',) and \
    298                 not 'ent_registration_2' in paid_cats:
    299                 return False
    300297            if course.code in ('GST101', 'GST102') and \
    301298                not 'gst_text_book_1' in paid_cats and \
     
    309306                not 'gst_text_book_3' in paid_cats:
    310307                return False
     308            if course.code in ('ENT201',) and \
     309                not 'ent_registration_1' in paid_cats and \
     310                not 'ent_registration_0' in paid_cats:
     311                return False
    311312            if course.code in ('ENT211',) and \
    312                 not 'ent_text_book_2' in paid_cats:
     313                not 'ent_registration_2' in paid_cats and \
     314                not 'ent_registration_0' in paid_cats:
     315                return False
     316            if course.code in ('ENT201',) and \
     317                not 'ent_text_book_1' in paid_cats and \
     318                not 'ent_text_book_0' in paid_cats:
     319                return False
     320            if course.code in ('ENT211',) and \
     321                not 'ent_text_book_2' in paid_cats and \
     322                not 'ent_text_book_0' in paid_cats:
    313323                return False
    314324            return True
Note: See TracChangeset for help on using the changeset viewer.