<%@ page language="C#" autoeventwireup="true" inherits="ApplicationDetail, App_Web_applicationdetail.aspx.16ccd3f0" enableEventValidation="false" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>:: Application Detail ::</title>

    <script language="javascript" type="text/javascript" src="../App_Include/JavaScript/js_functions.js"> </script>

    <script language="javascript" type="text/javascript">



    </script>

</head>
<body>
    <form id="form1" runat="server" width="100%">
        <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true" AsyncPostBackTimeout="0" />
        <table cellspacing="0" cellpadding="0" width="100%" align="center">
            <tr>
                <td valign="top" align="center">
                    <asp:UpdatePanel ID="UpdatePanel4" runat="server" UpdateMode="Conditional">
                        <ContentTemplate>
                            <table id="tblMenuMain" cellspacing="0" cellpadding="0" width="99%" align="center"
                                border="0">
                                <tr>
                                    <td>
                                        <table id="menu" border="0" width="100%">
                                            <tbody>
                                                <tr>
                                                    <td class="itm" onmouseover="this.className='itm1';" onmouseout="this.className='itm';"
                                                        width="10%">
                                                        `
                                                    </td>
                                                    <td class="itm" onmouseover="this.className='itm1';" onmouseout="this.className='itm';"
                                                        width="10%">
                                                    </td>
                                                    <td width="80%" align="center" valign="top">
                                                        <%--<td width="80%" align="center" valign="top" style="background-image: url(../Images/ERPBannerLogo.jpg); background-position-x: right; background-repeat: no-repeat;">--%>
                                                        <%--<div class="MsgBox" id="MsgBox" runat="server" align="center" style="width: 100%">
                                                            <asp:Label ID="lblmsg" runat="server" CssClass="OperationMessage"></asp:Label>
                                                        </div>--%>
                                                    </td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                    <asp:UpdatePanel ID="UpdatePanel3" runat="server" UpdateMode="Conditional">
                        <ContentTemplate>
                            <table class="tablebg" id="Table18" cellspacing="1" cellpadding="1" width="600" align="center"
                                border="0">
                                <asp:Panel ID="PnlDailySummary" runat="server" Visible="True" Width="100%">
                                    <tr style="font-size: medium">
                                        <td colspan="4" height="20" align="center" style="filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#DAF7F5, endColorstr=#A1E5E0)">
                                            <b>DAILY SUMMARY</b></td>
                                    </tr>
                                    <tr class="tableInnerTr">
                                        <td>
                                            <asp:GridView ID="GVDailySummary" Width="100%" runat="server" CellPadding="0" CellSpacing="0"
                                                AutoGenerateColumns="False" RowStyle-CssClass="DGR_ITEM" AllowPaging="False"
                                                HeaderStyle-Height="0" ShowHeader="false" ShowFooter="True" OnRowDataBound="GVDailySummary_RowDataBound">
                                                <Columns>
                                                    <asp:BoundField DataField="ID">
                                                        <HeaderStyle CssClass="hiddencol"></HeaderStyle>
                                                        <ItemStyle CssClass="hiddencol"></ItemStyle>
                                                        <FooterStyle CssClass="hiddencol"></FooterStyle>
                                                    </asp:BoundField>
                                                    <asp:BoundField DataField="Lable" ItemStyle-Width="250Px" ItemStyle-HorizontalAlign="Left"
                                                        ItemStyle-Font-Bold="true" FooterText="Total Boxs Sold :" FooterStyle-Font-Bold="True"
                                                        FooterStyle-ForeColor="Black" FooterStyle-Font-Size="Smaller"></asp:BoundField>
                                                    <asp:TemplateField ControlStyle-Width="150Px" ItemStyle-HorizontalAlign="Left" FooterStyle-HorizontalAlign="Right">
                                                        <ItemTemplate>
                                                            <asp:Label ID="BranchName" runat="server">
                                                            </asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:BoundField DataField="BranchId">
                                                        <HeaderStyle CssClass="hiddencol"></HeaderStyle>
                                                        <ItemStyle CssClass="hiddencol"></ItemStyle>
                                                        <FooterStyle CssClass="hiddencol"></FooterStyle>
                                                    </asp:BoundField>
                                                    <asp:TemplateField ControlStyle-Width="100Px" ItemStyle-HorizontalAlign="Right" FooterStyle-HorizontalAlign="Right"
                                                        FooterStyle-Font-Size="Smaller">
                                                        <ItemTemplate>
                                                            <asp:Label ID="Qty" runat="server" Text='<%# Eval("Qty")%>'>
                                                            </asp:Label>
                                                        </ItemTemplate>
                                                        <FooterTemplate>
                                                            <asp:Label Font-Bold="True" ForeColor="Black" ID="lblQty1" runat="server"></asp:Label>
                                                        </FooterTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField ControlStyle-Width="110Px" ItemStyle-HorizontalAlign="Right" FooterStyle-HorizontalAlign="Right"
                                                        FooterStyle-Font-Size="Smaller">
                                                        <ItemTemplate>
                                                            <asp:Label ID="Total" runat="server" Text='<%# Eval("Total")%>'>
                                                            </asp:Label>
                                                        </ItemTemplate>
                                                        <FooterTemplate>
                                                            <asp:Label Font-Bold="True" ForeColor="Black" ID="lblTotal1" runat="server"></asp:Label>
                                                        </FooterTemplate>
                                                    </asp:TemplateField>
                                                </Columns>
                                                <RowStyle CssClass="DGR_ITEM" />
                                                <PagerStyle CssClass="DGR_PAGER"></PagerStyle>
                                                <PagerSettings Position="TopAndBottom" />
                                            </asp:GridView>
                                        </td>
                                    </tr>
                                </asp:Panel>
                            </table>
                            <table class="tablebg" id="Table1" cellspacing="1" cellpadding="1" width="600" align="center"
                                border="0">
                                <asp:Panel ID="PnlMonthlySummary" runat="server" Visible="True" Width="100%">
                                    <tr style="font-size: medium">
                                        <td colspan="4" height="20" align="center" style="filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#DAF7F5, endColorstr=#A1E5E0)">
                                            <b>MONTHLY SUMMARY</b></td>
                                    </tr>
                                    <tr class="tableInnerTr">
                                        <td>
                                            <asp:GridView ID="GVMonthlySummary" Width="100%" runat="server" CellPadding="0" CellSpacing="0"
                                                AutoGenerateColumns="False" RowStyle-CssClass="DGR_ITEM" AllowPaging="False"
                                                HeaderStyle-Height="0" ShowHeader="false" ShowFooter="True" OnRowDataBound="GVMonthlySummary_RowDataBound">
                                                <Columns>
                                                    <asp:BoundField DataField="ID">
                                                        <HeaderStyle CssClass="hiddencol"></HeaderStyle>
                                                        <ItemStyle CssClass="hiddencol"></ItemStyle>
                                                        <FooterStyle CssClass="hiddencol"></FooterStyle>
                                                    </asp:BoundField>
                                                    <asp:BoundField DataField="Lable" ItemStyle-Width="250Px" ItemStyle-HorizontalAlign="Left"
                                                        ItemStyle-Font-Bold="true" FooterText="Total Boxs Sold :" FooterStyle-Font-Bold="True"
                                                        FooterStyle-ForeColor="Black" FooterStyle-Font-Size="Smaller"></asp:BoundField>
                                                    <asp:TemplateField ControlStyle-Width="150Px" ItemStyle-HorizontalAlign="Left" FooterStyle-HorizontalAlign="Right">
                                                        <ItemTemplate>
                                                            <asp:Label ID="BranchName1" runat="server">
                                                            </asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:BoundField DataField="BranchId">
                                                        <HeaderStyle CssClass="hiddencol"></HeaderStyle>
                                                        <ItemStyle CssClass="hiddencol"></ItemStyle>
                                                        <FooterStyle CssClass="hiddencol"></FooterStyle>
                                                    </asp:BoundField>
                                                    <asp:TemplateField ControlStyle-Width="100Px" ItemStyle-HorizontalAlign="Right" FooterStyle-HorizontalAlign="Right"
                                                        FooterStyle-Font-Size="Smaller">
                                                        <ItemTemplate>
                                                            <asp:Label ID="Qty" runat="server" Text='<%# Eval("Qty")%>'>
                                                            </asp:Label>
                                                        </ItemTemplate>
                                                        <FooterTemplate>
                                                            <asp:Label Font-Bold="True" ForeColor="Black" ID="lblQty" runat="server"></asp:Label>
                                                        </FooterTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField ControlStyle-Width="110Px" ItemStyle-HorizontalAlign="Right" FooterStyle-HorizontalAlign="Right"
                                                        FooterStyle-Font-Size="Smaller">
                                                        <ItemTemplate>
                                                            <asp:Label ID="Total" runat="server" Text='<%# Eval("Total")%>'>
                                                            </asp:Label>
                                                        </ItemTemplate>
                                                        <FooterTemplate>
                                                            <asp:Label Font-Bold="True" ForeColor="Black" ID="lblTotal" runat="server"></asp:Label>
                                                        </FooterTemplate>
                                                    </asp:TemplateField>
                                                </Columns>
                                                <RowStyle CssClass="DGR_ITEM" />
                                                <PagerStyle CssClass="DGR_PAGER"></PagerStyle>
                                                <PagerSettings Position="TopAndBottom" />
                                            </asp:GridView>
                                        </td>
                                    </tr>
                                </asp:Panel>
                            </table>
                            <table class="tablebg" id="Table2" cellspacing="1" cellpadding="1" width="600" align="center"
                                border="0">
                                <asp:Panel ID="PnlYearlySummary" runat="server" Visible="True" Width="100%">
                                    <tr style="font-size: medium">
                                        <td colspan="4" height="20" align="center" style="filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#DAF7F5, endColorstr=#A1E5E0)">
                                            <b>YEARLY SUMMARY</b></td>
                                    </tr>
                                    <tr class="tableInnerTr">
                                        <td>
                                            <asp:GridView ID="GVYearlySummary" Width="100%" runat="server" CellPadding="0" CellSpacing="0"
                                                AutoGenerateColumns="False" RowStyle-CssClass="DGR_ITEM" AllowPaging="False"
                                                HeaderStyle-Height="0" ShowHeader="false" ShowFooter="True" OnRowDataBound="GVYearlySummary_RowDataBound">
                                                <Columns>
                                                    <asp:BoundField DataField="ID">
                                                        <HeaderStyle CssClass="hiddencol"></HeaderStyle>
                                                        <ItemStyle CssClass="hiddencol"></ItemStyle>
                                                        <FooterStyle CssClass="hiddencol"></FooterStyle>
                                                    </asp:BoundField>
                                                    <asp:BoundField DataField="Lable" ItemStyle-Width="250Px" ItemStyle-HorizontalAlign="Left"
                                                        ItemStyle-Font-Bold="true" FooterText="Total Boxs Sold :" FooterStyle-Font-Bold="True"
                                                        FooterStyle-ForeColor="Black" FooterStyle-Font-Size="Smaller"></asp:BoundField>
                                                    <asp:TemplateField ControlStyle-Width="150Px" ItemStyle-HorizontalAlign="Left" FooterStyle-HorizontalAlign="Right">
                                                        <ItemTemplate>
                                                            <asp:Label ID="BranchName2" runat="server"></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:BoundField DataField="BranchId">
                                                        <HeaderStyle CssClass="hiddencol"></HeaderStyle>
                                                        <ItemStyle CssClass="hiddencol"></ItemStyle>
                                                        <FooterStyle CssClass="hiddencol"></FooterStyle>
                                                    </asp:BoundField>
                                                    <asp:TemplateField ControlStyle-Width="100Px" ItemStyle-HorizontalAlign="Right" FooterStyle-HorizontalAlign="Right"
                                                        FooterStyle-Font-Size="Smaller">
                                                        <ItemTemplate>
                                                            <asp:Label ID="Qty" runat="server" Text='<%# Eval("Qty")%>'>
                                                            </asp:Label>
                                                        </ItemTemplate>
                                                        <FooterTemplate>
                                                            <asp:Label Font-Bold="True" ForeColor="Black" ID="lblQty2" runat="server"></asp:Label>
                                                        </FooterTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField ControlStyle-Width="110Px" ItemStyle-HorizontalAlign="Right" FooterStyle-HorizontalAlign="Right"
                                                        FooterStyle-Font-Size="Smaller">
                                                        <ItemTemplate>
                                                            <asp:Label ID="Total" runat="server" Text='<%# Eval("Total")%>'>
                                                            </asp:Label>
                                                        </ItemTemplate>
                                                        <FooterTemplate>
                                                            <asp:Label Font-Bold="True" ForeColor="Black" ID="lblTotal2" runat="server"></asp:Label>
                                                        </FooterTemplate>
                                                    </asp:TemplateField>
                                                </Columns>
                                                <RowStyle CssClass="DGR_ITEM" />
                                                <PagerStyle CssClass="DGR_PAGER"></PagerStyle>
                                                <PagerSettings Position="TopAndBottom" />
                                            </asp:GridView>
                                        </td>
                                    </tr>
                                </asp:Panel>
                                <asp:Panel ID="Panel1" runat="server" Visible="True" Width="100%">
                                    <tr style="font-size: small; font-weight: bold; text-align: center; vertical-align: middle;">
                                        <td>
                                            <asp:RadioButton ID="rbtDetail" runat="server" GroupName="rbtReport" Text="Detail"
                                                Checked="true" AutoPostBack="true" OnCheckedChanged="rbtDetail_CheckedChanged" />
                                            <asp:RadioButton ID="rbtSummary" runat="server" GroupName="rbtReport" Text="Summary"
                                                AutoPostBack="true" OnCheckedChanged="rbtSummary_CheckedChanged" />
                                            <asp:RadioButton ID="rbtBrief" runat="server" GroupName="rbtReport" Text="Brief"
                                                AutoPostBack="true" OnCheckedChanged="rbtBrief_CheckedChanged" />
                                        </td>
                                    </tr>
                                </asp:Panel>
                            </table>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
