Commits

Marlon Bandoja committed e217533

updated IPX Controller and added gtags

Comments (0)

Files changed (17)

ipx/.idea/workspace.xml

   </component>
   <component name="FileEditorManager">
     <leaf>
-      <file leaf-file-name="UrlMappings.groovy" pinned="false" current="true" current-in-tab="true">
+      <file leaf-file-name="UrlMappings.groovy" pinned="false" current="false" current-in-tab="false">
         <entry file="file://$PROJECT_DIR$/grails-app/conf/UrlMappings.groovy">
           <provider selected="true" editor-type-id="text-editor">
-            <state line="15" column="9" selection-start="281" selection-end="303" vertical-scroll-proportion="0.031657357">
+            <state line="45" column="9" selection-start="2689" selection-end="2707" vertical-scroll-proportion="0.0">
+              <folding />
+            </state>
+          </provider>
+        </entry>
+      </file>
+      <file leaf-file-name="portfolio_list.gsp" pinned="false" current="true" current-in-tab="true">
+        <entry file="file://$PROJECT_DIR$/grails-app/views/portfolio_list.gsp">
+          <provider selected="true" editor-type-id="text-editor">
+            <state line="48" column="74" selection-start="1513" selection-end="1513" vertical-scroll-proportion="0.03250478">
               <folding />
             </state>
           </provider>
       <file leaf-file-name="IPXController.groovy" pinned="false" current="false" current-in-tab="false">
         <entry file="file://$PROJECT_DIR$/grails-app/controllers/ipx/IPXController.groovy">
           <provider selected="true" editor-type-id="text-editor">
-            <state line="11" column="59" selection-start="470" selection-end="470" vertical-scroll-proportion="-8.130435">
-              <folding />
-            </state>
-          </provider>
-        </entry>
-      </file>
-      <file leaf-file-name="index.gsp" pinned="false" current="false" current-in-tab="false">
-        <entry file="file://$PROJECT_DIR$/grails-app/views/index.gsp">
-          <provider selected="true" editor-type-id="text-editor">
-            <state line="26" column="47" selection-start="912" selection-end="922" vertical-scroll-proportion="-9.153846">
+            <state line="122" column="41" selection-start="2864" selection-end="2864" vertical-scroll-proportion="0.0">
               <folding />
             </state>
           </provider>
   <component name="IdeDocumentHistory">
     <option name="changedFiles">
       <list>
-        <option value="$PROJECT_DIR$/grails-app/views/broker.gsp" />
-        <option value="$PROJECT_DIR$/grails-app/conf/UrlMappings.groovy" />
-        <option value="$PROJECT_DIR$/grails-app/views/banks_list.gsp" />
+        <option value="$PROJECT_DIR$/grails-app/views/banks_add.gsp" />
         <option value="$PROJECT_DIR$/grails-app/views/privateBonds/broker_privateBonds_sale.gsp" />
-        <option value="$PROJECT_DIR$/grails-app/views/privateBonds/broker_privateBonds_purchase.gsp" />
-        <option value="$PROJECT_DIR$/grails-app/views/gsed/broker_gsed_sale.gsp" />
-        <option value="$PROJECT_DIR$/grails-app/views/gsed/broker_gsed_purchase.gsp" />
-        <option value="$PROJECT_DIR$/grails-app/views/fx/broker_fx_sale.gsp" />
-        <option value="$PROJECT_DIR$/grails-app/views/equity/broker_equity_purchase.gsp" />
+        <option value="$PROJECT_DIR$/grails-app/views/banks_edit.gsp" />
         <option value="$PROJECT_DIR$/grails-app/views/settlement_type_list_accounting.gsp" />
+        <option value="$PROJECT_DIR$/grails-app/views/settlement_type_list.gsp" />
+        <option value="$PROJECT_DIR$/grails-app/views/settlement_type_add_accounting.gsp" />
         <option value="$PROJECT_DIR$/grails-app/views/settlement_type_add.gsp" />
-        <option value="$PROJECT_DIR$/grails-app/views/settlement_type_add_accounting.gsp" />
         <option value="$PROJECT_DIR$/grails-app/views/settlement_accounts_positions.gsp" />
-        <option value="$PROJECT_DIR$/grails-app/views/settlement_type_list.gsp" />
-        <option value="$PROJECT_DIR$/grails-app/views/index.gsp" />
+        <option value="$PROJECT_DIR$/grails-app/views/settlement_accounts_list_accounting.gsp" />
+        <option value="$PROJECT_DIR$/grails-app/views/settlement_accounts_list.gsp" />
+        <option value="$PROJECT_DIR$/grails-app/views/settlement_accounts_add_accounting.gsp" />
+        <option value="$PROJECT_DIR$/grails-app/views/settlement_accounts_add.gsp" />
+        <option value="$PROJECT_DIR$/grails-app/views/privateBonds_sale.gsp" />
+        <option value="$PROJECT_DIR$/grails-app/views/privateBonds_purchase.gsp" />
         <option value="$PROJECT_DIR$/grails-app/controllers/ipx/IPXController.groovy" />
+        <option value="$PROJECT_DIR$/grails-app/views/portfolio_list.gsp" />
       </list>
     </option>
   </component>
     <panes>
       <pane id="Favorites" />
       <pane id="Scope" />
