<%@ Page Title="Generate GL File" Language="C#" MasterPageFile="~/MasterPages/Main.master" AutoEventWireup="true" CodeFile="GENERATE_GL_FILES.aspx.cs" Inherits="Business_GENERATE_GL_FILES" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style2
        {
            text-align: center;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" AsyncPostBackTimeout ="1200">
    </asp:ScriptManager>
                   <asp:UpdatePanel ID="UpdatePanel1" runat="server" >
                   
                     <ContentTemplate>
                                   
      <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>
                                    Generate GL Files
                                </td>
                            </tr>
                        </table>
                        <br />
                        <!------------------------------------body End1 ----------------------------------------------->


                        <asp:Panel ID="pnl_searchCriteria" runat="server" Width="100%">
                            
                            <table border="0" cellpadding="0" cellspacing="0" class="add_ItemTB1" style="width:100%">
                                <tr>
                                     <td class="style2">
                                            <asp:Label ID="label1" runat="server" class="fieldNormal" Font-Bold="True">Generate Gateway Report</asp:Label>
                                            <br />
                                            <asp:Button ID="btnGenReport" runat="server" Text="Gateway Report" 
                                                 CssClass="Btn_L_Normal" onclick="btnGenReport_Click"  />
                                        </td>
                                </tr>
                                <tr>
                                    <td class="style2">
                                            <asp:Label ID="label2" runat="server" class="fieldNormal" Font-Bold="True">Gateway File</asp:Label>
                                            <br />
                                            <asp:Button ID="btnPostAll" runat="server" Text="Generate GW" 
                                            CssClass="Btn_L_Normal" onclick="btnPostAll_Click" />
                                        </td>
                                </tr>
                                <tr>
                                    <td class="style2">
                                        <asp:Label ID="lblError" runat="server" class="fieldNormal" Font-Bold="True" 
                                            ForeColor="Red"></asp:Label>
                                    </td>
                                </tr>
                            </table>

                        </asp:Panel>

                        <asp:Panel ID="pnl_result" runat="server" Width="100%">
                         <asp:UpdateProgress ID="UpdateProgress1" runat="server" 
                                        AssociatedUpdatePanelID="UpdatePanel1" DisplayAfter="0" >
                                        <ProgressTemplate>
                                        <img alt="Loading" src="../Images/ajax-loader.gif"  />
                                        </ProgressTemplate>
                                        
                                    </asp:UpdateProgress>
                            <table dir="ltr" width="100%" border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td>
                                        <table border="0" cellpadding="0" cellspacing="0" class="grid_TitleBG_B">
                                            <tr>
                                                <td>
                                                    GL File Details
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <table dir="ltr" border="0" cellpadding="0" cellspacing="0" class="add_ItemTB1" style="width:100%">
                                            <thead>
                                            </thead>
                                            <tr>
                                                <td valign="middle" align="left" style="width:25%">
                                                    File Name</td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblFileName" runat="server" class="fieldNormal"></asp:Label>
                                                </td>

                                            </tr>
                                            <tr>
                                                <td align="left" style="width:25%" valign="middle">
                                                    Claim GL Count</td>
                                                <td align="center" style="width:25%" valign="middle">
                                                    <asp:Label ID="lblClaimGlCount" runat="server" class="fieldNormal"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td valign="middle" align="left" style="width:25%">
                                                    Claim GL Amount </td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblclaimGlAmount" runat="server" class="fieldNormal"></asp:Label>
                                                </td>

                                            </tr>
                                            <tr>
                                                <td valign="middle" align="left" style="width:25%">
                                                    Settelment GL Amount</td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblSettGlAmount" runat="server" class="fieldNormal"></asp:Label>
                                                </td>

                                            </tr>
                                            <tr>
                                                <td valign="middle" align="left" style="width:25%">
                                                    Settelment GL Count</td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblSettGlCount" runat="server" class="fieldNormal"></asp:Label>
                                                </td>

                                            </tr>
                                            <tr>
                                                <td align="left" style="width:25%" valign="middle">
                                                    ATM GL Amount</td>
                                                <td align="center" style="width:25%" valign="middle">
                                                    <asp:Label ID="lblATMGlAmount" runat="server" 
                                                        class="fieldNormal"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td valign="middle" align="left" style="width:25%">
                                                    ATM GL Count</td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblATMGlCount" runat="server" class="fieldNormal"></asp:Label>
                                                </td>

                                            </tr>
                                             <tr>
                                                <td align="left" style="width:25%" valign="middle">
                                                    Monthly SAMA GL Amount</td>
                                                <td align="center" style="width:25%" valign="middle">
                                                    <asp:Label ID="lblMonthlySAMAGLAmount" runat="server" 
                                                        class="fieldNormal"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td valign="middle" align="left" style="width:25%">
                                                    Monthly SAMA GL Count</td>

                                                <td valign="middle" align="center" style="width:25%">
                                                    <asp:Label ID="lblMonthlySAMAGLCount" runat="server" class="fieldNormal"></asp:Label>
                                                </td>

                                            </tr>
                                        </table>

                                    </td>
                                </tr>
                            </table>

                            <table border="0" cellpadding="0" cellspacing="0" class="action_TB_BgaddItem">
                                <tr>
                                    <td>
                                        &nbsp;</td>
                                </tr>
                            </table>

                        </asp:Panel>
                    </td>
                </tr>
            </table>

 </ContentTemplate>
 <Triggers >
    <asp:AsyncPostBackTrigger ControlID ="btnGenReport" EventName ="click" />
 </Triggers>
    </asp:UpdatePanel>
</asp:Content>

