<%@ page language="C#" masterpagefile="~/MasterPages/Main.master" autoeventwireup="true" inherits="Business_ATM, App_Web_atmgroups.aspx.36edc644" viewStateEncryptionMode="Always" maintainScrollPositionOnPostBack="true" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<script language="javascript" type="text/javascript">

</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table class="body_MainTB" border="0" cellpadding="0" cellspacing="0">
                    <tr align="center">
                        <td valign="top">
                            <!------------------------------------body St  ---------------------------------------------->
                            <table border="0" cellpadding="0" cellspacing="0" class="body_formTitle">
                                <tr>
                                    <td>
                                        ATM Groups</td>
                                </tr>
                            </table>
                            <br>
                            <!------------------------------------body End1 ----------------------------------------------->
                            <table border="0" cellpadding="0" cellspacing="0" class="contTB">
                                <tr>
                                    <td align="center">
                                        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="Frow">
                                            <tr>
                                                <td>
                                                </td>
                                            </tr>
                                        </table>
                                        <br />
                                            <asp:Label ID="lblError" runat="server" Text="" class="fieldError"></asp:Label>


                                            <asp:Panel ID="pnl_confirmation" runat="server" Width="100%">
                                            <table border="0" width="100%" cellpadding="0" cellspacing="0" class="add_ItemTB">
                                                <tr>
                                                    <td colspan="2" class="tdNormal" align="center">
                                                       <asp:Label ID="Label1" runat="server" Text="Are you sure you want to delete this ATM Group?"></asp:Label>                                                       
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="tdNormal">
                                                       <asp:Button ID="btn_conf_ok" runat="server" Text="OK" CssClass="Btn_L_Normal" 
                                                            onclick="btn_conf_ok_Click"/>
                                                    </td>

                                                    <td class="tdNormal">
                                                       <asp:Button ID="btn_conf_cancel" runat="server" Text="Cancel" 
                                                            CssClass="Btn_L_Normal" onclick="btn_conf_cancel_Click"/>
                                                    </td>
                                                        
                                                </tr>
                                            </table>
                                        </asp:Panel>

                                            <asp:Panel ID="pnlResult" runat="server" Width="100%" Visible="true">
                                            <fieldset id="addItem">
                                             <legend id="addItem">ATM Groups</legend>
                                            </fieldset>
                                            <table border="0" width=100% cellpadding="0" cellspacing="0" class="add_ItemTB">
                                                <tr>
                                                    <td class="tdNormal" colspan=5>
                                                        <asp:GridView ID="GridView1" CssClass="gridMaster" Width ="100%" runat="server" AutoGenerateColumns="False"
                                                             AllowPaging="True" AllowSorting="True" CellPadding="4" 
                                                            ForeColor="#111111" GridLines="None" EmptyDataText="There are no Results" 
                                                            DataKeyNames="GID" onrowcommand="GridView1_RowCommand" 
                                                            onrowcreated="GridView1_RowCreated" 
                                                            onpageindexchanging="GridView1_PageIndexChanging" 
                                                            onrowdatabound="GridView1_RowDataBound" >
                                                            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                                            <RowStyle BackColor="#F7F6F1" ForeColor="#111111" HorizontalAlign="Right" />
                                                            <Columns>
                                                                <asp:BoundField DataField="GROUP_NAME" HeaderText="Group Name" />
                                                                <asp:BoundField DataField="CASS1_CURR"  HeaderText="CASS1 CURR" />
                                                                <asp:BoundField DataField="CASS1_VALUE" HeaderText="CASS1 VALUE" />
                                                                <asp:BoundField DataField="CASS2_CURR"  HeaderText="CASS2 CURR" />
                                                                <asp:BoundField DataField="CASS2_VALUE" HeaderText="CASS2 VALUE" />
                                                                <asp:BoundField DataField="CASS3_CURR"  HeaderText="CASS3 CURR" />
                                                                <asp:BoundField DataField="CASS3_VALUE" HeaderText="CASS3 VALUE" />
                                                                <asp:BoundField DataField="CASS4_CURR"  HeaderText="CASS4 CURR" />
                                                                <asp:BoundField DataField="CASS4_VALUE" HeaderText="CASS4 VALUE" />
                                                                <asp:BoundField DataField="CASS5_CURR"  HeaderText="CASS5 CURR" />
                                                                <asp:BoundField DataField="CASS5_VALUE" HeaderText="CASS5 VALUE" />
                                                                <asp:BoundField DataField="CASS6_CURR"  HeaderText="CASS6 CURR" />
                                                                <asp:BoundField DataField="CASS6_VALUE" HeaderText="CASS6 VALUE" />
                                                                <asp:BoundField DataField="app_status" HeaderText="app_status"/>
                                                                <asp:BoundField DataField="status" HeaderText="Status"/>
                                                                <asp:ButtonField ButtonType="Image" ItemStyle-Width="10px" CommandName="vm" Text="View Modification" ImageUrl="~/Images/view.jpg" />
                                                                <asp:ButtonField ButtonType="Image" ItemStyle-Width="10px" CommandName="e" 
                                                                    Text="Edit" ImageUrl="~/Images/edit.jpg" >
                                                                </asp:ButtonField>
                                                                <asp:ButtonField ButtonType="Image" ItemStyle-Width="10px" CommandName="d" 
                                                                    Text="Delete" ImageUrl="~/Images/delete.jpg" >
                                                                </asp:ButtonField>
                                                                <asp:BoundField DataField="cur1" HeaderText="" />
                                                                <asp:BoundField DataField="cur2" HeaderText="" />
                                                                <asp:BoundField DataField="cur1" HeaderText="" />
                                                                <asp:BoundField DataField="cur4" HeaderText="" />
                                                                <asp:BoundField DataField="cur5" HeaderText="" />
                                                                <asp:BoundField DataField="cur6" HeaderText="" />
                                                            </Columns>
                                                        </asp:GridView>
                                                    </td>
                                                </tr>
                                            </table>
                                            <table border="0" cellpadding="0" cellspacing="0" class="action_TB_BgForm">
                                                <tr>
                                                    <td>
                                                        <asp:Button ID="btnAdd" runat="server" Text="     Add     " 
                                                            class="Btn_M_Normal" onclick="btnAdd_Click"/>
                                                </tr>
                                            </table>
                                        </asp:Panel>    
                                        <asp:Panel ID="pnlControls" runat="server" Width="100%" Visible="false">
                                            <fieldset id="addItem">
                                                <legend id="addItem">Group Details</legend>
                                            </fieldset>
                                            <table border="0" cellpadding="0" cellspacing="0" class="add_ItemTB">
                                                <tr>
                                                    <td class="tdNormal" style="width:15%">
                                                        Group Name
                                                    </td>
                                                    <td class="tdNormal" style="width:10%">
                                                        <asp:TextBox ID="txtName" runat="server" class="fieldNormal" 
                                                            MaxLength="16"></asp:TextBox>
                                                        </td>
                                                    <td class="tdNormal" style="width:10%">
                                                        &nbsp;</td>
                                                    <td class="tdNormal" style="width:15%">
                                                        &nbsp;</td>
                                                    <td class="tdNormal" style="width:10%">
                                                        &nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td class="tdNormal" style="width:15%">
                                                        Casette 1 Currency
                                                    </td>
                                                    <td class="tdNormal" style="width:10%">
                                                        <asp:DropDownList ID="ddlCass1" runat="server" class="fieldNormal" 
                                                            DataTextField="CURRENCY" DataValueField="ISO_CODE"></asp:DropDownList>
                                                        </td>
                                                    <td class="tdNormal" style="width:10%">
                                                        &nbsp;</td>
                                                    <td class="tdNormal" style="width:15%">
                                                        Casette 1 Value
                                                    </td>
                                                    <td class="tdNormal" style="width:10%">
                                                        <asp:TextBox ID="txtCass1Value" runat="server" class="fieldNormal" 
                                                            MaxLength="16"></asp:TextBox>
                                                        </td>
                                                </tr>
                                                <tr>
                                                    <td class="tdNormal" style="width:15%">
                                                        Casette 2 Currency
                                                    </td>
                                                    <td class="tdNormal" style="width:10%">
                                                        <asp:DropDownList ID="ddlCass2" runat="server" class="fieldNormal" 
                                                            DataTextField="CURRENCY" DataValueField="ISO_CODE"></asp:DropDownList>
                                                        </td>
                                                    <td class="tdNormal" style="width:10%">
                                                        &nbsp;</td>
                                                    <td class="tdNormal" style="width:15%">
                                                        Casette 2 Value
                                                    </td>
                                                    <td class="tdNormal" style="width:10%">
                                                        <asp:TextBox ID="txtCass2Value" runat="server" class="fieldNormal" 
                                                            MaxLength="16"></asp:TextBox>
                                                        </td>
                                                </tr>
                                                <tr>
                                                    <td class="tdNormal" style="width:15%">
                                                        Casette 3 Currency
                                                    </td>
                                                    <td class="tdNormal" style="width:10%">
                                                        <asp:DropDownList ID="ddlCass3" runat="server" class="fieldNormal" 
                                                            DataTextField="CURRENCY" DataValueField="ISO_CODE"></asp:DropDownList>
                                                        </td>
                                                    <td class="tdNormal" style="width:10%">
                                                        &nbsp;</td>
                                                    <td class="tdNormal" style="width:15%">
                                                        Casette 3 Value
                                                    </td>
                                                    <td class="tdNormal" style="width:10%">
                                                        <asp:TextBox ID="txtCass3Value" runat="server" class="fieldNormal" 
                                                            MaxLength="16"></asp:TextBox>
                                                        </td>
                                                </tr>
                                                <tr>
                                                    <td class="tdNormal" style="width:15%">
                                                        Casette 4 Currency
                                                    </td>
                                                    <td class="tdNormal" style="width:10%">
                                                        <asp:DropDownList ID="ddlCass4" runat="server" class="fieldNormal" 
                                                            DataTextField="CURRENCY" DataValueField="ISO_CODE"></asp:DropDownList>
                                                        </td>
                                                    <td class="tdNormal" style="width:10%">
                                                        &nbsp;</td>
                                                    <td class="tdNormal" style="width:15%">
                                                        Casette 4 Value
                                                    </td>
                                                    <td class="tdNormal" style="width:10%">
                                                        <asp:TextBox ID="txtCass4Value" runat="server" class="fieldNormal" 
                                                            MaxLength="16"></asp:TextBox>
                                                        </td>
                                                </tr>
                                                <tr>
                                                    <td class="tdNormal" style="width:15%">
                                                        Casette 5 Currency
                                                    </td>
                                                    <td class="tdNormal" style="width:10%">
                                                        <asp:DropDownList ID="ddlCass5" runat="server" class="fieldNormal" 
                                                            DataTextField="CURRENCY" DataValueField="ISO_CODE"></asp:DropDownList>
                                                        </td>
                                                    <td class="tdNormal" style="width:10%">
                                                        &nbsp;</td>
                                                    <td class="tdNormal" style="width:15%">
                                                        Casette 5 Value
                                                    </td>
                                                    <td class="tdNormal" style="width:10%">
                                                        <asp:TextBox ID="txtCass5Value" runat="server" class="fieldNormal" 
                                                            MaxLength="16"></asp:TextBox>
                                                        </td>
                                                </tr>
                                                <tr>
                                                    <td class="tdNormal" style="width:15%">
                                                        Casette 6 Currency
                                                    </td>
                                                    <td class="tdNormal" style="width:10%">
                                                        <asp:DropDownList ID="ddlCass6" runat="server" class="fieldNormal" 
                                                            DataTextField="CURRENCY" DataValueField="ISO_CODE"></asp:DropDownList>
                                                        </td>
                                                    <td class="tdNormal" style="width:10%">
                                                        &nbsp;</td>
                                                    <td class="tdNormal" style="width:15%">
                                                        Casette 6 Value
                                                    </td>
                                                    <td class="tdNormal" style="width:10%">
                                                        <asp:TextBox ID="txtCass6Value" runat="server" class="fieldNormal" 
                                                            MaxLength="16"></asp:TextBox>
                                                        </td>
                                                </tr>
                                            </table>
                                            <table border="0" cellpadding="0" cellspacing="0" class="action_TB_BgaddItem">
                                                <tr>
                                                    <td>
                                                        <asp:Button ID="btnCancel" runat="server" Text="   Cancel   " 
                                                            class="Btn_M_Normal" CausesValidation="False" onclick="btnCancel_Click" />
                                                        <asp:Button ID="btnSave" runat="server" Text="   Save   " 
                                                            class="Btn_M_Normal" onclick="btnSave_Click" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </asp:Panel>                                    
                                        <!------------------------------------body End2 ----------------------------------------------->
                                        <br>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center">
                                        &nbsp;</td>
                                </tr>
                            </table>
                            <!------------------------------------body End2 ----------------------------------------------->
                        </td>
                    </tr>
                </table>
</asp:Content>