-      <pane id="PackagesPane" />
       <pane id="ProjectPane">
         <subPane>
           <PATH>
               <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
             </PATH_ELEMENT>
             <PATH_ELEMENT>
-              <option name="myItemId" value="grails-app" />
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
-            </PATH_ELEMENT>
-            <PATH_ELEMENT>
-              <option name="myItemId" value="views" />
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
-            </PATH_ELEMENT>
-          </PATH>
-          <PATH>
-            <PATH_ELEMENT>
-              <option name="myItemId" value="ipx" />
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
-            </PATH_ELEMENT>
-            <PATH_ELEMENT>
-              <option name="myItemId" value="ipx" />
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
-            </PATH_ELEMENT>
-            <PATH_ELEMENT>
-              <option name="myItemId" value="grails-app" />
+              <option name="myItemId" value="web-app" />
               <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
             </PATH_ELEMENT>
           </PATH>
         </subPane>
       </pane>
+      <pane id="PackagesPane" />
     </panes>
   </component>
   <component name="PropertiesComponent">
     <servers />
   </component>
   <component name="ToolWindowManager">
-    <frame x="-8" y="-8" width="1382" height="744" extended-state="1" />
-    <editor active="true" />
+    <frame x="-8" y="-8" width="1382" height="744" extended-state="6" />
+    <editor active="false" />
     <layout>
       <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
       <window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
       <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
       <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
       <window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
-      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.20288754" sideWeight="0.6706282" order="0" side_tool="false" content_ui="tabs" />
+      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.33054712" sideWeight="0.0" order="0" side_tool="false" content_ui="tabs" />
       <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3293718" sideWeight="0.0" order="2" side_tool="false" content_ui="tabs" />
       <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
       <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
     <breakpoint-manager />
   </component>
   <component name="editorHistoryManager">
-    <entry file="file://$PROJECT_DIR$/grails-app/views/banks_list.gsp">
+    <entry file="file://$PROJECT_DIR$/grails-app/views/banks_edit.gsp">
       <provider selected="true" editor-type-id="text-editor">
-        <state line="31" column="8" selection-start="1150" selection-end="1150" vertical-scroll-proportion="10.769231">
-          <folding />
-        </state>
+        <state line="53" column="86" selection-start="1916" selection-end="1916" vertical-scroll-proportion="0.24474187" />
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/grails-app/views/privateBonds/broker_privateBonds_sale.gsp">
+    <entry file="file://$PROJECT_DIR$/web-app/css/styles.css">
       <provider selected="true" editor-type-id="text-editor">
-        <state line="12" column="8" selection-start="372" selection-end="372" vertical-scroll-proportion="24.571428">
-          <folding />
-        </state>
+        <state line="205" column="10" selection-start="19617" selection-end="19626" vertical-scroll-proportion="-19.6" />
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/grails-app/views/privateBonds/broker_privateBonds_purchase.gsp">
+    <entry file="file://$PROJECT_DIR$/grails-app/views/privateBonds_purchase.gsp">
       <provider selected="true" editor-type-id="text-editor">
-        <state line="12" column="8" selection-start="376" selection-end="376" vertical-scroll-proportion="-3.877551">
-          <folding />
-        </state>
+        <state line="120" column="98" selection-start="4293" selection-end="4293" vertical-scroll-proportion="-7.5384617" />
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/grails-app/views/gsed/broker_gsed_sale.gsp">
+    <entry file="file://$PROJECT_DIR$/grails-app/views/privateBonds_sale.gsp">
       <provider selected="true" editor-type-id="text-editor">
-        <state line="12" column="8" selection-start="363" selection-end="363" vertical-scroll-proportion="35.32653">
-          <folding />
-        </state>
+        <state line="120" column="88" selection-start="4270" selection-end="4270" vertical-scroll-proportion="-10.807693" />
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/grails-app/views/gsed/broker_gsed_purchase.gsp">
+    <entry file="file://$PROJECT_DIR$/grails-app/views/settlement_accounts_add.gsp">
       <provider selected="true" editor-type-id="text-editor">
-        <state line="12" column="8" selection-start="369" selection-end="369" vertical-scroll-proportion="19.77551">
-          <folding />
-        </state>
+        <state line="66" column="95" selection-start="2276" selection-end="2276" vertical-scroll-proportion="-15.153846" />
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/grails-app/views/fx/broker_fx_sale.gsp">
+    <entry file="file://$PROJECT_DIR$/grails-app/views/settlement_accounts_add_accounting.gsp">
       <provider selected="true" editor-type-id="text-editor">
-        <state line="12" column="8" selection-start="361" selection-end="361" vertical-scroll-proportion="-4.163265">
-          <folding />
-        </state>
+        <state line="66" column="71" selection-start="2422" selection-end="2436" vertical-scroll-proportion="-13.307693" />
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/grails-app/views/equity/broker_equity_purchase.gsp">
+    <entry file="file://$PROJECT_DIR$/grails-app/views/settlement_accounts_list.gsp">
       <provider selected="true" editor-type-id="text-editor">
