<%@ Page Language="C#" MasterPageFile="~/masterpages/eDashboard.master" AutoEventWireup="true" Inherits="site_HITS_ReturnAuthorizations_Detail" Title="Brightstar Device Protection: Return Authorization Detail"
    Culture="auto" UICulture="auto" Theme="eMain" CodeBehind="Details.aspx.cs" %>

<%@ Register Src="~/Controls/PersistNav.ascx" TagName="PersistNav" TagPrefix="uc" %>
<%@ Register Src="~/Controls/ChildHeader.ascx" TagName="ChildHeader" TagPrefix="uc" %>
<%@ Register Src="~/Controls/HITSCalendar.ascx" TagName="HITSCalendar" TagPrefix="uc" %>
<%@ Register Src="~/Controls/CustomSorter.ascx" TagName="CustomSorter" TagPrefix="uc" %>
<%@ Register Src="~/Controls/NotesControl.ascx" TagName="NotesControl" TagPrefix="uc" %>
<%@ Register Assembly="eSecuritel.HITS.UI.Components" Namespace="eSecuritel.HITS.UI.Components"
    TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="eContent" runat="Server">
    <center>
        <asp:Label ID="lblSuccess" runat="server" Text="<%$ Resources: Default, LabelLabel %>" Font-Bold="True" ForeColor="Green"></asp:Label>
    </center>
    <cc1:ExtendedValidationSummary ID="m_extValidationSummaryTop" runat="server" ValidationGroup="ReturnAuthorizationsMain"
        HeaderText="<%$ Resources: LogisticsManagement, LabelThefollowingitemsneedtobereviewedbeforeupdatingthisReturnAuthorizations %>" />
    <table width="100%">
        <tr>
            <td>
                <h1>
                    <asp:Literal ID="m_litTitle" runat="server" Text="<%$ Resources: LogisticsManagement, LabelReturnAuthorizationDetails %>" />
                </h1>
            </td>
            <td valign="top">
                <uc:PersistNav ID="PersistNav1" runat="server" />
            </td>
        </tr>
    </table>
    <uc:ChildHeader ID="ChildHeader1" runat="server" />
    <p align="right">
        <asp:Label ID="ReturnAuthorizationNumber" runat="server"></asp:Label>
    </p>
    <asp:Panel ID="m_divWarrantyReturns" runat="server">
        <table border="0" cellpadding="0" cellspacing="0" class="gvTable" width="100%">
            <tr width="30%">
                <td align="left" colspan="6" bgcolor="#ffffff" bordercolor="#ffffff" width="15%">
                    <h2>
                        <asp:Literal ID="Literal10" Text="<%$ Resources: LogisticsManagement, LabelStep1WarrantyReturnItems %>" runat="server"></asp:Literal>
                    </h2>
                </td>
            </tr>
            <tr width="30%">
                <td align="left" colspan="5" bgcolor="#ffffff" bordercolor="#ffffff">
                    <asp:Literal ID="m_litCarrierName" runat="server"></asp:Literal></td>
                <td align="right" colspan="1" bgcolor="#ffffff" bordercolor="#ffffff">
                    <asp:Button ID="m_btnSubmit" OnClick="m_btnSubmit_Click" runat="server" Text="<%$ Resources: Default, ButtonAdd %>" CssClass="pagebutton"
                        ValidationGroup="ReturnAuthorizationsMain" /></td>
            </tr>
            <tr valign="top" class="greyblock" width="30%">
                <td align="right" width="15%">
                    <asp:Literal ID="Literal8" Text="<%$ Resources: LogisticsManagement, LabelRATypeColon %>" runat="server"></asp:Literal>
                </td>
                <td align="left" colspan="2" style="height: 28px">
                    <asp:DropDownList ID="m_ddlRAType" runat="server">
                    </asp:DropDownList>
                    <asp:Literal ID="WarrantyRAType" runat="server"></asp:Literal>
                </td>
                <td align="right">
                    <asp:Literal ID="Literal5" Text="<%$ Resources: OrganizationManagement, LabelOrganizationColon %>" runat="server"></asp:Literal>
                </td>
                <td align="left" colspan="2">
                    <asp:DropDownList ID="m_ddlOrganization" runat="server">
                    </asp:DropDownList>
                    <asp:Literal ID="WarrantyOrganization" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr valign="top" class="greyblock" width="30%">
                <td align="right" width="15%">
                    <asp:Literal ID="Literal6" Text="<%$ Resources: LogisticsManagement, LabelPhoneModelColon %>" runat="server"></asp:Literal></td>
                <td align="left" colspan="2" style="height: 28px">
                    <asp:DropDownList ID="m_ddlPhoneModel" runat="server">
                    </asp:DropDownList>
                </td>
                <td align="right">
                    <asp:Literal ID="Literal3" Text="<%$ Resources: HandsetManagement, LabelESNIMEI %>" runat="server"></asp:Literal>
                    <b><span style="color: #ff0000">*</span></b>
                </td>
                <td align="left" colspan="2">
                    <asp:TextBox ID="WarrantyESN" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" Text=" "
                        ErrorMessage="<%$ Resources: HandsetManagement, ErrorMessageESNisRequired %>" ToolTip="<%$ Resources: HandsetManagement, ToolTipESNisRequired %>" ControlToValidate="WarrantyESN"
                        ValidationGroup="ReturnAuthorizationsMain"> &nbsp;
                    </asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr valign="top" class="greyblock" width="30%">
                <td align="right" colspan="1" width="15%" style="height: 28px">
                    <asp:Literal ID="Literal7" Text="<%$ Resources: UsersManagement, LabelCreatedbyColon %>" runat="server"></asp:Literal></td>
                <td align="left" colspan="2">
                    <asp:DropDownList ID="m_ddlCreatedBy" runat="server">
                    </asp:DropDownList>
                    <asp:Literal ID="WarrantyCreatedBy" runat="server"></asp:Literal>
                </td>
                <td align="right" colspan="1">
                    <asp:Literal ID="Literal4" Text="<%$ Resources: UsersManagement, LabelCreatedOnColon %>" runat="server"></asp:Literal>
                </td>
                <td align="left" colspan="2">
                    <uc:HITSCalendar ID="m_calCreatedOn" runat="server" />
                    <asp:Literal ID="WarrantyCreatedOn" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr valign="top" class="greyblock" width="30%">
                <td align="right" colspan="1" width="15%">
                    <asp:Literal ID="Literal9" Text="<%$ Resources: LogisticsManagement, LabelRADescriptionColon %>" runat="server"></asp:Literal>
                    <b><span style="color: #ff0000">*</span></b>
                </td>
                <td align="left" colspan="5">
                    <asp:TextBox ID="WarrantyDescription" runat="server" Height="70px" TextMode="MultiLine"
                        Width="300px"></asp:TextBox>

                    <asp:RequiredFieldValidator ID="WarrantyDescriptionValidator1" runat="server" Text=""
                        ErrorMessage="<%$ Resources: LogisticsManagement, ErrorMessageRADescriptionisRequired %>" ToolTip="<%$ Resources: LogisticsManagement, ToolTipRADescriptionisRequired %>" ControlToValidate="WarrantyDescription"
                        ValidationGroup="ReturnAuthorizationsMain"> &nbsp;
                    </asp:RequiredFieldValidator>
                </td>
            </tr>
        </table>
        <asp:Panel ID="m_pnlInventoryInfoForWarranty" runat="server" Width="100%">
            <!---------------------------------HitsSearchGridView----------------------------------->
            <br />
            <cc1:HitsSearchGridView ID="m_gvRAUnits" runat="server" AutoGenerateColumns="False"
                Width="100%" AllowPaging="True" OnRowDataBound="m_gvRAUnits_RowDataBound" OnMenuItemCommand="m_gvRAUnits_OnMenuItemCommand"
                ShowMenu="True" ShowSelectField="True" ShowActivateMenu="False" ShowDeActivateMenu="False"
                ShowEmailMenu="False" ShowPrintMenu="True" ShowHotlineMenu="False" ShowDeHotlineMenu="False"
                ShowDeleteMenu="True" ShowDeSelectMenu="True"
                ShowExportMenu="True" ShowSelectMenu="True" AtlasScriptManagerID="" ClientFunctionActivateSelected=""
                ClientFunctionDeActivateSelected="" ClientFunctionDeHotline="" ClientFunctionDelete=""
                ClientFunctionEmailSelected="" ClientFunctionExportSelected="" ClientFunctionHotline=""
                ClientFunctionPrint="" ClientFunctionSetStatus="" CssClassCustomPaging="" CssClassMenu=""
                CustomPagerID="" PropagateActionToChildID="" ShowExportCSV="True" ShowExportCSVWithSummary="False"
                ShowExportXML="True" ShowExportXMLWithSummary="False" ShowSetStatus="False">
                <Columns>

                    <asp:TemplateField>
                        <HeaderTemplate>
                            <asp:Literal runat="server" ID="m_litDetails" Text="<%$ Resources: LogisticsManagement, HeaderTextRAUnitId %>"></asp:Literal>
                        </HeaderTemplate>
                        <ItemStyle Width="1px" HorizontalAlign="Left" />
                        <ItemTemplate>
                            <asp:HyperLink runat="server" ID="m_hlDetails" TolTip="<%$ Resources: LogisticsManagement, HyperLinkGetReturnAuthorizationDetails %>"></asp:HyperLink>
                            <asp:HiddenField runat="server" ID="m_hfRAUnitId"></asp:HiddenField>
                        </ItemTemplate>
                    </asp:TemplateField>

                    <asp:TemplateField>
                        <HeaderTemplate>
                            <asp:Literal runat="server" ID="m_litModelHeader" Text="<%$ Resources: ModelManagement, HeaderTextModel %>"></asp:Literal>
                            <br />
                        </HeaderTemplate>
                        <ItemStyle Wrap="false" />
                        <ItemTemplate>
                            <asp:HyperLink runat="server" ID="m_linkModel"></asp:HyperLink>


                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField>
                        <HeaderTemplate>
                            <asp:Literal runat="server" ID="m_litESNHeader" Text="<%$ Resources: HandsetManagement, HeaderTextESNIMEI %>"></asp:Literal>

                            <br />


                        </HeaderTemplate>
                        <ItemStyle Wrap="false" />
                        <ItemTemplate>
                            <asp:HyperLink runat="server" ID="m_linkInventory"></asp:HyperLink>


                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField>
                        <HeaderTemplate>
                            <asp:Literal runat="server" ID="m_litDescriptionHeader" Text="<%$ Resources: LogisticsManagement, HeaderTextRADescription %>"></asp:Literal>

                            <br />

                        </HeaderTemplate>
                        <ItemStyle Wrap="true" Width="35%" />
                        <ItemTemplate>
                            <asp:Literal runat="server" ID="m_litDescription"></asp:Literal>


                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField>
                        <HeaderTemplate>
                            <asp:Literal runat="server" ID="m_litCreatedByHeader" Text="<%$ Resources: UsersManagement, HeaderTextCreatedBy %>"></asp:Literal>

                            <br />

                        </HeaderTemplate>
                        <ItemStyle Wrap="false" />
                        <ItemTemplate>
                            <asp:Literal runat="server" ID="m_litCreatedBy"></asp:Literal>


                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField>
                        <HeaderTemplate>
                            <asp:Literal runat="server" ID="m_litCreatedOnHeader" Text="<%$ Resources: UsersManagement, HeaderTextCreatedOn %>"></asp:Literal>

                            <br />

                        </HeaderTemplate>
                        <ItemStyle Wrap="false" />
                        <ItemTemplate>
                            <asp:Literal runat="server" ID="m_litCreatedOn"></asp:Literal>


                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <PagerTemplate>
                    <cc1:HitsPager ID="HitsPager1" runat="server" GoButtonText="<%$ Resources : Default, GoButtonText %>" />
                </PagerTemplate>
                <PagerSettings Mode="NumericFirstLast" />
                <RowStyle HorizontalAlign="Center" VerticalAlign="Top" />
                <EditRowStyle HorizontalAlign="Left" VerticalAlign="Top" />
            </cc1:HitsSearchGridView>
            <asp:Label ID="m_lblNoFound" Font-Bold="True" ForeColor="Red" runat="server" Visible="False"
                Text="<%$ Resources: Default, LabelNoResultsFound %>" />
        </asp:Panel>
    </asp:Panel>
    <asp:Panel ID="m_divDamagedReturns" runat="server">
        <table border="0" cellpadding="0" cellspacing="0" class="gvTable" width="100%">
            <tr width="30%">
                <td align="left" colspan="6" bgcolor="#ffffff" bordercolor="#ffffff" width="15%" style="height: 30px">
                    <h2>
                        <asp:Literal ID="Literal1" Text="<%$ Resources: LogisticsManagement, LabelStep1WarrantyReturnItems %>" runat="server"></asp:Literal>
                    </h2>
                </td>
            </tr>
            <tr width="30%">
                <td align="left" colspan="5" bgcolor="#ffffff" bordercolor="#ffffff" style="height: 30px">
                    <asp:Literal ID="m_litCarrierNameForDamagedReturns" runat="server"></asp:Literal></td>
                <td align="right" colspan="1" bgcolor="#ffffff" bordercolor="#ffffff" style="height: 30px">
                    <asp:Button ID="m_btn_SubmitForDamagedReturns" OnClick="m_btn_SubmitForDamagedReturns_Click" CssClass="pagebutton"
                        runat="server" Text="Add" ValidationGroup="ReturnAuthorizationsMain" /></td>
            </tr>
            <tr valign="top" class="greyblock" width="30%">
                <td align="right" colspan="1" width="15%">

                    <asp:Literal ID="Literal15" Text="<%$ Resources: LogisticsManagement, LabelRATypeColon %>" runat="server"></asp:Literal>

                </td>
                <td align="left" colspan="2">
                    <asp:DropDownList ID="m_ddlRATypeForDamagedReturns" runat="server">
                    </asp:DropDownList>
                    <asp:Literal ID="DamagedRAType" runat="server"></asp:Literal>
                </td>
                <td align="right" colspan="1">
                    <asp:Literal ID="Literal16" Text="<%$ Resources: OrganizationManagement, LabelOrganizationColon %>" runat="server"></asp:Literal>
                </td>
                <td align="left" colspan="2">
                    <asp:DropDownList ID="m_ddlOrganizationForDamagedReturns" runat="server">
                    </asp:DropDownList>
                    <asp:Literal ID="DamagedOrganization" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr valign="top" class="greyblock" width="30%">
                <td align="right" colspan="1" width="15%">
                    <asp:Literal ID="Literal11" Text="<%$ Resources: UsersManagement, LabelCreatedbyColon %>" runat="server"></asp:Literal></td>
                <td align="left" colspan="2">
                    <asp:DropDownList ID="m_ddlCreatedByForDamagedReturns" runat="server">
                    </asp:DropDownList>
                    <asp:Literal ID="DamagedCreatedBy" runat="server"></asp:Literal>
                </td>
                <td align="right" colspan="1">
                    <asp:Literal ID="Literal12" Text="<%$ Resources: UsersManagement, LabelCreatedOnColon %>" runat="server"></asp:Literal>
                </td>
                <td align="left" colspan="2">
                    <uc:HITSCalendar ID="m_calCreatedOnForDamagedReturns" runat="server" />
                    <asp:Literal ID="DamagedCreatedOn" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr valign="top" class="greyblock" width="30%">
                <td align="right" colspan="1" width="15%">
                    <asp:Literal ID="Literal13" Text="<%$ Resources: BillingManagement, LabelQtyColon %>" runat="server"></asp:Literal>
                    <b><span style="color: #ff0000">*</span></b></td>
                <td align="left" colspan="2">
                    <asp:TextBox ID="m_txbQty" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="m_rfvQty" runat="server" Text=""
                        ErrorMessage="<%$ Resources: BillingManagement, ErrorMessageQuantityisRequired %>" ToolTip="<%$ Resources: BillingManagement, ToolTipQuantityisRequired %>" ControlToValidate="m_txbQty"
                        ValidationGroup="ReturnAuthorizationsMain">&nbsp;</asp:RequiredFieldValidator>
                </td>
                <td align="right" colspan="1"></td>
                <td align="left" colspan="2"></td>
            </tr>
        </table>
        <asp:Panel ID="m_pnlInventoryInfoForDamaged" runat="server" Width="100%">
            <asp:Literal ID="ResultBlockMessageForDamagedReturns" runat="server"></asp:Literal>
        </asp:Panel>
    </asp:Panel>
    <asp:Button ID="m_btnChangeStatusToScheduled" runat="server" Text="<%$ Resources: LogisticsManagement, ButtonChangeStatustoScheduled %>" CssClass="pagebutton"
        OnClick="m_btnChangeStatusToScheduled_Click" />
    <!---------------------------------step 2----------------------------------->
    <asp:Panel ID="Step2Panel" runat="server" Width="98%">
        <div>
            <h2>
                <asp:Literal ID="m_lit_Step2Header" Text="<%$ Resources: LogisticsManagement, LabelStep2WarrantyReplacements %>" runat="server"></asp:Literal></h2>
            <table border="0" cellpadding="0" cellspacing="0" class="gvTable" width="100%">
                <tr>
                    <td>
                        <cc1:HitsSearchGridView ID="m_gvRAReplacment" runat="server" AutoGenerateColumns="False"
                            Width="99%" class="greyblock" OnRowDataBound="m_gvRAReplacment_RowDataBound"
                            OnMenuItemCommand="m_gvRAReplacment_OnMenuItemCommand" ShowMenu="False" ShowSelectField="False"
                            ShowActivateMenu="False" ShowDeActivateMenu="False" ShowEmailMenu="False" ShowPrintMenu="False"
                            ShowHotlineMenu="False" ShowDeHotlineMenu="False"
                            ShowDeleteMenu="False" ShowDeSelectMenu="False" ShowExportMenu="False" ShowSelectMenu="False"
                            AtlasScriptManagerID="" ClientFunctionActivateSelected="" ClientFunctionDeActivateSelected=""
                            ClientFunctionDeHotline="" ClientFunctionDelete="" ClientFunctionEmailSelected=""
                            ClientFunctionExportSelected="" ClientFunctionHotline="" ClientFunctionPrint=""
                            ClientFunctionSetStatus="" CssClassCustomPaging="" CssClassMenu="" CustomPagerID=""
                            PropagateActionToChildID="" ShowExportCSV="True" ShowExportCSVWithSummary="False"
                            ShowExportXML="True" ShowExportXMLWithSummary="False" ShowSetStatus="False">
                            <Columns>
                                <asp:TemplateField>
                                    <HeaderTemplate>
                                        <asp:Literal runat="server" ID="m_litRepModelHeader" Text="<%$ Resources: ModelManagement, HeaderTextModel %>"></asp:Literal>

                                        <br />


                                    </HeaderTemplate>
                                    <ItemStyle />
                                    <ItemTemplate>
                                        <asp:HyperLink runat="server" ID="m_linkRepModel"></asp:HyperLink>


                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField>
                                    <HeaderTemplate>
                                        <asp:Literal runat="server" ID="m_litRepESNHeader" Text="<%$ Resources: HandsetManagement, HeaderTextESNIMEI %>"></asp:Literal>

                                        <br />
                                        <uc:CustomSorter runat="server" ID="m_csESN" SortExpression="ESN" OnSortAscendingClicked="customSorter_SortClicked" OnSortDescendingClicked="customSorter_SortClicked"></uc:CustomSorter>


                                    </HeaderTemplate>
                                    <ItemStyle />
                                    <ItemTemplate>
                                        <asp:HyperLink runat="server" ID="m_linkRepInventory"></asp:HyperLink>


                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField>
                                    <HeaderTemplate>
                                        <asp:Literal runat="server" ID="m_litUnitCostHeader" Text="<%$ Resources: OrganizationManagement, LabelUnitCost %>"></asp:Literal>

                                        <br />

                                    </HeaderTemplate>
                                    <ItemStyle />
                                    <ItemTemplate>
                                        <asp:Literal runat="server" ID="m_litUnitCost"></asp:Literal>


                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField>
                                    <HeaderTemplate>
                                        <asp:Literal runat="server" ID="m_litPartsCostHeader" Text="<%$ Resources: OrganizationManagement, HeaderTextPartsCost %>"></asp:Literal>

                                        <br />

                                    </HeaderTemplate>
                                    <ItemStyle />
                                    <ItemTemplate>
                                        <asp:Literal runat="server" ID="m_litPartsCost"></asp:Literal>


                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField>
                                    <HeaderTemplate>
                                        <asp:Literal runat="server" ID="m_litLaborCostHeader" Text="<%$ Resources: OrganizationManagement, HeaderTextLaborCost %>"></asp:Literal>

                                        <br />

                                    </HeaderTemplate>
                                    <ItemStyle />
                                    <ItemTemplate>
                                        <asp:Literal runat="server" ID="m_litLaborCost"></asp:Literal>


                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField>
                                    <HeaderTemplate>
                                        <asp:Literal runat="server" ID="m_litHandlingCostHeader" Text="<%$ Resources: OrganizationManagement, HeaderTextHandlingCost %>"></asp:Literal>

                                        <br />

                                    </HeaderTemplate>
                                    <ItemStyle />
                                    <ItemTemplate>
                                        <asp:Literal runat="server" ID="m_litHandlingCost"></asp:Literal>


                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField>
                                    <HeaderTemplate>
                                        <asp:Literal runat="server" ID="m_litDispositionHeader" Text="<%$ Resources: LogisticsManagement, HeaderTextDisposition %>"></asp:Literal>

                                        <br />

                                    </HeaderTemplate>
                                    <ItemStyle />
                                    <ItemTemplate>
                                        <asp:Literal runat="server" ID="m_litDisposition"></asp:Literal>


                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField>
                                    <HeaderTemplate>
                                        <asp:Literal runat="server" ID="m_litConditionHeader" Text="<%$ Resources: Default, LabelCondition %>"></asp:Literal>

                                        <br />

                                    </HeaderTemplate>
                                    <ItemStyle />
                                    <ItemTemplate>
                                        <asp:Literal runat="server" ID="m_litCondition"></asp:Literal>


                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField>
                                    <HeaderTemplate>
                                        <asp:Literal runat="server" ID="m_litRepairLevelHeader" Text="<%$ Resources: LogisticsManagement, HeaderTextRepairLevel %>"></asp:Literal>

                                        <br />

                                    </HeaderTemplate>
                                    <ItemStyle />
                                    <ItemTemplate>
                                        <asp:Literal runat="server" ID="m_litRepairLevel"></asp:Literal>


                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField>
                                    <HeaderTemplate>
                                        <asp:Literal runat="server" ID="m_litDamageDescriptionHeader" Text="<%$ Resources: LogisticsManagement, HeaderTextDamageDescription %>"></asp:Literal>

                                        <br />

                                    </HeaderTemplate>
                                    <ItemStyle />
                                    <ItemTemplate>
                                        <asp:Literal runat="server" ID="m_litDamageDescription"></asp:Literal>


                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField>
                                    <HeaderTemplate>
                                        <asp:Literal runat="server" ID="m_litRepairNotesHeader" Text="<%$ Resources: LogisticsManagement, HeaderTextRepairNotes %>"></asp:Literal>

                                        <br />

                                    </HeaderTemplate>
                                    <ItemStyle />
                                    <ItemTemplate>
                                        <asp:Literal runat="server" ID="m_litRepairNotes"></asp:Literal>


                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                            <PagerTemplate>
                                <cc1:HitsPager ID="HitsPager1" runat="server" GoButtonText="<%$ Resources: Default, GoButtonText %>" />
                            </PagerTemplate>
                            <PagerSettings Mode="NumericFirstLast" />
                            <RowStyle HorizontalAlign="Center" VerticalAlign="Top" />
                            <EditRowStyle HorizontalAlign="Left" VerticalAlign="Top" />
                        </cc1:HitsSearchGridView>
                    </td>
                </tr>
            </table>
        </div>
        <asp:Label ID="Label1" Font-Bold="True" ForeColor="Red" runat="server" Visible="False"
            Text="<%$ Resources: Default, LabelNoResultsFound %>" />
    </asp:Panel>
    <!---------------------------------------Notes Part------------------------------->
    <uc:NotesControl ID="m_ucNotesControl" runat="server"></uc:NotesControl>
    <center>
        <asp:Button ID="m_btn_SaveNote" runat="server" Text="<%$ Resources: Default, ButtonSaveNote %>" OnClick="m_btn_SaveNote_Click" CssClass="pagebutton" />
    </center>
    <%--<!------------------------------------------------Notes------------------------------------------------------>
    <h2>
        <asp:Literal ID="m_litNotes" runat="server" Text="Notes History" />
    </h2>
    <asp:GridView ID="m_grdViewNotes" runat="server" AutoGenerateColumns="False" Width="86%"
        OnRowDataBound="m_grdViewNotes_RowDataBound">
        <Columns>
            <asp:TemplateField HeaderText="<%$ Resources : Default,HeaderTextDate %>" >
                <ItemTemplate>
                    <asp:Label ID="m_lblDate" runat="server" />
                </ItemTemplate>
                <ItemStyle Width="175px" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="<%$ Resources : Default,LabelTime %>" >
                <ItemTemplate>
                    <asp:Label ID="m_lblTime" runat="server" />
                </ItemTemplate>
                <ItemStyle Width="175px" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Note">
                <ItemTemplate>
                    <asp:Label ID="m_lblNote" runat="server" />
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Name">
                <ItemTemplate>
                    <asp:Label ID="m_lblName" runat="server" />
                </ItemTemplate>
                <ItemStyle Width="150px" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Type">
                <ItemTemplate>
                    <asp:Label ID="m_lblType" runat="server" />
                </ItemTemplate>
                <ItemStyle Width="25px" />
            </asp:TemplateField>
            <asp:TemplateField>
                <ItemTemplate>
                    <asp:LinkButton ID="m_lbDelete" runat="server" Text="Del" Font-Underline="True" OnClick="m_lbDelete_Clicked" />
                </ItemTemplate>
                <ItemStyle Width="3%" />
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
    <div class="greyblock">
        <span style="font-weight: bold;">
            <asp:Literal ID="m_litDate" runat="server" /></span>
        (<asp:Literal ID="m_litUserName" runat="server" />)
        <center>
            <asp:TextBox ID="m_txtNotes" runat="server" TextMode="MultiLine" CssClass="notestb" />
        </center>
        <asp:Button ID="m_btn_SaveNote" runat="server" Text="Save Note" OnClick="m_btn_SaveNote_Click" />
        </div>--%>
</asp:Content>
