Changeset 14799 for main


Ignore:
Timestamp:
14 Aug 2017, 07:11:58 (7 years ago)
Author:
Henrik Bettermann
Message:

Configure more serviceItemIds.

File:
1 edited

Legend:

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

    r14797 r14799  
    8383            if student.faccode == 'JUPEB':
    8484                return '1946888188'
     85        if self.context.p_category == 'bed_allocation':
     86            if student.is_postgrad:
     87                return '2067086599'
     88            return '2067089893'
     89        if self.context.p_category == 'hostel_maintenance':
     90            if student.is_postgrad:
     91                return '2067089226'
     92            return '2066966390'
     93        if self.context.p_category == 'clearance':
     94            if student.current_mode.startswith('dp_'):
     95                return '2067080314'
     96            if student.faccode == 'JUPEB':
     97                return '1947201668'
     98            if student.is_postgrad:
     99                return '2067086157'
     100            return '2067089446'
     101        if self.context.p_category == 'jupeb':
     102            return '1947198586'
    85103        return ''
    86104
     
    175193    @property
    176194    def serviceTypeId(self):
    177         return SERVICETYPEID
     195        applicant = self.context.__parent__
     196        return ''
    178197
    179198    @property
    180199    def lineitems(self):
    181         lineitems = (
     200        demo_lineitems = (
    182201                      {"lineItemsId":"itemid1","beneficiaryName":"Klaus Mueller",
    183202                      "beneficiaryAccount":"6020067886","bankCode":"011",
     
    190209
    191210    @property
    192     def live_lineitems(self):
     211    def lineitems(self):
    193212        provider_amt = 400.0
    194213        if self.context.__parent__.applicant_id.startswith('cbt'):
Note: See TracChangeset for help on using the changeset viewer.