Changeset 7880 for main/waeup.custom/trunk/src/waeup/custom/students
- Timestamp:
- 14 Mar 2012, 15:39:49 (13 years ago)
- Location:
- main/waeup.custom/trunk/src/waeup/custom/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.custom/trunk/src/waeup/custom/students/browser.py
r7879 r7880 117 117 self.amount = (self.context.amount_auth + self.context.surcharge_1 + 118 118 self.context.surcharge_2 + self.context.surcharge_3) 119 self.amount_100 = 100 * self.amount 119 120 self.local_date_time = str(self.context.creation_date) 120 121 certificate = getattr(self.student['studycourse'],'certificate',None) … … 126 127 xmldict['faculty'] = None 127 128 xmldict['detail_ref'] = self.context.p_id 128 xmldict['provider_amt'] = self.context.surcharge_1129 xmldict['provider_amt'] = 100 * self.context.surcharge_1 129 130 xmldict['provider_acct'] = self.provider_acct 130 131 xmldict['provider_bank_id'] = self.provider_bank_id 131 132 xmldict['provider_item_name'] = self.provider_item_name 132 xmldict['institution_amt'] = self.amount133 xmldict['institution_amt'] = 100 * self.context.amount_auth 133 134 xmldict['institution_acct'] = self.institution_acct 134 135 xmldict['institution_bank_id'] = self.institution_bank_id 135 136 xmldict['institution_item_name'] = self.context.p_category 136 137 xmldict['institution_name'] = self.institution_name 138 # Interswitch amount is not part of the xml data 137 139 xmltext = """<payment_item_detail> 138 140 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s"> -
main/waeup.custom/trunk/src/waeup/custom/students/browser_templates/goto_interswitch.pt
r7879 r7880 62 62 <input type="hidden" name="site_name" tal:attributes="value view/site_name" /> 63 63 <input type="hidden" name="local_date_time" tal:attributes="value view/local_date_time" /> 64 <input type="hidden" name="amount" tal:attributes="value view/amount " />64 <input type="hidden" name="amount" tal:attributes="value view/amount_100" /> 65 65 66 66 <input type="hidden" name="txn_ref" tal:attributes="value view/context/p_id" />
Note: See TracChangeset for help on using the changeset viewer.