<%@ Page Language="C#" AutoEventWireup="false" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Controls" Assembly="Hishop.Web.Controls" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Management" Assembly="Hishop.Web.Management" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Validator" Assembly="Hishop.Web.Validator" %>
<%@ Register TagPrefix="UI" Namespace="ASPNET.WebControls" Assembly="ASPNET.WebControls" %>
<%@ Import Namespace="Hishop.SystemServices" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <Hishop:HeadContainer ID="HeadContainer1" runat="server" />
    <Hishop:PageTitle ID="PageTitle1" runat="server" />
    <link rel="stylesheet" href="../../utility/validate/pagevalidator.css" type="text/css" />
    <link rel="stylesheet" href="../css/Hishopv5.css" type="text/css" />
    <script type="text/javascript" src="../../utility/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="../../utility/validate/pagevalidator.js"></script>
    
    <script type="text/javascript" src="../js/Hishopv5.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <div>
          
            <div class="PageTitleArea">
                <div class="PageTitle">
                    <asp:Literal ID="lblPageTitle" runat="server" Text="<%$ Resources:SaleTargetAnalyse, IDS_PageTitle %>"></asp:Literal>
                </div>
                <div style="width: 80%;">
                    <asp:Literal ID="lblPageDesc" runat="server"  Text="<%$ Resources:SaleTargetAnalyse, IDS_PageDesc %>"></asp:Literal>
                </div>
            </div>
            <Hishop:SaleTargetAnalyse ID="SaleTargetAnalyse" runat="server" >
                <SkinTemplate>
                <Hishop:StatusMessage id="Status" runat="server" Visible="False" />

                    <div class="grdGroupFormList"> 
                        
                        <table width="100%" border="0" cellspacing="0" cellpadding="0" style="background-color:#eeeeee;" >
                            <tr>
                                <td style="padding:10px;">
                                    <div style="font-size:14px; font-weight:bold;"><asp:Literal runat="server"  Text="<%$ Resources:SaleTargetAnalyse, IDS_Title_OrderAvPrice %>"></asp:Literal></div>
                                    <div style=" background-color:#ffffff; padding:4px; border:solid 1px #CCCCCC;">
                                    <div class="grdGroupList" style="border:solid 1px #b7c0c9; ">
                                        <Hishop:CustomGridView ID="grdOrderAvPrice" runat="server" AutoGenerateColumns="false" ShowHeader="true" AllowSorting="true" CssClass="GridViewStyle" GridLines="None" RowStyle-CssClass="grdrow" HeaderStyle-CssClass="GridViewHeaderStyle" >                                                        
                                                <Columns>     
                                                    <asp:TemplateField HeaderText="<%$ Resources:SaleTargetAnalyse, IDS_Field_OrderPrice %>" >
                                                        <itemtemplate>
                                                            <Hishop:FormatedMoneyLabelForAdmin Money='<%#Eval("OrderPrice") %>' runat="server" ></Hishop:FormatedMoneyLabelForAdmin>
                                                        </itemtemplate>
                                                    </asp:TemplateField>   
                                                    <asp:TemplateField HeaderText="<%$ Resources:SaleTargetAnalyse, IDS_Field_UserNumb %>">
                                                        <itemtemplate>
                                                            <%#Eval("UserNumb") %>
                                                        </itemtemplate>
                                                    </asp:TemplateField>                                            
                                                    <asp:TemplateField HeaderText="<%$ Resources:SaleTargetAnalyse, IDS_Title_OrderAvPrice %>" >
                                                        <itemtemplate>
                                                            <%# (Convert.ToDecimal(Eval("UserNumb"))>0?(Globals.SafeDecimal(Convert.ToString(Eval("OrderPrice")),0)/Convert.ToDecimal(Eval("UserNumb"))):0).ToString("C") %>
                                                        </itemtemplate>
                                                    </asp:TemplateField>                                                                                                                                                                                                                                                                                                   
                                                </Columns>
                                        </Hishop:CustomGridView>
                                    </div>
                                    </div>
                                </td>
                                <td style="padding:10px;">
                                    <div style="font-size:14px; font-weight:bold;"><asp:Literal runat="server"  Text="<%$ Resources:SaleTargetAnalyse, IDS_Title_VisitOrderAvPrice %>"></asp:Literal></div>
                                    <div style=" background-color:#ffffff; padding:4px; border:solid 1px #CCCCCC;">
                                    <div class="grdGroupList" style="border:solid 1px #b7c0c9">
                                        <Hishop:CustomGridView ID="grdVisitOrderAvPrice" runat="server" AutoGenerateColumns="false" ShowHeader="true" AllowSorting="true" CssClass="GridViewStyle" GridLines="None" RowStyle-CssClass="grdrow" HeaderStyle-CssClass="GridViewHeaderStyle" >                                                        
                                                <Columns>     
                                                    <asp:TemplateField HeaderText="<%$ Resources:SaleTargetAnalyse, IDS_Field_OrderPrice %>" >
                                                        <itemtemplate>
                                                            <Hishop:FormatedMoneyLabelForAdmin Money='<%#Eval("OrderPrice") %>' runat="server" ></Hishop:FormatedMoneyLabelForAdmin>
                                                        </itemtemplate>
                                                    </asp:TemplateField>   
                                                    <asp:TemplateField HeaderText="<%$ Resources:SaleTargetAnalyse, IDS_Field_ProductVisitNumb %>">
                                                        <itemtemplate>
                                                            <%#Eval("ProductVisitNumb") %>
                                                        </itemtemplate>
                                                    </asp:TemplateField>                                            
                                                    <asp:TemplateField HeaderText="<%$ Resources:SaleTargetAnalyse, IDS_Title_VisitOrderAvPrice %>" >
                                                        <itemtemplate>
                                                            <%# (Convert.ToDecimal(Eval("ProductVisitNumb"))>0?Globals.SafeDecimal(Convert.ToString(Eval("OrderPrice")),0)/Convert.ToDecimal(Eval("ProductVisitNumb")):0).ToString("C") %>
                                                        </itemtemplate>
                                                    </asp:TemplateField>                                                                                                                                                                                                                                                                                                   
                                                </Columns>
                                        </Hishop:CustomGridView>
                                    </div>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td style="padding:10px;">
                                    <div style="font-size:14px; font-weight:bold;"><asp:Literal runat="server"  Text="<%$ Resources:SaleTargetAnalyse, IDS_Title_OrderTranslatePercentage %>"></asp:Literal></div>
                                    <div style=" background-color:#ffffff; padding:4px; border:solid 1px #CCCCCC;">
                                    <div class="grdGroupList" style="border:solid 1px #b7c0c9">
                                        <Hishop:CustomGridView ID="grdOrderTranslatePercentage" runat="server" AutoGenerateColumns="false" ShowHeader="true" AllowSorting="true" CssClass="GridViewStyle" GridLines="None" RowStyle-CssClass="grdrow" HeaderStyle-CssClass="GridViewHeaderStyle" >                                                        
                                                <Columns>     
                                                    <asp:TemplateField HeaderText="<%$ Resources:SaleTargetAnalyse, IDS_Field_OrderNumb %>" >
                                                        <itemtemplate>
                                                            <%#Eval("OrderNumb") %>
                                                        </itemtemplate>
                                                    </asp:TemplateField>   
                                                    <asp:TemplateField HeaderText="<%$ Resources:SaleTargetAnalyse, IDS_Field_ProductVisitNumb %>">
                                                        <itemtemplate>
                                                            <%#Eval("ProductVisitNumb") %>
                                                        </itemtemplate>
                                                    </asp:TemplateField>                                            
                                                    <asp:TemplateField HeaderText="<%$ Resources:SaleTargetAnalyse, IDS_Field_OrderTranslatePercentage %>" >
                                                        <itemtemplate>
                                                            <%# (Convert.ToDecimal(Eval("ProductVisitNumb"))>0?Globals.SafeDecimal(Convert.ToString(Eval("OrderNumb")),0)/Convert.ToDecimal(Eval("ProductVisitNumb"))*100:0).ToString("F2") %>%
                                                        </itemtemplate>
                                                    </asp:TemplateField>                                                                                                                                                                                                                                                                                                   
                                                </Columns>
                                        </Hishop:CustomGridView>
                                    </div>
                                    </div>
                                </td>
                                <td style="padding:10px;">
                                    <div style="font-size:14px; font-weight:bold;"><asp:Literal runat="server"  Text="<%$ Resources:SaleTargetAnalyse, IDS_Title_UserOrderPercentage %>"></asp:Literal></div>
                                    <div style=" background-color:#ffffff; padding:4px; border:solid 1px #CCCCCC;">
                                    <div class="grdGroupList" style="border:solid 1px #b7c0c9">
                                        <Hishop:CustomGridView ID="grdUserOrderPercentage" runat="server" AutoGenerateColumns="false" ShowHeader="true" AllowSorting="true" CssClass="GridViewStyle" GridLines="None" RowStyle-CssClass="grdrow" HeaderStyle-CssClass="GridViewHeaderStyle" >                                                        
                                                <Columns>     
                                                    <asp:TemplateField HeaderText="<%$ Resources:SaleTargetAnalyse, IDS_Field_UserOrderedNumb %>" >
                                                        <itemtemplate>
                                                            <%#Eval("UserOrderedNumb") %>
                                                        </itemtemplate>
                                                    </asp:TemplateField>   
                                                    <asp:TemplateField HeaderText="<%$ Resources:SaleTargetAnalyse, IDS_Field_UserNumb %>">
                                                        <itemtemplate>
                                                            <%#Eval("UserNumb") %>
                                                        </itemtemplate>
                                                    </asp:TemplateField>                                            
                                                    <asp:TemplateField HeaderText="<%$ Resources:SaleTargetAnalyse, IDS_Field_UserOrderPercentage %>" >
                                                        <itemtemplate>
                                                            <%# (Convert.ToDecimal(Eval("UserNumb"))>0?Globals.SafeDecimal(Convert.ToString(Eval("UserOrderedNumb")),0)/Convert.ToDecimal(Eval("UserNumb"))*100:0).ToString("F2") %>%
                                                        </itemtemplate>
                                                    </asp:TemplateField>                                                                                                                                                                                                                                                                                                   
                                                </Columns>
                                        </Hishop:CustomGridView>
                                    </div>
                                    </div>
                                </td>
                                <td></td>
                            </tr>
                            <tr>
                                <td style="padding:10px;">
                                    <div style="font-size:14px; font-weight:bold;"><asp:Literal runat="server"  Text="<%$ Resources:SaleTargetAnalyse, IDS_Title_UserOrderAvNumb %>"></asp:Literal></div>
                                    <div style=" background-color:#ffffff; padding:4px; border:solid 1px #CCCCCC;">
                                    <div class="grdGroupList" style="border:solid 1px #b7c0c9">
                                        <Hishop:CustomGridView ID="grdUserOrderAvNumb" runat="server" AutoGenerateColumns="false" ShowHeader="true" AllowSorting="true" CssClass="GridViewStyle" GridLines="None" RowStyle-CssClass="grdrow" HeaderStyle-CssClass="GridViewHeaderStyle" >                                                        
                                                <Columns>     
                                                    <asp:TemplateField HeaderText="<%$ Resources:SaleTargetAnalyse, IDS_Field_OrderNumb %>" >
                                                        <itemtemplate>
                                                            <%# Eval("OrderNumb") %>
                                                        </itemtemplate>
                                                    </asp:TemplateField>   
                                                    <asp:TemplateField HeaderText="<%$ Resources:SaleTargetAnalyse, IDS_Field_UserNumb %>">
                                                        <itemtemplate>
                                                            <%#Eval("UserNumb") %>
                                                        </itemtemplate>
                                                    </asp:TemplateField>                                            
                                                    <asp:TemplateField HeaderText="<%$ Resources:SaleTargetAnalyse, IDS_Field_UserOrderAvNumb %>" >
                                                        <itemtemplate>
                                                            <%# (Convert.ToDecimal(Eval("UserNumb"))>0?Globals.SafeDecimal(Convert.ToString(Eval("OrderNumb")),0)/Convert.ToDecimal(Eval("UserNumb")):0).ToString("F2") %>
                                                        </itemtemplate>
                                                    </asp:TemplateField>                                                                                                                                                                                                                                                                                                   
                                                </Columns>
                                        </Hishop:CustomGridView>
                                    </div>
                                    </div>
                                </td>
                                <td></td>
                            </tr>
                        </table>

                     </div> 
                     
                </SkinTemplate>            
            </Hishop:SaleTargetAnalyse>
             </div>
        <br />
        <div class="botCopyInfo">
            <hr style="width:500px;" />
            <Hishop:SiteCopyright runat="server" />
        </div>
        <br />
        <Hishop:ValidatorContainer runat="server" ID="ValidatorContainer" />
    </form>
</body>
</html>
 
 