Changeset 11758 for main


Ignore:
Timestamp:
12 Jul 2014, 05:26:20 (10 years ago)
Author:
Henrik Bettermann
Message:

More special payment fee categories added.

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

Legend:

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

    r11683 r11758  
    113113        required = True,
    114114        )
     115    pgd_transcript_local_fee = schema.Float(
     116        title = _(u'PGD Transcript (local) Fee'),
     117        default = 0.0,
     118        required = True,
     119        )
    115120    transcript_foreign_fee = schema.Float(
    116121        title = _(u'ND Transcript (foreign) Fee'),
     
    123128        required = True,
    124129        )
     130    pdg_transcript_foreign_fee = schema.Float(
     131        title = _(u'PGD Transcript (foreign) Fee'),
     132        default = 0.0,
     133        required = True,
     134        )
    125135    ver_result_fee = schema.Float(
    126136        title = _(u'Verification of Result Fee'),
     
    213223        required = True,
    214224        )
     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
    215236
    216237    def getSessionString():
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/browser.py

    r11683 r11758  
    180180        elif self.context.p_category == 'pgd_certificate':
    181181            self.pay_item_id = '136'
     182        elif self.context.p_category == 'log_book_fees':
     183            self.pay_item_id = '137'
     184            xmldict['institution_acct'] = "1010508401"
     185            xmldict['institution_bank_id'] = '117'
     186        elif self.context.p_category == 'pgd_transcript_foreign':
     187            self.pay_item_id = '138'
     188        elif self.context.p_category == 'pgd_transcript_local':
     189            self.pay_item_id = '139'
     190        elif self.context.p_category == 'jamb_regularization':
     191            self.pay_item_id = '140'
     192            xmldict['institution_acct'] = "0838798020"
     193            xmldict['institution_bank_id'] = '76'
    182194        elif 'maintenance' in self.context.p_category:
    183195            self.pay_item_id = '102'
     
    341353            elif self.context.p_category == 'pgd_certificate':
    342354                self.pay_item_id = '136'
     355            elif self.context.p_category == 'log_book_fees':
     356                self.pay_item_id = '137'
     357                xmldict['institution_acct'] = "1010508401"
     358                xmldict['institution_bank_id'] = '117'
     359            elif self.context.p_category == 'pgd_transcript_foreign':
     360                self.pay_item_id = '138'
     361            elif self.context.p_category == 'pgd_transcript_local':
     362                self.pay_item_id = '139'
     363            elif self.context.p_category == 'jamb_regularization':
     364                self.pay_item_id = '140'
     365                xmldict['institution_acct'] = "0838798020"
     366                xmldict['institution_bank_id'] = '76'
    343367            else:
    344368                xmldict['institution_acct'] = '00000000000'
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/utils/utils.py

    r11685 r11758  
    6666        'transcript_local': 'ND Transcript (local)',
    6767        'hnd_transcript_local': 'HND Transcript (local)',
     68        'pgd_transcript_local': 'PGD Transcript (local)',
    6869        'transcript_foreign': 'ND Transcript (foreign)',
    6970        'hnd_transcript_foreign': 'HND Transcript (foreign)',
     71        'pgd_transcript_foreign': 'PGD Transcript (foreign)',
    7072        'ver_result': 'Verification of Result',
    7173        'change_course': 'Change of Course',
     
    8486        'hnd_conv_brochure': 'HND Convocation Brochure',
    8587        'pgd_conv_brochure': 'PGD Convocation Brochure',
     88        'log_book_fees': 'Log Book Fees',
     89        'jamb_regularization': 'Jamb Regularization',
    8690        }
    8791
     
    100104        'transcript_local': 'ND Transcript (local)',
    101105        'hnd_transcript_local': 'HND Transcript (local)',
     106        'pgd_transcript_local': 'PGD Transcript (local)',
    102107        'transcript_foreign': 'ND Transcript (foreign)',
    103108        'hnd_transcript_foreign': 'HND Transcript (foreign)',
     109        'pgd_transcript_foreign': 'PGD Transcript (foreign)',
    104110        'ver_result': 'Verification of Result',
    105111        'change_course': 'Change of Course',
     
    118124        'hnd_conv_brochure': 'HND Convocation Brochure',
    119125        'pgd_conv_brochure': 'PGD Convocation Brochure',
     126        'log_book_fees': 'Log Book Fees',
     127        'jamb_regularization': 'Jamb Regularization',
    120128        }
    121129
     
    141149        'transcript_local': 'ND Transcript (local)',
    142150        'hnd_transcript_local': 'HND Transcript (local)',
     151        'pgd_transcript_local': 'PGD Transcript (local)',
    143152        'transcript_foreign': 'ND Transcript (foreign)',
    144153        'hnd_transcript_foreign': 'HND Transcript (foreign)',
     154        'pgd_transcript_foreign': 'PGD Transcript (foreign)',
    145155        'ver_result': 'Verification of Result Payment',
    146156        'change_course': 'Change of Course Payment',
     
    159169        'hnd_conv_brochure': 'HND Convocation Brochure',
    160170        'pgd_conv_brochure': 'PGD Convocation Brochure',
     171        'log_book_fees': 'Log Book Fees',
     172        'jamb_regularization': 'Jamb Regularization',
    161173        }
Note: See TracChangeset for help on using the changeset viewer.