Changeset 16175


Ignore:
Timestamp:
21 Jul 2020, 05:36:59 (4 years ago)
Author:
Henrik Bettermann
Message:

Change p_category og transcript application payments.

Change provider amount.

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

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser.py

    r16164 r16175  
    168168        return
    169169
     170    @property
     171    def label(self):
     172        if self.context.prefix.startswith('tsc'):
     173            return _('Request for ${a}',
     174                mapping = {'a':self.context.title})
     175        return _('Apply for ${a}',
     176            mapping = {'a':self.context.title})
     177
    170178class CustomApplicantDisplayFormPage(NigeriaApplicantDisplayFormPage):
    171179    """A display view for applicant data.
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/utils.py

    r16173 r16175  
    6565                 '(2nd supplementary advert)', 'ASE'],
    6666        'spft': ['Special Full-Time Programmes', 'SP'],
    67         'tscf': ['Transcript Application (without student record)', 'TRF'],
    68         'tscs': ['Transcript Application (with student record)', 'TRS'],
     67        'tscf': ['Transcript (without student record)', 'TRF'],
     68        'tscs': ['Transcript (with student record)', 'TRS'],
    6969        }
    7070
     
    132132            cost = DESTINATION_COST[applicant.charge][1]
    133133            payment.amount_auth = applicant.no_copies * cost
    134             payment.p_category = 'transcript'
     134            payment.p_category = 'application'
    135135            return
    136136        else:
  • main/waeup.uniben/trunk/src/waeup/uniben/remita/browser.py

    r16174 r16175  
    263263        if self.context.__parent__.applicant_id.startswith('pre'):
    264264            provider_amt = 2000.0
     265        if self.context.__parent__.applicant_id.startswith('tsc'):
     266            provider_amt = 1200.0
    265267        if self.context.__parent__.applicant_id.startswith('dp'):
    266268            inst_acct = "0040217361038"
Note: See TracChangeset for help on using the changeset viewer.