Index: main/waeup.uniben/trunk/src/waeup/uniben/remita/browser.py
===================================================================
--- main/waeup.uniben/trunk/src/waeup/uniben/remita/browser.py	(revision 14902)
+++ main/waeup.uniben/trunk/src/waeup/uniben/remita/browser.py	(revision 14960)
@@ -81,4 +81,6 @@
             if student.current_mode == 'ug_pt':
                 return '2067091679'
+            if student.current_mode == 'special_ft':
+                return '2750318564' # Module 2
             if student.is_jupeb:
                 return '1946888188'
@@ -101,4 +103,8 @@
         if self.context.p_category == 'jupeb':
             return '1947198586'
+        if self.context.p_category == 'pharmd_1': 
+            return '2750314820' # Clerkship
+        if self.context.p_category == 'pharmd_2': 
+            return '2750174184' # Module 1
         return ''
 
@@ -124,4 +130,6 @@
     @property
     def lineitems(self):
+        inst_bankcode = "000"
+        inst_acct = "0040217361011"
         provider_amt = 0.0
         if self.context.p_category == 'schoolfee' and \
@@ -130,14 +138,15 @@
         elif self.context.p_category == 'clearance':
             provider_amt = self.dynamic_provider_amt(self.context.student)
-        inst_amt = self.context.amount_auth - provider_amt
+        elif self.context.p_category == 'pharmd_1':
+            inst_acct = "0020197061015"
+            provider_amt = 0.0
         if self.context.student.is_jupeb \
             or self.context.student.current_mode == 'dp_ft':
             inst_acct = "0040217361038"
-        else:
-            inst_acct = "0040217361011"
+        inst_amt = self.context.amount_auth - provider_amt
         if provider_amt:
             lineitems = (
                           {"lineItemsId":"itemid1","beneficiaryName":"Uniben",
-                          "beneficiaryAccount":inst_acct,"bankCode":"000",
+                          "beneficiaryAccount":inst_acct,"bankCode":inst_bankcode,
                           "beneficiaryAmount":inst_amt,"deductFeeFrom":"1"},
                           {"lineItemsId":"itemid2","beneficiaryName":"WAeAC",
@@ -148,7 +157,27 @@
             lineitems = (
                           {"lineItemsId":"itemid1","beneficiaryName":"Uniben",
-                          "beneficiaryAccount":inst_acct,"bankCode":"000",
+                          "beneficiaryAccount":inst_acct,"bankCode":inst_bankcode,
                           "beneficiaryAmount":inst_amt,"deductFeeFrom":"1"},
                         )
+        # Split pharmd school fee payments into 3 parts if students decide to pay the
+        # entire school fee at once. If the amount is less than N240000, the student
+        # has obviously paid the first installment of N80000 (pharmd_1)
+        if self.context.p_category == 'schoolfee' \
+            and self.context.student.current_mode == 'special_ft' \
+            and self.context.amount_auth >= 240000:
+            pcn_amt = 80000.0
+            inst_amt -= pcn_amt
+            lineitems = (
+                          {"lineItemsId":"itemid1","beneficiaryName":"Uniben",
+                          "beneficiaryAccount":inst_acct,"bankCode":inst_bankcode,
+                          "beneficiaryAmount":inst_amt,"deductFeeFrom":"1"},
+                          {"lineItemsId":"itemid2","beneficiaryName":"PCN",
+                          "beneficiaryAccount":"0020197061015","bankCode":inst_bankcode,
+                          "beneficiaryAmount":pcn_amt,"deductFeeFrom":"0"},
+                          {"lineItemsId":"itemid3","beneficiaryName":"WAeAC",
+                          "beneficiaryAccount":"1014261520","bankCode":"057",
+                          "beneficiaryAmount":provider_amt,"deductFeeFrom":"0"}
+                        )
+        self.context.provider_amt = provider_amt
         return lineitems
 
@@ -240,4 +269,5 @@
                       "beneficiaryAmount":provider_amt,"deductFeeFrom":"0"}
                     )
+        self.context.provider_amt = provider_amt
         return lineitems
 
