Ignore:
Timestamp:
7 Nov 2019, 07:44:28 (5 years ago)
Author:
Henrik Bettermann
Message:

Change logo. Add favicon. Add logo to all pages. Reenable admission slip.

Location:
main/kofacustom.dspg/trunk/src/kofacustom/dspg
Files:
4 edited

Legend:

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

    r15707 r15764  
    123123            self.redirect(self.url(self.context, '@@index'))
    124124            return
     125        self.context.r_company = u'interswitch'
    125126        student = self.student
    126127        xmldict = self.xmldict
     
    138139        if self.context.p_category.startswith('schoolfee'):
    139140            self.pay_item_id = '102'
    140             provider_amt = 2800.0
     141            if self.context.p_item != 'Balance':
     142                provider_amt = 2800.0
    141143            tech_fee = 1200.0
    142144            if student.faccode == 'SPAT':
     
    148150        elif self.context.p_category == 'clearance':
    149151            self.pay_item_id = '103'
    150             provider_amt = 500.0
     152            if self.context.p_item != 'Balance':
     153                provider_amt = 500.0
    151154            if student.faccode == 'SPAT':
    152155                xmldict['institution_acct'] = '1015220292'
     
    184187            xmldict['institution_bank_id'] = '8'
    185188        elif self.context.p_category == 'hostel_maintenance':
    186             provider_amt = 500.0
     189            if self.context.p_item != 'Balance':
     190                provider_amt = 500.0
    187191            self.pay_item_id = '117'
    188192            xmldict['institution_acct'] = '2011810353'
     
    492496            self.redirect(self.url(self.context, '@@index'))
    493497            return
     498        self.context.r_company = u'interswitch'
    494499        xmldict = {}
    495500        provider_amt = 500.0
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/browser.py

    r15753 r15764  
    280280
    281281    def render(self):
    282         return
    283282        students_utils = getUtility(IStudentsUtils)
    284283        return students_utils.renderPDFAdmissionLetter(self,
Note: See TracChangeset for help on using the changeset viewer.