Changeset 14778
- Timestamp:
- 7 Aug 2017, 14:43:19 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/remita/browser.py
r14777 r14778 53 53 54 54 @property 55 def demo_lineitems(self):55 def lineitems(self): 56 56 ba1 = self.context.amount_auth / 2 57 57 ba2 = self.context.amount_auth / 2 … … 72 72 73 73 @property 74 def li neitems(self):74 def live_lineitems(self): 75 75 provider_amt = 0.0 76 76 if self.context.p_category == 'schoolfee' and \ … … 100 100 if not module_activated(self.context.student.current_session): 101 101 return 102 self.orderId = self.context.p_id 103 self.amount = str(self.context.amount_auth) 102 104 error = self.init_update() 103 105 if error: … … 105 107 self.redirect(self.url(self.context, '@@index')) 106 108 return 107 self.orderId = self.context.p_id108 self.amount = str(self.context.amount_auth)109 109 return 110 110 … … 137 137 138 138 @property 139 def demo_lineitems(self):139 def lineitems(self): 140 140 lineitems = ( 141 141 {"lineItemsId":"itemid1","beneficiaryName":"Klaus Mueller", … … 149 149 150 150 @property 151 def li neitems(self):151 def live_lineitems(self): 152 152 provider_amt = 400.0 153 153 if self.context.__parent__.applicant_id.startswith('cbt'): … … 167 167 if not module_activated(self.context.__parent__.__parent__.year): 168 168 return 169 self.orderId = self.context.p_id 170 self.amount = str(self.context.amount_auth) 169 171 error = self.init_update() 170 172 if error: … … 172 174 self.redirect(self.url(self.context, '@@index')) 173 175 return 174 self.orderId = self.context.p_id175 self.amount = str(self.context.amount_auth)176 176 return
Note: See TracChangeset for help on using the changeset viewer.