Changeset 17037 for main/waeup.uniben/trunk/src
- Timestamp:
- 27 Jul 2022, 11:57:15 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/remita/browser.py
r17035 r17037 303 303 @property 304 304 def lineitems(self): 305 if self.context.__parent__.applicant_id.startswith('dp'): 305 applicant = self.context.__parent__ 306 if applicant.applicant_id.startswith('dp'): 306 307 inst_acct = "0040217361038" 307 308 else: 308 309 inst_acct = "0040217361011" 309 310 310 provider_amt = 1000.0 311 if self.context.__parent__.applicant_id.startswith('pre'):311 if applicant.__parent__.prefix == 'pre': 312 312 provider_amt = 2000.0 313 if self.context.__parent__.applicant_id.startswith('tsc'):313 if applicant.__parent__.prefix.startswith('tsc'): 314 314 provider_amt = 1200.0 315 if self.context.__parent__.order == 'c':315 if applicant.order == 'c': 316 316 provider_amt = 1000.0 317 if self.context.__parent__.applicant_id.startswith('ase'):317 if applicant.__parent__.prefix.startswith('ase'): 318 318 provider_amt = 500.0 319 if self.context.__parent__.applicant_id.startswith('pude'):319 if applicant.__parent__.prefix == 'pude': 320 320 provider_amt = 500.0 321 if self.context.__parent__.applicant_id.startswith('cbt'):321 if applicant.__parent__.prefix == 'cbt': 322 322 provider_amt = 300.0 323 if applicant.__parent__.prefix in ('pt', 'ptext', 'sandwich'): 324 provider_amt = 2000.0 325 if applicant.__parent__.prefix.startswith('pg'): 326 provider_amt = 2000.0 323 327 if self.context.p_item == 'Balance': 324 328 provider_amt = 0.0
Note: See TracChangeset for help on using the changeset viewer.