<%@ Page Title="Report A:Summary By Team" Language="C#" AutoEventWireup="true" MasterPageFile="~/Site.Master" CodeBehind="TeamReport.aspx.cs" Inherits="NikaiDSR.Manager.TeamReport" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
   <div class="content_holder"> <%--style="margin-top: 10px"--%>
        <div class="bg_shadow"> <%--style="width: 90%; margin: auto"--%>
            <h1>REPORT A : SUMMARY BY TEAM</h1>
            <br />
            <br />
            <div class="errMsg" id="errMsg" runat="server" style="display: none;">
                <div class="errMsgText" id="errMsgText" runat="server"></div>
                <br />
            </div>
            <table border="2" cellspacing="0" cellpadding="0" width="100%">
                <tr>
                    <td>From <span id="label1" class="mand_style">*</span> :
                        <telerik:RadDatePicker ID="dpFrom" runat="server" />
                        To <span id="Span1" class="mand_style">*</span> :<telerik:RadDatePicker ID="dpTo" runat="server" />
                    </td>

                </tr>
                <tr>
                    <td>
                        <telerik:RadComboBox ID="cmbCountry" runat="server" Style="float:left" Enabled="false"/>
                        <telerik:RadComboBox ID="cmbRegion" runat="server" Style="float:left" Enabled="false"/>
                        <telerik:RadComboBox ID="cmbLocation" runat="server" Style="float:left" Enabled="false"/>
                        <asp:RadioButtonList ID="rblAccounts" runat="server" RepeatDirection="Horizontal" Style="float:left">
                            <asp:ListItem Text="ALL" Value="1" Selected="True" />
                            <asp:ListItem Text="KEY ACCOUNTS" Value="2" />
                            <asp:ListItem Text="MARKET DEALERS" Value="3" />
                        </asp:RadioButtonList>
                        <asp:Button ID="btnGo" runat="server" Text="Go" OnClick="btnGo_Click" Style="float:left"/>
                    </td>

                </tr>
            </table>
        </div>
        <br />

            <table border="2" cellspacing="0" cellpadding="0" width="100%">
                <tr>
                    <td>
                        <br />
                        <telerik:RadGrid ID="Grid" SkinId="ReportGrid" runat="server" OnItemCommand="Radgrid1_ItemCommand" OnNeedDataSource="Grid_NeedDataSource">
                            <MasterTableView>
                                <Columns>
                                    <telerik:GridBoundColumn HeaderText="Date" UniqueName="Date" DataField="Date" DataFormatString="{0:dd/MM/yyyy}"/>
                                    <telerik:GridBoundColumn HeaderText="Executive Count" UniqueName="Executive_Count" DataField="Executive_Count" />
                                    <telerik:GridBoundColumn HeaderText="DSR Submitted" UniqueName="DSR_Submitted" DataField="DSR_Submitted" />
                                    <telerik:GridBoundColumn HeaderText="Not Submitted By" UniqueName="DSR_NotSubmittedBy" DataField="DSR_NotSubmittedBy" />
                                    <telerik:GridBoundColumn HeaderText="Total Customer Visited" UniqueName="Total_Customer_Visited" DataField="Total_Customer_Visited" />
                                    <telerik:GridBoundColumn HeaderText="Sales" UniqueName="Sales" DataField="Sales" />
                                    <telerik:GridBoundColumn HeaderText="Secondary Sales" UniqueName="Secondary_Sales" DataField="Secondary_Sales" />
                                    <telerik:GridBoundColumn HeaderText="Collection" UniqueName="Collection" DataField="Collection" />
                                    <telerik:GridBoundColumn HeaderText="Discount" UniqueName="Discount" DataField="Discount" />
                                    <telerik:GridBoundColumn HeaderText="Sales Return" UniqueName="Sales_Return" DataField="Sales_Return" />
                                    <telerik:GridBoundColumn HeaderText="Time with Customer" UniqueName="Time_Customer" DataField="Time_Customer" />
                                    <telerik:GridBoundColumn HeaderText="Time with Merchandiser" UniqueName="Time_Merchandiser" DataField="Time_Merchandiser" />
                                    <telerik:GridBoundColumn HeaderText="Time in Office" UniqueName="Time_In_Office" DataField="Time_In_Office" />
                                </Columns>
                            </MasterTableView>
                        </telerik:RadGrid>

                    </td>
                </tr>
            </table>
    </div>
</asp:Content>
