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

<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 C : SUMMARY BY DAY</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 colspan="3">Date <span id="label1" class="mand_style">*</span> : 
                           <telerik:RadDatePicker ID="Dt" runat="server" />                         
                        </td>

                    </tr>
                    <tr>
                        <td colspan="3">
                          <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" OnItemDataBound="Grid_ItemDataBound">
                            <MasterTableView>
                                <Columns>
                                    <telerik:GridBoundColumn HeaderText="Executive Name" UniqueName="Executive_Name" DataField="Executive_Name"/>
                                    <telerik:GridBoundColumn HeaderText="Presence" UniqueName="Present" DataField="Present" />
                                    <telerik:GridBoundColumn HeaderText="DSR Submitted" UniqueName="DSR_Submitted" DataField="DSR_Submitted" />
                                    <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>
