Changeset 14970 for main/waeup.uniben
- Timestamp:
- 16 Mar 2018, 11:35:33 (7 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/remita/browser.py
r14960 r14970 103 103 if self.context.p_category == 'jupeb': 104 104 return '1947198586' 105 if self.context.p_category == 'pharmd_1':106 return '2750314820' # Clerkship105 #if self.context.p_category == 'pharmd_1': 106 # return '2750314820' # Clerkship 107 107 if self.context.p_category == 'pharmd_2': 108 108 return '2750174184' # Module 1 … … 138 138 elif self.context.p_category == 'clearance': 139 139 provider_amt = self.dynamic_provider_amt(self.context.student) 140 elif self.context.p_category == 'pharmd_1':141 inst_acct = "0020197061015"142 provider_amt = 0.0140 #elif self.context.p_category == 'pharmd_1': 141 # inst_acct = "0020197061015" 142 # provider_amt = 0.0 143 143 if self.context.student.is_jupeb \ 144 144 or self.context.student.current_mode == 'dp_ft': … … 163 163 # entire school fee at once. If the amount is less than N240000, the student 164 164 # has obviously paid the first installment of N80000 (pharmd_1) 165 if self.context.p_category == 'schoolfee' \ 166 and self.context.student.current_mode == 'special_ft' \ 167 and self.context.amount_auth >= 240000: 168 pcn_amt = 80000.0 169 inst_amt -= pcn_amt 170 lineitems = ( 171 {"lineItemsId":"itemid1","beneficiaryName":"Uniben", 172 "beneficiaryAccount":inst_acct,"bankCode":inst_bankcode, 173 "beneficiaryAmount":inst_amt,"deductFeeFrom":"1"}, 174 {"lineItemsId":"itemid2","beneficiaryName":"PCN", 175 "beneficiaryAccount":"0020197061015","bankCode":inst_bankcode, 176 "beneficiaryAmount":pcn_amt,"deductFeeFrom":"0"}, 177 {"lineItemsId":"itemid3","beneficiaryName":"WAeAC", 178 "beneficiaryAccount":"1014261520","bankCode":"057", 179 "beneficiaryAmount":provider_amt,"deductFeeFrom":"0"} 180 ) 165 # (disabled on 16/03/18) 166 #if self.context.p_category == 'schoolfee' \ 167 # and self.context.student.current_mode == 'special_ft' \ 168 # and self.context.amount_auth >= 240000: 169 # pcn_amt = 80000.0 170 # inst_amt -= pcn_amt 171 # lineitems = ( 172 # {"lineItemsId":"itemid1","beneficiaryName":"Uniben", 173 # "beneficiaryAccount":inst_acct,"bankCode":inst_bankcode, 174 # "beneficiaryAmount":inst_amt,"deductFeeFrom":"1"}, 175 # {"lineItemsId":"itemid2","beneficiaryName":"PCN", 176 # "beneficiaryAccount":"0020197061015","bankCode":inst_bankcode, 177 # "beneficiaryAmount":pcn_amt,"deductFeeFrom":"0"}, 178 # {"lineItemsId":"itemid3","beneficiaryName":"WAeAC", 179 # "beneficiaryAccount":"1014261520","bankCode":"057", 180 # "beneficiaryAmount":provider_amt,"deductFeeFrom":"0"} 181 # ) 181 182 self.context.provider_amt = provider_amt 182 183 return lineitems -
main/waeup.uniben/trunk/src/waeup/uniben/students/utils.py
r14960 r14970 364 364 # installments in current session are deducted. 365 365 if student.current_mode == 'special_ft': 366 amount = 240000.0 - self._pharmdInstallments(student)366 amount = 160000.0 - self._pharmdInstallments(student) 367 367 # Give 50% school fee discount to staff members. 368 368 if student.is_staff: -
main/waeup.uniben/trunk/src/waeup/uniben/utils/utils.py
r14965 r14970 87 87 'registration': 'Total Registration Fee', 88 88 'clinexam':'Clinical Examination Fee', 89 'pharmd_1':'Clerkship Fee',89 #'pharmd_1':'Clerkship Fee', 90 90 'pharmd_2':'Module 1 Fee', 91 91 } … … 106 106 'jupeb': 'JUPEB Examination Fee', 107 107 'clinexam':'Clinical Examination Fee', 108 'pharmd_1':'PharmD Clerkship Fee (1st school fee prepayment)',108 #'pharmd_1':'PharmD Clerkship Fee (1st school fee prepayment)', 109 109 'pharmd_2':'PharmD Module 1 Fee (2nd school fee prepayment)', 110 110 }
Note: See TracChangeset for help on using the changeset viewer.