Ignore:
Timestamp:
5 Apr 2016, 05:48:39 (9 years ago)
Author:
Henrik Bettermann
Message:

Catch pg balance payments.

File:
1 edited

Legend:

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

    r13784 r13799  
    158158            self.output = ERROR_PART1 + 'Not a postgrad student' + ERROR_PART2
    159159            return
    160         if student and '-PG' not in PAYMENT_TYPE and student.is_postgrad:
     160        if student and '-PG' not in PAYMENT_TYPE and student.is_postgrad \
     161            and results[0].p_item != 'Balance':
    161162            self.output = ERROR_PART1 + 'Postgrad student' + ERROR_PART2
    162163            return
Note: See TracChangeset for help on using the changeset viewer.