-        <state line="12" column="8" selection-start="371" selection-end="371" vertical-scroll-proportion="0.39766082">
-          <folding />
-        </state>
+        <state line="57" column="51" selection-start="1927" selection-end="1927" vertical-scroll-proportion="-11.0" />
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/grails-app/views/settlement_accounts_list_accounting.gsp">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="56" column="58" selection-start="1906" selection-end="1906" vertical-scroll-proportion="-10.961538" />
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/grails-app/views/settlement_accounts_positions.gsp">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="68" column="74" selection-start="2589" selection-end="2589" vertical-scroll-proportion="5.230769" />
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/grails-app/views/settlement_type_add.gsp">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="29" column="81" selection-start="1010" selection-end="1010" vertical-scroll-proportion="-0.65384614" />
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/grails-app/views/settlement_type_add_accounting.gsp">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="28" column="105" selection-start="1044" selection-end="1044" vertical-scroll-proportion="-0.65384614" />
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/grails-app/views/settlement_type_list.gsp">
+      <provider selected="true" editor-type-id="text-editor">
+        <state line="48" column="74" selection-start="1520" selection-end="1520" vertical-scroll-proportion="0.031716418" />
       </provider>
     </entry>
     <entry file="file://$PROJECT_DIR$/grails-app/views/settlement_type_list_accounting.gsp">
       <provider selected="true" editor-type-id="text-editor">
-        <state line="56" column="29" selection-start="1842" selection-end="1842" vertical-scroll-proportion="1.7761194">
-          <folding />
-        </state>
+        <state line="62" column="82" selection-start="1987" selection-end="1987" vertical-scroll-proportion="0.72761196" />
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/grails-app/views/settlement_type_add.gsp">
+    <entry file="file://$PROJECT_DIR$/grails-app/conf/UrlMappings.groovy">
       <provider selected="true" editor-type-id="text-editor">
-        <state line="57" column="21" selection-start="2195" selection-end="2217" vertical-scroll-proportion="-21.923077">
-          <folding />
-        </state>
+        <state line="45" column="9" selection-start="2689" selection-end="2707" vertical-scroll-proportion="0.0" />
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/grails-app/views/settlement_type_add_accounting.gsp">
+    <entry file="file://$PROJECT_DIR$/grails-app/views/portfolio_list.gsp">
       <provider selected="true" editor-type-id="text-editor">
-        <state line="41" column="74" selection-start="1516" selection-end="1527" vertical-scroll-proportion="-11.115385">
-          <folding />
-        </state>
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/grails-app/views/settlement_accounts_positions.gsp">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="68" column="59" selection-start="2567" selection-end="2567" vertical-scroll-proportion="-16.038462">
-          <folding />
-        </state>
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/grails-app/views/settlement_type_list.gsp">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="52" column="59" selection-start="1663" selection-end="1663" vertical-scroll-proportion="-4.576923">
-          <folding />
-        </state>
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/grails-app/views/settlement_accounts_list.gsp">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="10" column="14" selection-start="377" selection-end="377" vertical-scroll-proportion="0.32818532">
-          <folding />
-        </state>
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/grails-app/views/index.gsp">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="26" column="47" selection-start="912" selection-end="922" vertical-scroll-proportion="-9.153846">
+        <state line="48" column="74" selection-start="1513" selection-end="1513" vertical-scroll-proportion="0.03250478">
           <folding />
         </state>
       </provider>
     </entry>
     <entry file="file://$PROJECT_DIR$/grails-app/controllers/ipx/IPXController.groovy">
       <provider selected="true" editor-type-id="text-editor">
-        <state line="11" column="59" selection-start="470" selection-end="470" vertical-scroll-proportion="-8.130435">
-          <folding />
-        </state>
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/grails-app/conf/UrlMappings.groovy">
-      <provider selected="true" editor-type-id="text-editor">
-        <state line="15" column="9" selection-start="281" selection-end="303" vertical-scroll-proportion="0.031657357">
+        <state line="122" column="41" selection-start="2864" selection-end="2864" vertical-scroll-proportion="0.0">
           <folding />
         </state>
       </provider>

ipx/grails-app/conf/UrlMappings.groovy

 
 	    "/home"(controller:'IPX',action:'home')
 
+        "/maintenance/banksAdd"(controller:'IPX',action:'banks_add')
+        "/maintenance/banksEdit"(controller:'IPX',action:'banks_edit')
         "/maintenance/banksList"(controller:'IPX',action:'banks_list')
         "/maintenance/broker"(controller:'IPX',action:'broker')
         "/broker/equity/purchase"(controller:'IPX',action:'broker_equity_purchase')

ipx/grails-app/controllers/ipx/IPXController.groovy

        render view:'/home'
     }
 
