- Timestamp:
- 11 Mar 2025, 19:29:27 (18 hours ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/student.py
r16410 r18036 85 85 'secondinstal', 'clearance',): 86 86 total_amount += ticket.amount_auth 87 if self.is_fresh: 88 minamount = 0.4 * getattr(certificate, 'school_fee_1', 0.0) 89 else: 90 minamount = 0.4 * getattr(certificate, 'school_fee_2', 0.0) 91 if total_amount >= minamount: 92 return True 87 try: 88 if self.is_fresh: 89 minamount = 0.4 * getattr(certificate, 'school_fee_1', 0.0) 90 else: 91 minamount = 0.4 * getattr(certificate, 'school_fee_2', 0.0) 92 if total_amount >= minamount: 93 return True 94 except: 95 pass 93 96 return False 94 97
Note: See TracChangeset for help on using the changeset viewer.