Ignore:
Timestamp:
15 Sep 2026, 13:50:57 (2 months ago)
Author:
Henrik Bettermann
Message:

Set provider_amt attribute.

Location:
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/interswitch/browser.py

    r18330 r18332  
    141141        xmldict['institution_amt'] = 100 * self.context.net_amt - (
    142142            100 * provider_amt)
     143        self.context.provider_amt = provider_amt
    143144
    144145        if grok.getSite().__name__ == 'iuokada-cdl':
  • main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/utils.py

    r18331 r18332  
    395395        payment = createObject(u'waeup.StudentOnlinePayment')
    396396        timestamp = ("%d" % int(time()*10000))[1:]
    397         if category in (
    398             'registration', 'required_combi', 'pg_other', 'jupeb_reg'):
    399             payment.provider_amt = 5000.0
    400         if category in (
    401             'schoolfee', 'schoolfee40') and student.is_jupeb:
    402             payment.provider_amt = 5000.0
    403397        payment.p_id = "p%s" % timestamp
    404398        payment.p_category = category
    … …  
    523517        payment = createObject(u'waeup.StudentOnlinePayment')
    524518        timestamp = ("%d" % int(time()*10000))[1:]
    525         if category in (
    526             'registration', 'required_combi', 'pg_other', 'jupeb_reg'):
    527             payment.provider_amt = 10000.0
    528         if category in (
    529             'schoolfee', 'schoolfee40') and student.is_jupeb:
    530             payment.provider_amt = 10000.0
    531519        payment.p_id = "p%s" % timestamp
    532520        payment.p_category = category
Note: See TracChangeset for help on using the changeset viewer.