+    def banks_add = {
+        render  view: '/banks_add'
+    }
+
+    def banks_edit = {
+        render  view: '/banks_edit'
+    }
+
     def banks_list = {
         render  view: '/banks_list'
     }
     }
 
      def portfolio_list = {
-        render  view: '/portfolio_list'
+        render  view: '/portfolio_list',
     }
 
      def privateBonds_purchase = {
-        render  view: '/privateBonds_purchase'
+        render  view: '/privateBonds_purchase', model:[copyFrom:"", portfolio:"", securityID:"", parValue:"", isin:"", prepaidTax:"", issuer:"", totalPurchasePrice:"", code:"", valueDate:"", principal:"", issueDate:"", rate:"", maturityDate:"", termDays:"", netYield:"", interestIncome:"", premiumDiscount:""]
     }
 
      def privateBonds_sale = {
-        render  view: '/privateBonds_sale'
+        render  view: '/privateBonds_sale', model:[copyFrom:"", portfolio:"", securityID:"", parValue:"", isin:"", prepaidTax:"", issuer:"", totalPurchasePrice:"", code:"", valueDate:"", principal:"", issueDate:"", rate:"", maturityDate:"", termDays:"", netYield:"", interestIncome:"", profitLoss:""]
     }
 
      def settlement_accounts_add = {
-        render  view: '/settlement_accounts_add'
+        render  view: '/settlement_accounts_add', model:[saCode:"", settlementType:"", saNumber:"", currency:"", customer:"", settlementAccountBalance:"", lastUpdateDate:""]
     }
 
      def settlement_accounts_add_accounting = {
-        render  view: '/settlement_accounts_add_accounting'
+        render  view: '/settlement_accounts_add_accounting', model:[saCode:"", settlementType:"", saNumber:"", currency:"", genLedgerAccount:"", customer:"", settlementAccountBalance:"", lastUpdateDate:""]
     }
 
      def settlement_accounts_list = {
-        render  view: '/settlement_accounts_list'
+        render  view: '/settlement_accounts_list', model:[code:"", name:""]
     }
 
      def settlement_accounts_list_accounting = {
-        render  view: '/settlement_accounts_list_accounting'
+        render  view: '/settlement_accounts_list_accounting', model:[code:"", name:""]
     }
 
      def settlement_accounts_positions = {
     }
 
      def settlement_type_add = {
-        render  view: '/settlement_type_add', model:[stCode:"", stName:"", stDescription:"", settlementTypeValid:"", lastUpdateDate:""]
+        render  view: '/settlement_type_add', model:[stCode:"", stName:"", stDescription:"", settlementTypeValidation:"", lastUpdateDate:""]
     }
 
      def settlement_type_add_accounting = {
-        render  view: '/settlement_type_add_accounting', model:[stCode:"", stName:"", stDescription:"", genLedgerNo:"", settlementTypeValid:"", lastUpdateDate:""]
+        render  view: '/settlement_type_add_accounting', model:[stCode:"", stName:"", stDescription:"", genLedgerNo:"", settlementTypeValidation:"", lastUpdateDate:""]
     }
 
      def settlement_type_list = {
     }
 
      def settlement_type_list_accounting = {
-        render  view: '/settlement_type_list_accounting', model:[code:"", name:""]
+        render (view: '/settlement_type_list_accounting', model:[code:"", name:""])
     }
 
 

ipx/grails-app/views/portfolio_list.gsp

 		  <table class="form_body_table2">
 			<tr>
 			  <td class="input_labels" valign="top"> Code </td>
-			  <td width="170"> <input class="input_field" type="text" /> </td>
+			  <td width="170">
+                  <g:textField class="input_field" name="code" value="" />
+              </td>
 			  <td class="input_labels" valign="top"> Name </td>
 			  <td> <input class="input_field" type="text" /> </td>
 			  <td> <a href="#" class="btn_search_small"> Search </a> </td>

ipx/grails-app/views/privateBonds/broker_privateBonds_sale.gsp

 		    <tr>
 			  <td colspan="2"> &nbsp; </td>
 			  <td class="input_labels"> Copy From </td>
-			  <td> <input class="input_field_popup" type="text" /> <a href="#" class="popup_button" > POP-UP </a>  </td>
+			  <td>
+                  <g:textField class="input_field" name="" value="" />
+                  <input class="input_field_popup" type="text" /> <a href="#" class="popup_button" > POP-UP </a>  </td>
 			</tr>
 			<tr>
 			  <td colspan="2"> &nbsp; </td>

ipx/grails-app/views/privateBonds_purchase.gsp

 		    <tr>
 			  <td colspan="2"> &nbsp; </td>
 			  <td class="input_labels"> Copy From </td>
-			  <td> <input class="input_field_popup" type="text" /> <a href="#" class="popup_button" > POP-UP </a>  </td>
+			  <td>
+                  <g:textField class="input_field_popup" name="copyFrom" value="${copyFrom}" />
+                  <a href="#" class="popup_button" > POP-UP </a>
+              </td>
 			</tr>
 			<tr>
 			  <td colspan="2"> &nbsp; </td>
 			  <td class="input_labels"> Portfolio </td>
-			  <td> <input class="input_field_popup" type="text" /> <a href="#" class="popup_button" > POP-UP </a>  </td>
+			  <td>
+                  <g:textField class="input_field_popup" name="portfolio" value="${portfolio}" />
+                  <a href="#" class="popup_button" > POP-UP </a>
+              </td>
 			</tr>
 			<tr><td colspan="4"> &nbsp;	</td></tr>
 			<tr>
 			  <td class="input_labels"> Security ID </td>
-			  <td width="190"> <input class="input_field" type="text" /> </td>
+			  <td width="190">
+                  <g:textField class="input_field" name="securityID" value="${securityID}" />
+              </td>
 			  <td class="input_labels"> Par Value </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td>
