Changeset 15771
- Timestamp:
- 7 Nov 2019, 16:07:07 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/etranzact/payoutletbrowser.py
r15770 r15771 115 115 return 116 116 117 class EtranzactEnterPinPageApplicant( EtranzactEnterPinPageStudent):117 class EtranzactEnterPinPageApplicant(KofaPage): 118 118 """Enter confirmation PIN and submit to `EtranzactQueryHistoryPageApplicant` 119 119 """ 120 120 grok.require('waeup.payApplicant') 121 121 grok.context(INigeriaApplicantOnlinePayment) 122 grok.name('enterpin') 123 grok.template('enterpin') 124 125 def update(self): 126 if not module_activated( 127 self.context.__parent__.__parent__.year, self.context): 128 return 129 super(EtranzactEnterPinPageStudent, self).update() 130 # Already now it becomes an Etranzact payment. We set the net amount 131 # and add the gateway amount. 132 if not self.context.r_company: 133 self.context.net_amt = self.context.amount_auth 134 self.context.amount_auth += self.gateway_amt 135 self.context.gateway_amt = self.gateway_amt 136 self.context.r_company = u'etranzact' 137 return 122 138 123 139 class EtranzactQueryHistoryPageStudent(UtilityView, grok.View):
Note: See TracChangeset for help on using the changeset viewer.