Changeset 10841


Ignore:
Timestamp:
11 Dec 2013, 12:13:52 (11 years ago)
Author:
Henrik Bettermann
Message:

Catch traceback. Regression test will follow.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/utils.py

    r10832 r10841  
    5555        payment.p_item = container.title
    5656        payment.p_session = container.year
     57        payment.amount_auth = 0.0
    5758        if container.prefix.startswith('special'):
    58             fee_name = applicant.special_application + '_fee'
    59             payment.amount_auth = getattr(session_config, fee_name, 0.0)
    60             payment.p_category = applicant.special_application
     59            if applicant.special_application:
     60                fee_name = applicant.special_application + '_fee'
     61                payment.amount_auth = getattr(session_config, fee_name, 0.0)
     62                payment.p_category = applicant.special_application
    6163            return
    6264        payment.p_category = 'application'
Note: See TracChangeset for help on using the changeset viewer.