+                  <g:textField class="input_field" name="parValue" value="${parValue}" />
+              </td>
 			</tr>
 		    <tr>
 			  <td class="input_labels"> ISIN </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td>
+                  <g:textField class="input_field" name="isin" value="${isin}" />
+              </td>
 			  <td class="input_labels"> Prepaid Tax </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td>
+                  <g:textField class="input_field" name="prepaidTax" value="${prepaidTax}" />
+              </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Issuer </td>
 			  <td>
-				<select class="select_field">
-				  <option>  </option>
-				  <option>  </option>
-				  <option>  </option>
-				</select>
+                  <g:select class="select_field" name="issuer" from="" optionKey="" value="${issuer}" />
 			  </td>
 			  <td class="input_labels"> Total Purchase Price </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td>
+                  <g:textField class="input_field" name="totalPurchasePrice" value="${totalPurchasePrice}" />
+              </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Code </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td>
+                  <g:textField class="input_field" name="code" value="${code}" />
+              </td>
 			  <td class="input_labels"> Value Date </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td>
+                  <g:textField class="input_field" name="valueDate" value="${valueDate}" />
+              </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Principal </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td>
+                  <g:textField class="input_field" name="principal" value="${principal}" />
+              </td>
 			  <td class="input_labels"> Issue Date </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td>
+                  <g:textField class="input_field" name="issueDate" value="${issueDate}" />
+              </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Rate </td>
-			  <td> <input class="input_field2" type="text" /> % </td>
+			  <td>
+                  <g:textField class="input_field2" name="rate" value="${rate}" /> %
+              </td>
 			  <td class="input_labels"> Maturity Date </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td>
+                  <g:textField class="input_field" name="maturityDate" value="${maturityDate}" />
+              </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Term (Days) </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td>
+                  <g:textField class="input_field" name="termDays" value="${termDays}" />
+              </td>
 			  <td class="input_labels"> Net Yield </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td>
+                  <g:textField class="input_field" name="netYield" value="${netYield}" />
+              </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Interest Income </td>
-			  <td colspan="3"> <input class="input_field2" type="text" /> % </td>
+			  <td colspan="3">
+                  <g:textField class="input_field2" name="interestIncome" value="${interestIncome}" /> %
+              </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Premium/Discount </td>
-			  <td colspan="3"> <input class="input_field" type="text" /> </td>
+			  <td colspan="3">
+                  <g:textField class="input_field" name="premiumDiscount" value="${premiumDiscount}" />
+              </td>
 			</tr>
 		  </table>
 		  <ul class="buttons_brokerPrivateBondsPurchase"> <!-- BUTTONS -->

ipx/grails-app/views/privateBonds_sale.gsp

 		    <tr>
 			  <td colspan="2"> &nbsp; </td>
 			  <td class="input_labels"> Copy From </td>
-			  <td> <input class="input_field_popup" type="text" /> <a href="#" class="popup_button" > POP-UP </a>  </td>
+			  <td>
+                  <g:textField class="input_field_popup" name="copyFrom" value="${copyFrom}" />
+                  <a href="#" class="popup_button" > POP-UP </a>
+              </td>
 			</tr>
 			<tr>
 			  <td colspan="2"> &nbsp; </td>
 			  <td class="input_labels"> Portfolio </td>
-			  <td> <input class="input_field_popup" type="text" /> <a href="#" class="popup_button" > POP-UP </a>  </td>
+			  <td>
+                  <g:textField class="input_field_popup" name="portfolio" value="${portfolio}" />
+                  <a href="#" class="popup_button" > POP-UP </a>
+              </td>
 			</tr>
 			<tr><td colspan="4"> &nbsp;	</td></tr>
 			<tr>
 			  <td class="input_labels"> Security ID </td>
-			  <td> <input class="input_field" type="text" />  </td>
+			  <td>
+                  <g:textField class="input_field" name="securityID" value="${securityID}" />
+              </td>
 			  <td class="input_labels" width="170"> Par Value </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td>
+                  <g:textField class="input_field" name="parValue" value="${parValue}" />
+              </td>
 			</tr>
 		    <tr>
 			  <td class="input_labels"> ISIN </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td>
+                  <g:textField class="input_field" name="isin" value="${isin}" />
+              </td>
 			  <td class="input_labels"> Prepaid Tax </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td>
+                  <g:textField class="input_field" name="prepaidTax" value="${prepaidTax}" />
+              </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Issuer </td>
 			  <td>
-				<select class="select_field">
-				  <option>  </option>
-				  <option>  </option>
-				  <option>  </option>
-				</select>
+                  <g:select class="select_field" name="issuer" from="" optionKey="" value="${issuer}" />
 			  </td>
 			  <td class="input_labels"> Total Purchase Price </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td>
+                  <g:textField class="input_field" name="totalPurchasePrice" value="${totalPurchasePrice}" />
+              </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Code </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td>
+                  <g:textField class="input_field" name="code" value="${code}" />
+              </td>
 			  <td class="input_labels"> Value Date </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td>
