Ignore:
Timestamp:
14 Jul 2014, 13:34:34 (10 years ago)
Author:
Henrik Bettermann
Message:

Fix: Special payment fee attributes must end with '_fee'.

Location:
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interfaces.py

    r11758 r11759  
    213213        required = True,
    214214        )
     215    log_book_fee = schema.Float(
     216        title = _(u'Log Book Fees'),
     217        default = 0.0,
     218        required = True,
     219        )
     220    jamb_regularization_fee = schema.Float(
     221        title = _(u'Jamb Regularization Fee'),
     222        default = 0.0,
     223        required = True,
     224        )
    215225    penalty_ug = schema.Float(
    216226        title = _(u'UG Penalty Fee'),
     
    223233        required = True,
    224234        )
    225     log_book_fees = schema.Float(
    226         title = _(u'Log Book Fees'),
    227         default = 0.0,
    228         required = True,
    229         )
    230     jamb_regularization = schema.Float(
    231         title = _(u'Jamb Regularization'),
    232         default = 0.0,
    233         required = True,
    234         )
    235 
    236235
    237236    def getSessionString():
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/browser.py

    r11758 r11759  
    180180        elif self.context.p_category == 'pgd_certificate':
    181181            self.pay_item_id = '136'
    182         elif self.context.p_category == 'log_book_fees':
     182        elif self.context.p_category == 'log_book':
    183183            self.pay_item_id = '137'
    184184            xmldict['institution_acct'] = "1010508401"
     
    353353            elif self.context.p_category == 'pgd_certificate':
    354354                self.pay_item_id = '136'
    355             elif self.context.p_category == 'log_book_fees':
     355            elif self.context.p_category == 'log_book':
    356356                self.pay_item_id = '137'
    357357                xmldict['institution_acct'] = "1010508401"
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/utils/utils.py

    r11758 r11759  
    8686        'hnd_conv_brochure': 'HND Convocation Brochure',
    8787        'pgd_conv_brochure': 'PGD Convocation Brochure',
    88         'log_book_fees': 'Log Book Fees',
     88        'log_book': 'Log Book Fees',
    8989        'jamb_regularization': 'Jamb Regularization',
    9090        }
     
    124124        'hnd_conv_brochure': 'HND Convocation Brochure',
    125125        'pgd_conv_brochure': 'PGD Convocation Brochure',
    126         'log_book_fees': 'Log Book Fees',
     126        'log_book': 'Log Book Fees',
    127127        'jamb_regularization': 'Jamb Regularization',
    128128        }
     
    169169        'hnd_conv_brochure': 'HND Convocation Brochure',
    170170        'pgd_conv_brochure': 'PGD Convocation Brochure',
    171         'log_book_fees': 'Log Book Fees',
     171        'log_book': 'Log Book Fees',
    172172        'jamb_regularization': 'Jamb Regularization',
    173173        }
Note: See TracChangeset for help on using the changeset viewer.