Index: /main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py
===================================================================
--- /main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py	(revision 17081)
+++ /main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py	(revision 17082)
@@ -391,6 +391,4 @@
                         gateway_net_amt(self.context.amount_auth)
                         - provider_amt
-                        - joint_venture_amt
-                        - aaue_share_amt
                         - student_union_due_amt
                         - student_welfare_assurance_amt
@@ -410,7 +408,26 @@
 <item_detail item_id="7" item_name="Joint Venture" item_amt="%(joint_venture_amt)d" bank_id="%(joint_venture_bank_id)s" acct_num="%(joint_venture_acct)s" />
 <item_detail item_id="8" item_name="AAUE Share" item_amt="%(aaue_share_amt)d" bank_id="%(aaue_share_bank_id)s" acct_num="%(aaue_share_acct)s" />""" % xmldict
+                        xmldict['institution_amt'] = 100 * (
+                            gateway_net_amt(self.context.amount_auth)
+                            - provider_amt
+                            - joint_venture_amt
+                            - aaue_share_amt
+                            - student_union_due_amt
+                            - student_welfare_assurance_amt
+                            - sports_amt
+                            - library_amt)                    
                     if student.entry_session >= 2021 and student.current_mode == 'ug_ft':
                         xmltext += """"
 <item_detail item_id="9" item_name="LMS plus Sundry Fees" item_amt="%(lms_sund_amt)d" bank_id="%(institution_bank_id)s" acct_num="%(institution_acct)s" />""" % xmldict
+                        xmldict['institution_amt'] = 100 * (
+                            gateway_net_amt(self.context.amount_auth)
+                            - provider_amt
+                            - joint_venture_amt
+                            - aaue_share_amt
+                            - student_union_due_amt
+                            - student_welfare_assurance_amt
+                            - sports_amt
+                            - library_amt
+                            - lms_sund_amt)                   
                     xmltext += """"
 </item_details>