+                  <g:textField class="input_field" name="valueDate" value="${valueDate}" />
+              </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Principal </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td>
+                  <g:textField class="input_field" name="principal" value="${principal}" />
+              </td>
 			  <td class="input_labels"> Issue Date </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td>
+                  <g:textField class="input_field" name="issueDate" value="${issueDate}" />
+              </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Rate </td>
-			  <td> <input class="input_field2" type="text" /> % </td>
+			  <td>
+                  <g:textField class="input_field2" name="rate" value="${rate}" /> %
+              </td>
 			  <td class="input_labels"> Maturity Date </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td>
+                  <g:textField class="input_field" name="maturityDate" value="${maturityDate}" />
+			  </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Term (Days) </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td>
+                  <g:textField class="input_field" name="termDays" value="${termDays}" />
+              </td>
 			  <td class="input_labels"> Net Yield </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td>
+                  <g:textField class="input_field" name="netYield" value="${netYield}" />
+              </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Interest Income </td>
-			  <td colspan="3"> <input class="input_field2" type="text" /> % </td>
+			  <td colspan="3">
+                  <g:textField class="input_field2" name="interestIncome" value="${interestIncome}" /> %
+              </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Profit / (Loss) </td>
-			  <td colspan="3"> <input class="input_field" type="text" /> </td>
+			  <td colspan="3">
+                  <g:textField class="input_field" name="profitLoss" value="${profitLoss}" />
+              </td>
 			</tr>
 		  </table>
 		  <ul class="buttons_brokerPrivateBondsSale"> <!-- BUTTONS -->

ipx/grails-app/views/settlement_accounts_add.gsp

 		  <table class="form_body_table">
 		    <tr>
 			  <td class="input_labels"> S.A. Code  </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td>
+                  <g:textField class="input_field" name="saCode" value="${saCode}" />
+              </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Settlement Type </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td>
+                <g:textField class="input_field" name="settlementType" value="${settlementType}" />
+              </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> S.A. Number </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td>
+                <g:textField class="input_field" name="saNumber" value="${saNumber}" />
+              </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Currency </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td>
+                <g:textField class="input_field" name="currency" value="${currency}" />
+              </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Customer </td>
-			  <td> <input class="input_field_popup" type="text" /> <a href="#" class="popup_button" > POP-UP </a> </td>
+			  <td>
+                  <g:textField class="input_field_popup" name="customer" value="${customer}" />
+                  <a href="#" class="popup_button" > POP-UP </a>
+              </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Settlement Account Balance </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td>
+                  <g:textField class="input_field" name="settlementAccountBalance" value="${settlementAccountBalance}" />
+              </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Last Update Date </td>
-			  <td> <input class="datepicker" type="text" /> </td>
+			  <td>
+                  <g:textField class="datepicker" name="lastUpdateDate" value="${lastUpdateDate}" />
+              </td>
 			</tr>
 		  </table>
 		  <ul class="buttons2"> <!-- BUTTONS -->

ipx/grails-app/views/settlement_accounts_add_accounting.gsp

 		  <table class="form_body_table">
 		    <tr>
 			  <td class="input_labels"> S.A. Code  </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td> <g:textField class="input_field" name="saCode" value="${saCode}" /> </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Settlement Type </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td> <g:textField class="input_field" name="settlementType" value="${settlementType}" /> </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> S.A. Number </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td>
+                  <g:textField class="input_field" name="saNumber" value="${saNumber}" />
+              </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Currency </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td>
+                  <g:textField class="input_field" name="currency" value="${currency}" />
+              </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Gen. Ledger Account </td>
-			  <td> <input class="input_field_popup" type="text" /> <a href="#" class="popup_button" > POP-UP </a> </td>
+			  <td>
+                  <g:textField class="input_field_popup" name="genLedgerAccount" value="${genLedgerAccount}" />
+                  <a href="#" class="popup_button" > POP-UP </a>
+              </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Customer </td>
-			  <td> <input class="input_field_popup" type="text" /> <a href="#" class="popup_button" > POP-UP </a> </td>
+			  <td>
+                  <g:textField class="input_field_popup" name="customer" value="${customer}" />
+                  <a href="#" class="popup_button" > POP-UP </a>
+              </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Settlement Account Balance </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td> <g:textField class="input_field" name="settlementAccountBalance" value="${settlementAccountBalance}" /> </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Last Update Date </td>
-			  <td> <input class="datepicker" type="text" /> </td>
+			  <td> <g:textField class="datepicker" name="lastUpdateDate" value="${lastUpdateDate}" /> </td>
 			</tr>
 		  </table>
 		  <ul class="buttons2"> <!-- BUTTONS -->

ipx/grails-app/views/settlement_accounts_list.gsp

 		  <table class="form_body_table2">
 			<tr>
 			  <td class="input_labels" valign="top"> Code </td>
-			  <td width="170"> <input class="input_field" type="text" /> </td>
+			  <td width="170">
+                  <g:textField class="input_field" name="code" value="${code}" />
+              </td>
 			  <td class="input_labels" valign="top"> Name </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td>
+                <g:textField class="input_field" name="name" value="${name}" />
+              </td>
 			  <td> <a href="#" class="btn_search_small"> Search </a> </td>
 			</tr>
 		  </table>

