<%@ page language="C#" autoeventwireup="true" inherits="Pages_MaterialManagement_Procurement_StockInwardReturn, App_Web_juwaiqy3" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" uiculture="auto" meta:resourcekey="PageResource1" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl"
    TagPrefix="acc" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/CommonSearch.ascx" TagName="CommonSearchUserControl"
    TagPrefix="Common" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/Common/Stock/StockDetailBoxControl.ascx" TagName="StockControl" TagPrefix="Stock" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="DPC" %>
<%@ Register Src="~/UserControls/Common/StockDocumentSearch/StockDocumentSearch.ascx" TagName="StockDocumentSearchUserControl"
    TagPrefix="Stock" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/AlphabetSearchCommonControl.ascx" TagName="AlphabetSearchCommonControl"
    TagPrefix="ACS" %>
<%--<%@ Register Src="~/UserControls/Emrd/EmrdPatientSearch.ascx" TagName="EmrdPtSearch" TagPrefix="EPS" %>
<%@ Register Src="~/UserControls/Common/PatientSearch/PatientSearch.ascx" TagName="PatientSearchUserControl" TagPrefix="PS" %>--%>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="OTQueueListingUpdatePanel" runat="server">
        <ContentTemplate>
            <div class="cBoth">
            </div>
            <ACS:AlphabetSearchCommonControl ID="AlphabetCommonSearch" runat="server" Visible="false" />
            <Stock:StockDocumentSearchUserControl ID="SCSUserControl" runat="server" Visible="false" />
            <Common:CommonSearchUserControl ID="CommonSearchControl" runat="server" Visible="false" />
            <div id="divContentPage" class="divcontentpagemargin">
                <!-- ContentPlaceHolder Box Starts -->

                <div class="dashBoardLeftCont" valign="top">
                    <div class="himssuHeader3WireBox">
                        <%-- <div class="himsBoxHeader">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                            <asp:Label runat="server" ID="ScreenGroupNameLabel"></asp:Label>    
                                            </div>
                                        </div>
                                    </div>--%>
                        <table width="0px" cellpadding="0" cellspacing="0">
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="160"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <Stock:StockControl ID="StockUserControl" runat="server" Visible="true" />
                    <div class="himssuHeader1WireBox card card-box">
                        <asp:Panel ID="Panel1" runat="server" meta:resourcekey="Panel1Resource1">
                            <div class="himsBoxHeader card-head">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="headerText" id="codeHeader">
                                        <header>
                                            <i class="fas fa-database"></i>
                                            Stock Inward
                                        </header>
                                    </div>
                                    <div class="pull-right mt-27">
                                        <asp:Button ID="SearchButton" runat="server" SkinID="0" CssClass="btn btn-search fas" Text="&#xf002; Search" OnClick="SearchButton_Click" />
                                    </div>
                                </div>
                            </div>
                            <div class="himsBoxContent card-body">
                                <div class="contentHolder">
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="InwardReturnNoLabel" runat="server" Text="Inward Return No" meta:resourcekey="InwardNoLabelResource1"></asp:Label>
                                        </div>
                                        <div class="fLeft display-flex">
                                            <acc:AutoCompleteControl ID="InwardReturnNoTextBox" runat="server" MinimumPrefixLength="2"
                                                ContextKey="Procurement.StockInwardReturnNumber" AutoPostBack="true"
                                                DisplayLoadingStatus="true" OnTextChanged="InwardReturnNoTextBox_TextChanged"
                                                FirstRowSelected="false" MaxLength="20" ValidateOnTextChanged="false" />
                                            <asp:ImageButton ID="InwardReturnSearchImageButton" ToolTip="Inward No. Search" SkinID="FindImage"
                                                OnClick="InwardReturnNoSearchImageButton_Click" runat="server" meta:resourcekey="InwardNoSearchImageButtonResource1" />

                                            <asp:HiddenField ID="IdHiddenField" runat="server" />
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="InwarddByLabel" runat="server" Text="Return By" meta:resourcekey="InwarddByLabelResource1"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="InwarddByTextBox" SkinID="CustomWidthTextBox" runat="server" Width="100%"
                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                meta:resourcekey="InwarddByTextBoxResource1"></asp:TextBox>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="InwardDateLabel" runat="server" Text="Inward Return Date" meta:resourcekey="InwardDateLabelResource1"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <DPC:DatePickerControl DisplayDatePicker="true" ID="InwardReturnDate" runat="Server"></DPC:DatePickerControl>
                                        </div>
                                    </div>
                                    <div class="cBoth">
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="Label2" runat="server" Text="Inward No" SkinID="mandatoryLabel" meta:resourcekey="InwardNoLabelResource1"></asp:Label>
                                        </div>
                                        <div class="fLeft display-flex">
                                            <acc:AutoCompleteControl ID="InwardNoTextBox" runat="server" MinimumPrefixLength="2"
                                                ContextKey="Procurement.StockInwardNumber" AutoPostBack="true"
                                                DisplayLoadingStatus="true" OnTextChanged="InwardNoTextBox_TextChanged" FirstRowSelected="false"
                                                ValidateOnTextChanged="false" />
                                            <asp:ImageButton ID="InwardNoSearchImageButton" ToolTip="Inward No. Search" SkinID="FindImage"
                                                OnClick="InwardNoSearchImageButton_Click" runat="server" meta:resourcekey="InwardNoSearchImageButtonResource1" />
                                            <asp:LinkButton ID="GoToStockInward" runat="server" ToolTip="Go To StockInward"
                                                Visible="true" OnClick="GoToStockInward_Click">
                                                              <%--  <i class=" fa fa-globe" style="font-size:1.2em;padding-left:3px;color:black"></i>--%>
                                            <img src="../../../Images/Back-Image.png" style="width:18px"" />
                                            </asp:LinkButton>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="Label1" runat="server" Text="Remark" meta:resourcekey="RemarksLabelResource1"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="RemarkTextBox" runat="server" Style="border-color: #7F9DB9; border-width: 1px; border-style: Solid; font-size: 11px;" TextMode="MultiLine"
                                                onKeypress="javascript:return fnMaxLength(this, 300)" onblur="javascript:return CheckLength(this, 300)" Width="100%"
                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="RemarksTextBoxResource1"></asp:TextBox>
                                        </div>
                                    </div>

                                    <div class="cBoth">
                                    </div>

                                    <div id="ExaminationAreaListingGridDiv" runat="server">

                                        <div class="himssuHeader6WireBox col-md-12 pTop5">
                                            <div class="himsBoxHeader" id="GridViewPagerDiv" runat="server" visible="True">
                                                <div class="leftdiv">
                                                </div>

                                                <div class="himsBoxHeader col-md-12 card-head inner" id="InwardDiv" runat="server" visible="false">
                                                    <div class="leftdiv">
                                                    </div>
                                                    <div class="himsBoxTitle">
                                                        <div class="headerText">
                                                            <header>
                                                                Inward Stock Items List
                                                            </header>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="himsBoxTitle">
                                                    <div class="gridHeaderText fLeft">
                                                        <asp:Label ID="GridViewLabel" Text="" runat="server" Font-Bold="True"
                                                            meta:resourcekey="GridViewLabelResource1" />
                                                    </div>
                                                    <div class="fRight">
                                                        <uc1:GridViewPager ID="MedicineGridViewPager" Visible="false" runat="server" ParentGridView="MedicineGridView" />
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="himsBoxContent pTop15">
                                                <%--  <div id="DivHeader" style="vertical-align: top; width: 100%;">
                                <asp:Table ID="InwardGridViewTable" runat="server" CellPadding="0" CellSpacing="0"
                                    BackColor="#E8E8E8" ForeColor="Black" Width="100%" GridLines="Both" CssClass="GridViewTableRow"
                                    meta:resourcekey="InwardGridViewTableResource1">
                                </asp:Table>
                            </div>      --%>
                                                <div id="GridViewMessageDiv" class="himsBoxContentMsg" runat="server" visible="False">
                                                </div>
                                                <%--<div id="DivData" class="Container" style="vertical-align: top; height: 215px; width: 99.6%;">--%>
                                                <div id="Div2" runat="server" class="table-responsive">
                                                    <asp:GridView ID="MedicineGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                        EmptyDataText="No Records Found !!" ShowHeader="true" AllowPaging="False" OnRowDataBound="MedicineGridView_RowDataBound"
                                                        DataKeyNames="Id,StockItemId,StockItemCode,StockItemName,InwardQuantity,InwardValue,StockBatchId,StockInwardBatchId,ReturnedQuantity"
                                                        CssClass="table table-striped table-bordered table-hover">
                                                        <Columns>
                                                            <asp:BoundField DataField="Id" HeaderText="Id" Visible="false"></asp:BoundField>
                                                            <asp:BoundField DataField="StockItemId" HeaderText="ItemId" Visible="false"></asp:BoundField>
                                                            <asp:BoundField DataField="StockItemCode" HeaderText="Code" ItemStyle-Width="20%"
                                                                HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="StockItemName" HeaderText="Item Name" ItemStyle-Width="18%"
                                                                HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="StockInwardBatchId" HeaderText="StockINwardBatchId" ItemStyle-Width="20%"
                                                                Visible="false"></asp:BoundField>
                                                            <asp:BoundField DataField="StockBatchNumber" HeaderText="Batch" ItemStyle-Width="20%"></asp:BoundField>
                                                            <asp:BoundField DataField="InwardQuantity" HeaderText="Inward Quantity" ItemStyle-Width="10%"
                                                                HeaderStyle-HorizontalAlign="Left" DataFormatString="{0:0.##}"></asp:BoundField>
                                                            <asp:BoundField DataField="InwardValue" HeaderText="Inward Value" ItemStyle-Width="10%"
                                                                HeaderStyle-HorizontalAlign="Left" DataFormatString="{0:0.##}"></asp:BoundField>
                                                            <asp:BoundField DataField="ReturnedQuantity" HeaderText="Returned Quantity" ItemStyle-Width="10%"
                                                                HeaderStyle-HorizontalAlign="Left" DataFormatString="{0:0.##}"></asp:BoundField>
                                                            <asp:TemplateField HeaderText="Return Quantity" ItemStyle-Width="10%" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:TextBox ID="ReturnQuantityTextBox" runat="server" Enabled="True"
                                                                        Text='' MaxLength="13" onblur="javascript:return fnValidateDecimal(this,10,2)"
                                                                        onKeypress="javascript:return MaskDecimal(event,10,2)" onmouseleave="showHideTooltip()"
                                                                        onmouseenter="showHideTooltip()" Style="text-align: right;"></asp:TextBox>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Reason" HeaderStyle-HorizontalAlign="Left" meta:resourcekey="TemplateFieldResource18">
                                                                <ItemTemplate>
                                                                    <asp:DropDownList ID="ReasonDropdownList" runat="server" onmouseleave="showHideTooltip()"
                                                                        onmouseenter="showHideTooltip()" meta:resourcekey="ReasonDropdownListResource1" CssClass="form-control">
                                                                    </asp:DropDownList>
                                                                </ItemTemplate>
                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                <ItemStyle Width="12%" />
                                                            </asp:TemplateField>
                                                        </Columns>
                                                        <PagerSettings Visible="False" />
                                                    </asp:GridView>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </asp:Panel>
                        <div class="">
                            <div class="leftdiv">
                            </div>
                            <asp:Panel ID="Panel2" runat="server" meta:resourcekey="Panel1Resource1" Visible="false">
                                <div class="himsBoxHeader card-head">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="headerText">
                                            <header>
                                                <i class="fal fa-search"></i>
                                                Search
                                            </header>
                                        </div>
                                        <div class="pull-right mt-27">
                                            <asp:Button ID="BacButton" runat="server" SkinID="0" CssClass="btn btn-back fas" Text="&#xf30a; Back" OnClick="BacButton_Click" />
                                        </div>
                                    </div>
                                </div>

                                <div class="himsBoxContent card-body">
                                    <div class="col-md-12 bg-lghtgrey radiobtn">
                                        <div class="controlLabelWidth">
                                            <asp:RadioButtonList ID="StockInwardReturnRadioButtonList" CssClass="col-md-4" runat="server" RepeatDirection="Horizontal"
                                                Height="20px" OnSelectedIndexChanged="StockInwardReturnRadioButtonList_SelectedIndexChanged" AutoPostBack="true">
                                                <asp:ListItem Text="General" Value="1" Selected="True"></asp:ListItem>
                                                <asp:ListItem Text="Item Wise" Value="2"></asp:ListItem>
                                            </asp:RadioButtonList>
                                        </div>
                                    </div>
                                    <div class="cBoth">
                                    </div>
                                    <div class="">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label24" runat="server" Text="Inward Return No" meta:resourcekey="InwarddByLabelResource1"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="ReqNoCompleteControl" runat="server" Text="*"></asp:TextBox>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <asp:Label ID="FromDateLable" runat="server" Text="From Date"></asp:Label>
                                        <DPC:DatePickerControl DisplayDatePicker="true" ID="FromDatePickerControl"
                                            Visible="True" runat="Server"></DPC:DatePickerControl>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="ToDateLabel" runat="server" Text="To Date"></asp:Label>
                                        </div>
                                        <DPC:DatePickerControl DisplayDatePicker="true" ID="ToDateDatePickerControl"
                                            Visible="True" runat="Server"></DPC:DatePickerControl>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3" id="SearchItemCodeDiv" runat="server" visible="false">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="SearchItemCodeLable" SkinID="mandatoryLabel" runat="server"
                                                Text="Item Code" meta:resourcekey="ItemCodeLabelResource1"></asp:Label>
                                        </div>
                                        <div class="fLeft display-flex">
                                            <acc:AutoCompleteControl ID="SearchItemCodeAutoCompleteControl" runat="server" MinimumPrefixLength="2"
                                                IsCacheEnabled="false" ContextKey="Common.ItemTitleAll"
                                                AutoPostBack="true" DisplayLoadingStatus="true"
                                                FirstRowSelected="false" MaxLength="20" ValidateOnTextChanged="false" />
                                            <asp:ImageButton ID="SearchiIemCodeImageButton" OnClick="SearchiIemCodeImageButton_Click" ToolTip="Item Code Search" SkinID="FindImage"
                                                runat="server"
                                                meta:resourcekey="ItemCodeSearchButtonResource1" />
                                        </div>
                                    </div>
                                    <div class="cBoth">
                                    </div>
                                    <div class="outerBox pTop5 col-md-3" id="SearchItemNameDiv" runat="server" visible="false">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="SearchItemNameLable" runat="server" Text="Item Name"
                                                meta:resourcekey="NameLabelResource1"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5 display-flex">
                                            <acc:AutoCompleteControl ID="SearchItemNameAutoCompleteControl" runat="server" MinimumPrefixLength="2"
                                                IsCacheEnabled="false"
                                                ContextKey="InventoryPlanning.ItemTitleAll" AutoPostBack="true"
                                                DisplayLoadingStatus="true" FirstRowSelected="false" MaxLength="300"
                                                ValidateOnTextChanged="false" />
                                            <asp:ImageButton ID="SearchItemNameImageButton" ToolTip="Item Name Search" SkinID="FindImage"
                                                runat="server" OnClick="SearchItemNameImageButton_Click"
                                                meta:resourcekey="ItemNameSearchButtonResource1" />
                                        </div>
                                    </div>
                                    <div class="cBoth">
                                    </div>
                                    <div class="alignCenter pTop5">
                                        <asp:Button ID="Search_Button" CssClass="fas btn btn-search" runat="Server" SkinID="0" Text="&#xf002; Search" OnClick="Search_Button_Click" />
                                        <asp:Button ID="ResetButton" runat="server" Text="&#xf12d; Clear" CssClass="btn btn-clear fas" SkinID="0" OnClick="ResetButton_Click" />
                                    </div>

                                    <div class="himsBoxContent col-md-12">
                                        <%--<div class="himsBoxHeader card-head inner">
                                            <div class="headerText">

                                                <header>
                                                    <asp:Label ID="ListLabel" runat="server" Text="List" CssClass="fLeft"></asp:Label>
                                                </header>
                                            </div>
                                        </div>--%>
                                        <div align="right" class="fRight" style="margin-top: 0px;" runat="server" visible="false">
                                            <uc1:GridViewPager ID="StockInwardGridView_GridViewPager" runat="server" OnFirstRecordClick="StockInwardGridView_GridViewPager_FirstRecordClick"
                                                OnLastRecordClick="StockInwardGridView_GridViewPager_LastRecordClick" OnNextRecordClick="StockInwardGridView_GridViewPager_NextRecordClick"
                                                OnPrevRecordClick="StockInwardGridView_GridViewPager_PrevRecordClick"
                                                ParentGridView="StockInwardGridView" Visible="false" />
                                        </div>
                                        <div id="Div3" runat="server" class="table-responsive pTop5">
                                            <asp:GridView ID="StockInwardReturnGridView" runat="server" CssClass="table table-striped table-bordered table-hover"
                                                AutoGenerateColumns="False" Width="100%" ShowHeader="true" DataKeyNames="Id,Number,TranjactionDate,StockItemCode,StockItemName"
                                                EmptyDataText="No Records Found" OnRowDataBound="StockInwardReturnGridView_RowDataBound">
                                                <Columns>
                                                    <asp:TemplateField>
                                                        <ItemStyle Width="1%" />
                                                        <ItemTemplate>
                                                            <asp:LinkButton ID="EditLinkButton" runat="server" Enabled="true" OnClick="LinkButton_Click"
                                                                Text="Select"></asp:LinkButton>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="Inward Return Number" meta:resourcekey="TemplateFieldResource1">
                                                        <ItemTemplate>
                                                            <asp:Label Text='<%#Eval("Number") %>' ID="NumberLabel"
                                                                runat="server" meta:resourcekey="ItemCodeLabelResource2"></asp:Label>
                                                        </ItemTemplate>
                                                        <HeaderStyle Width="15%" />
                                                        <ItemStyle Width="15%" />
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="Inward Return Date" meta:resourcekey="TemplateFieldResource2" HeaderStyle-HorizontalAlign="Left">
                                                        <ItemTemplate>
                                                            <asp:Label Text='<%#Eval("TranjactionDate","{0:dd/MM/yyyy}") %>' ID="TransferDateLabel"
                                                                runat="server" meta:resourcekey="ItemNameLabelResource2"></asp:Label>
                                                        </ItemTemplate>
                                                        <HeaderStyle Width="15%" />
                                                        <ItemStyle Width="15%" />
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="Return By Name" meta:resourcekey="TemplateFieldResource2" HeaderStyle-HorizontalAlign="Left">
                                                        <ItemTemplate>
                                                            <asp:Label Text='<%#Eval("ReturnByName") %>' ID="IssuedByNameLabel"
                                                                runat="server" meta:resourcekey="ItemNameLabelResource2"></asp:Label>
                                                        </ItemTemplate>
                                                        <HeaderStyle Width="15%" />
                                                        <ItemStyle Width="15%" />
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="Item Code" meta:resourcekey="TemplateFieldResource2" HeaderStyle-HorizontalAlign="Left">
                                                        <ItemTemplate>
                                                            <asp:Label Text='<%#Eval("StockItemCode") %>' ID="SearchStockItemCode"
                                                                runat="server" meta:resourcekey="ItemNameLabelResource2"></asp:Label>
                                                        </ItemTemplate>
                                                        <HeaderStyle Width="15%" />
                                                        <ItemStyle Width="15%" />
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="Item Name" meta:resourcekey="TemplateFieldResource2" HeaderStyle-HorizontalAlign="Left">
                                                        <ItemTemplate>
                                                            <asp:Label Text='<%#Eval("StockItemName") %>' ID="SearchStockItemName"
                                                                runat="server" meta:resourcekey="ItemNameLabelResource2"></asp:Label>
                                                        </ItemTemplate>
                                                        <HeaderStyle Width="15%" />
                                                        <ItemStyle Width="15%" />
                                                    </asp:TemplateField>
                                                </Columns>
                                                <PagerSettings Visible="False" />
                                            </asp:GridView>
                                        </div>
                                    </div>
                            </asp:Panel>
                        </div>
                    </div>
                </div>

            </div>
            <div class="spacer">
                <img src="../../../Images/spacer.gif" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../../JavaScript/rjs/encrypt/stock-inwardreturn-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/stock-inwardreturn")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>



