Ignore:
Timestamp:
14 Jan 2022, 17:46:51 (3 years ago)
Author:
Henrik Bettermann
Message:

Add text book and registration fees.

Location:
main/waeup.aaue/trunk/src/waeup/aaue
Files:
3 edited

Legend:

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

    r16668 r16749  
    212212        )
    213213
     214    ent_text_book_2_fee = schema.Float(
     215        title = _(u'Text Book Fee ENT211'),
     216        default = 0.0,
     217        required = True,
     218        )
     219
    214220    gst_registration_1_fee = schema.Float(
    215221        title = _(u'Registration Fee GST101 GST102 GST111 GST112'),
     
    226232    ent_registration_1_fee = schema.Float(
    227233        title = _(u'Registration Fee ENT201'),
     234        default = 0.0,
     235        required = True,
     236        )
     237
     238    ent_registration_2_fee = schema.Float(
     239        title = _(u'Registration Fee ENT211'),
    228240        default = 0.0,
    229241        required = True,
  • main/waeup.aaue/trunk/src/waeup/aaue/students/studylevel.py

    r16663 r16749  
    295295                not 'gst_registration_2' in paid_cats:
    296296                return False
    297             #if course.code in ('ENT201',) and \
    298             #    not 'ent_registration_1' in paid_cats:
    299             #    return False
     297            if course.code in ('ENT211',) and \
     298                not 'ent_registration_2' in paid_cats:
     299                return False
    300300            if course.code in ('GST101', 'GST102') and \
    301301                not 'gst_text_book_1' in paid_cats and \
     
    309309                not 'gst_text_book_3' in paid_cats:
    310310                return False
    311             #if course.code in ('ENT201',) and \
    312             #    not 'ent_text_book_1' in paid_cats:
    313             #    return False
     311            if course.code in ('ENT211',) and \
     312                not 'ent_text_book_2' in paid_cats:
     313                return False
    314314            return True
    315315        return False
  • main/waeup.aaue/trunk/src/waeup/aaue/utils/utils.py

    r16669 r16749  
    6363        'gst_text_book_3': 'Text Book Fee GST222',
    6464        'ent_text_book_1': 'Text Book Fee ENT201',
     65        'ent_text_book_2': 'Text Book Fee ENT211',
    6566        'gst_registration_1': 'Registration Fee GST101 GST102 GST111 GST112',
    6667        'gst_registration_2': 'Registration Fee GST222',
    6768        'ent_registration_1': 'Registration Fee ENT201',
     69        'ent_registration_2': 'Registration Fee ENT211',
    6870        'fac_dep': 'Faculty and Departmental Dues (incl. ICT/Affidavit Dues)',
    6971        'ict': 'ICT/Affidavit Dues',
     
    103105        'gst_text_book_3': 'Text Book Fee GST222',
    104106        'ent_text_book_1': 'Text Book Fee ENT201',
     107        'ent_text_book_2': 'Text Book Fee ENT211',
    105108        'gst_registration_1': 'Registration Fee GST101 GST102 GST111 GST112',
    106109        'gst_registration_2': 'Registration Fee GST222',
    107110        'ent_registration_1': 'Registration Fee ENT201',
     111        'ent_registration_2': 'Registration Fee ENT211',
    108112        #'fac_dep': 'Faculty and Departmental Dues (incl. ICT/Affidavit Dues)',
    109113        'ict': 'ICT/Affidavit Dues',
     
    149153        'ent_registration_1': 'Registration Fee ENT201',
    150154        'ent_text_book_1': 'Text Book Fee ENT201',
     155        'ent_registration_2': 'Registration Fee ENT211',
     156        'ent_text_book_2': 'Text Book Fee ENT211',
    151157        'gst_registration_1': 'Registration Fee GST101 GST102 GST111 GST112',
    152158        'gst_registration_2': 'Registration Fee GST222',
     
    201207        'gst_text_book_3': 'Text Book Fee GST222',
    202208        'ent_text_book_1': 'Text Book Fee ENT201',
     209        'ent_text_book_2': 'Text Book Fee ENT211',
    203210        'gst_registration_1': 'Registration Fee GST101 GST102 GST111 GST112',
    204211        'gst_registration_2': 'Registration Fee GST222',
    205212        'ent_registration_1': 'Registration Fee ENT201',
     213        'ent_registration_2': 'Registration Fee ENT211',
    206214        #'fac_dep': 'Faculty and Departmental Dues (incl. ICT/Affidavit Dues)',
    207215        'ict': 'ICT/Affidavit Dues',
Note: See TracChangeset for help on using the changeset viewer.