ipx/grails-app/views/settlement_accounts_list_accounting.gsp

 		  <table class="form_body_table2">
 			<tr>
 			  <td class="input_labels" valign="top"> Code </td>
-			  <td width="170"> <input class="input_field" type="text" /> </td>
+			  <td width="170">
+                <g:textField class="input_field" name="code" value="${code}" />
+			  </td>
 			  <td class="input_labels" valign="top"> Name </td>
-			  <td> <input class="input_field" type="text" /> </td>
+			  <td>
+                <g:textField class="input_field" name="name" value="${name}" />
+              </td>
 			  <td> <a href="#" class="btn_search_small"> Search </a> </td>
 			</tr>
 		  </table>

ipx/grails-app/views/settlement_accounts_positions.gsp

 			<tr>
 			  <td class="input_labels" valign="top"> Code </td>
 			  <td width="170">
-                <g:textField class="input_field" name="code" value="" />
+                <g:textField class="input_field" name="code" value="${code}" />
               </td>
 			  <td class="input_labels" valign="top"> Name </td>
 			  <td>
-                <g:textField class="input_field" name="name" value="" />
+                <g:textField class="input_field" name="name" value="${code}" />
               </td>
 			  <td> <a href="#" class="btn_search_small"> Search </a> </td>
 			</tr>

ipx/grails-app/views/settlement_type_add.gsp

 		  <table class="form_body_table">
 		    <tr>
 			  <td class="input_labels"> Settlement Type Code  </td>
-			  <td> <g:textField class="input_field" name="stCode" value="" /> </td>
+			  <td> <g:textField class="input_field" name="stCode" value="${stCode}" /> </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Settlement Type Name </td>
-			  <td> <g:textField class="input_field" name="stName" value="" /> </td>
+			  <td> <g:textField class="input_field" name="stName" value="${stName}" /> </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Settlement Type Description </td>
-			  <td> <g:textField class="input_field" name="stDescription" value="" /> </td>
+			  <td> <g:textField class="input_field" name="stDescription" value="${stDescription}" /> </td>
 			</tr>
 			<tr height="100">
 			  <td colspan="2">
 				<fieldset id="contact_details">
 				  <legend> Settlement Type Validation </legend>
 				  <div id="radio_btn">
-                      <g:radio class="" name="settlementTypeValid" value="Yes"/> <span class="radio_label"> Yes </span>
-                      <g:radio class="" name="settlementTypeValid" value="No"/> <span class="radio_label"> No </span>
-                      <g:radio class="" name="settlementTypeValid" value="CN"/> <span class="radio_label"> CN </span>
-                      <g:radio class="" name="settlementTypeValid" value="Split"/> <span class="radio_label"> Split </span>
+                    <g:radioGroup name="settlementTypeValidation" labels="['Yes','No', 'CN', 'Split']" values="['Yes', 'No', 'CN', 'Split']" >
+                      <span>${it.label} ${it.radio}</span>
+                    </g:radioGroup>
 				  </div>
 				</fieldset>
 			  </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Last Update Date </td>
-			  <td> <g:textField class="datepicker" name="lastUpdateDate" /> </td>
+			  <td> <g:textField class="datepicker" name="lastUpdateDate" value="${lastUpdateDate}"/> </td>
 			</tr>
 		  </table>
 		  <ul class="buttons_settleType_add"> <!-- BUTTONS -->

ipx/grails-app/views/settlement_type_add_accounting.gsp

 		  <table class="form_body_table">
 		    <tr>
 			  <td class="input_labels"> Settlement Type Code  </td>
-			  <td> <g:textField class="input_field" name="settlementTypeCode" value="" /> </td>
+			  <td> <g:textField class="input_field" name="settlementTypeCode" value="${settlementTypeCode}" /> </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Settlement Type Name </td>
-			  <td> <g:textField class="input_field" name="settlementTypeName" value="" /> </td>
+			  <td> <g:textField class="input_field" name="settlementTypeName" value="${settlementTypeName}" /> </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Settlement Type Description </td>
-			  <td> <g:textField class="input_field" name="settlementTypeDescription" value="" /> </td>
+			  <td> <g:textField class="input_field" name="settlementTypeDescription" value="${settlementTypeDescription}" /> </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Gen. Ledger No. </td>
 			  <td>
-                  <g:textField class="input_field_popup" name="genLedgerNo" value="" />
+                  <g:textField class="input_field_popup" name="genLedgerNo" value="${genLedgerNo}" />
                   <a href="#" class="popup_button" > POP-UP </a> </td>
 			</tr>
 			<tr height="100">
 				<fieldset id="contact_details">
 				  <legend> Settlement Type Validation </legend>
 				  <div id="radio_btn">
-				    <input type="radio" name="settlementTypeValidation" value="Yes" /> <span class="radio_label"> Yes </span>
-					<input type="radio" name="settlementTypeValidation" value="No" /> <span class="radio_label"> No </span>
-					<input type="radio" name="settlementTypeValidation" value="CN" /> <span class="radio_label"> CN </span>
-					<input type="radio" name="settlementTypeValidation" value="Split" /> <span class="radio_label"> Split </span>
+                    <g:radioGroup name="settlementTypeValidation" labels="['Yes','No', 'CN', 'Split']" values="['Yes', 'No', 'CN', 'Split']" >
+                      <p>${it.label} ${it.radio}</p>
+                    </g:radioGroup>
 				  </div>
 				</fieldset>
 			  </td>
 			</tr>
 			<tr>
 			  <td class="input_labels"> Last Update Date </td>
