Changeset 15764


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
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.dspg/trunk/buildout.cfg

    r14716 r15764  
    3939update-versions-file = versions.cfg
    4040
     41index = https://pypi.python.org/simple/
     42
    4143# eggs will be installed in the default buildout location
    4244# (see .buildout/default.cfg in your home directory)
  • main/kofacustom.dspg/trunk/layout/theme.html

    r14451 r15764  
    198198
    199199        <div class="col-md-10 content kofa-content-narrow">
     200          <div id="logo-container-narrow">
     201            <img src="static_custom/dspg_logo.png" width="65">
     202          </div>
    200203          <div class="well">
    201204            <div class="kofa-content">
     
    341344      <div class="row">
    342345        <div class="col-md-12 content kofa-content-wide">
     346          <div id="logo-container-wide">
     347            <img src="static_custom/dspg_logo.png" width="80">
     348          </div>
    343349          <div class="well kofa-content">
    344350            <div class="actionbar">
  • 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.