Changeset 15071 for main


Ignore:
Timestamp:
30 Jun 2018, 06:18:27 (6 years ago)
Author:
Henrik Bettermann
Message:

Add new payment categories.

Location:
main/kofacustom.edopoly/trunk/src/kofacustom/edopoly
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/interfaces.py

    r15018 r15071  
    9393        )
    9494
     95    certificate_confirm_fee = schema.Float(
     96        title = _(u'Certificate Confirmation Fee'),
     97        default = 0.0,
     98        required = False,
     99        )
     100
     101    final_clearance_fee = schema.Float(
     102        title = _(u'Final Clearance Fee'),
     103        default = 0.0,
     104        required = False,
     105        )
     106
    95107    def getSessionString():
    96108        """Returns the session string from the vocabulary.
  • main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/students/utils.py

    r15064 r15071  
    205205        elif category == 'certificate':
    206206            amount = academic_session.certificate_fee
     207        elif category == 'certificate_confirm':
     208            amount = academic_session.certificate_confirm_fee
     209        elif category == 'final_clearance':
     210            amount = academic_session.final_clearance_fee
     211        elif category == 'late_registration':
     212            amount = academic_session.late_registration_fee
    207213        if amount in (0.0, None):
    208214            return _('Amount could not be determined.'), None
  • main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/utils/utils.py

    r15069 r15071  
    3636        'transcript': 'Transcript Fee',
    3737        'certificate': 'Certificate Fee',
     38        'certificate_confirm': 'Certificate Confirmation Fee',
     39        'late_registration': 'Late Course Registration Fee',
     40        'final_clearance': 'Final Clearance Fee',
    3841        }
    3942
     
    4346        'schoolfee': 'Tuition and Exams Fee',
    4447        'ict_entre': 'ICT and Entrepreneur Fee',
     48        'certificate_confirm': 'Certificate Confirmation Fee',
     49        'final_clearance': 'Final Clearance Fee',
    4550        }
    4651
     
    5560        #'transcript': 'Transcript Fee',
    5661        'certificate': 'Certificate Fee',
     62        'certificate_confirm': 'Certificate Confirmation Fee',
     63        'late_registration': 'Late Course Registration Fee',
     64        'final_clearance': 'Final Clearance Fee',
    5765        }
    5866
Note: See TracChangeset for help on using the changeset viewer.