-			  <td> <g:textField class="datepicker" name="lastUpdateDate" /> </td>
+			  <td> <g:textField class="datepicker" name="lastUpdateDate" value="${lastUpdateDate}" /> </td>
 			</tr>
 		  </table>
 		  <ul class="buttons_settleType_add"> <!-- BUTTONS -->

ipx/grails-app/views/settlement_type_list.gsp

 			<tr>
 			  <td class="input_labels" valign="top"> Code </td>
 			  <td width="170">
-                <g:textField class="input_field" name="code" value="" />
+                <g:textField class="input_field" name="code" value="${code}" />
               </td>
 			  <td class="input_labels" valign="top"> Name </td>
 			  <td>
-                <g:textField class="input_field" name="name" value="" />
+                <g:textField class="input_field" name="name" value="${name}" />
               </td>
 			  <td> <a href="#" class="btn_search_small"> Search </a> </td>
 			</tr>

ipx/grails-app/views/settlement_type_list_accounting.gsp

 			<tr>
 			  <td class="input_labels" valign="top"> Code </td>
 			  <td width="170">
-                <g:textField class="input_field" name="code" value="" />
+                <g:textField class="input_field" name="code" value="${code}" />
               </td>
 			  <td class="input_labels" valign="top"> Name </td>
 			  <td>
-                <g:textField class="input_field" name="name" value="" />
+                <g:textField class="input_field" name="name" value="${name}" />
               </td>
 			  <td> <a href="#" class="btn_search_small"> Search </a> </td>
 			</tr>

ipx/web-app/css/styles.css

 .btn_search_small:active {background: url(../images/btn_search_small_pressed.png) no-repeat; width: 61px; height: 27px;}
 .button_single {padding: 0 0 0 900px;}
 .buttons2 {padding: 0 0 0 615px;}
+.buttons_banksAdd {padding: 0 0 0 645px;}
 .buttons_brokerEquitySale {padding: 0 0 0 655px;}
 .buttons_brokerFXPurchase {padding: 0 0 0 535px;}
 .buttons_brokerFXSale {padding: 0 0 0 560px;}
 .buttons2_equityWidraw {padding: 0 0 0 740px;}
 .buttons_2 {padding: 0 0 0 810px; margin: 0 0 -25px 0;}
 .buttons3 {padding: 0 0 0 530px;}
-.buttons_settleType_add, .buttons3, .buttons2_equityWidraw, .buttons_customerPrivateBondsSale, .buttons_customerPrivateBondsPurchase, .buttons_customerGSEDSale, .buttons_brokerPrivateBondsSale, .buttons_brokerPrivateBondsPurchase, .buttons_brokerGSEDSale, .buttons_brokerGSEDPurchase, .buttons_brokerFXSale, .buttons_brokerFXPurchase, .buttons_brokerEquitySale, .buttons2, .button_single {margin: 10px 0; height: 44px;}
-.buttons_settleType_add li, .buttons_2 li, .buttons_customerPrivateBondsPurchase li, .buttons_customerPrivateBondsSale li, .buttons_brokerGSEDPurchase li, .buttons_brokerPrivateBondsPurchase li, .buttons_brokerPrivateBondsSale li, .buttons_customerGSEDSale li, .buttons_customerGSEDSale li, .buttons_brokerEquitySale li, .buttons_brokerFXPurchase li, .buttons_brokerFXSale li, .buttons_brokerGSEDSale li, .buttons2_equityWidraw li, .buttons3 li, .buttons2 li {float: left;}
+.buttons_banksAdd, .buttons_settleType_add, .buttons3, .buttons2_equityWidraw, .buttons_customerPrivateBondsSale, .buttons_customerPrivateBondsPurchase, .buttons_customerGSEDSale, .buttons_brokerPrivateBondsSale, .buttons_brokerPrivateBondsPurchase, .buttons_brokerGSEDSale, .buttons_brokerGSEDPurchase, .buttons_brokerFXSale, .buttons_brokerFXPurchase, .buttons_brokerEquitySale, .buttons2, .button_single {margin: 10px 0; height: 44px;}
+.buttons_banksAdd li, .buttons_settleType_add li, .buttons_2 li, .buttons_customerPrivateBondsPurchase li, .buttons_customerPrivateBondsSale li, .buttons_brokerGSEDPurchase li, .buttons_brokerPrivateBondsPurchase li, .buttons_brokerPrivateBondsSale li, .buttons_customerGSEDSale li, .buttons_customerGSEDSale li, .buttons_brokerEquitySale li, .buttons_brokerFXPurchase li, .buttons_brokerFXSale li, .buttons_brokerGSEDSale li, .buttons2_equityWidraw li, .buttons3 li, .buttons2 li {float: left;}
 .checkbox2, .checkbox_login {margin: 0 0 2px 10px;}
 .current_page {color: #a375ff;}
 .datepicker {width: 124px;}