<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_BaseFramework_Utilities_ImportStockItem, App_Web_5gjsljb5" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/MessageBox/MessageBoxControl.ascx" TagName="MessageBoxControl"
    TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="HREmployeeMasterSearchUpdatePanel" runat="server" UpdateMode="Conditional">
        <%-- <Triggers>
            <asp:PostBackTrigger ControlID="btnUpload" />
            <asp:PostBackTrigger ControlID="DeleteButton" />
        </Triggers>--%>
        <ContentTemplate>
            <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="127"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="row whiteboxpaddingleft">

                    <div class="himssuHeader1WireBox card card-box">
                        <div class="himsBoxHeader card-head" id="Div4" runat="server" visible="True">
                            <div class="leftdiv">
                            </div>

                            <div class="himsBoxTitle">
                                <div class="headerText fLeft">
                                    <header>
                                        <i class="fas fa-download"></i>
                                        <asp:Label ID="Label4" Text="Import Stock Item"
                                            runat="server" />
                                    </header>
                                </div>
                            </div>
                        </div>

                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="DetailPanel" runat="Server">
                                <div class="contentHolder">
                                    <div class="tableContainer">
                                        <cc1:TabContainer Width="100%" ID="ImportStockTabContainer" runat="server" CssClass="ajax__myTab nav nav-tabs tabs-style-iconbox ajax__tab_container ajax__tab_default"
                                            AutoPostBack="true" meta:resourcekey="ImportStockTabContainerResource1" ActiveTabIndex="0">
                                            <cc1:TabPanel Width="100%" ID="ImportStockItemTabPanel" runat="server" HeaderText="Divisionwise Fee">
                                                <HeaderTemplate>
                                                    <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                        <li class="fancyTab"><a><i class="fas fa-money-bill-alt"></i>&nbsp;Import Stock Item </a></li>
                                                    </ul>
                                                </HeaderTemplate>
                                                <ContentTemplate>
                                                    <asp:Panel ID="Panel1" runat="server">
                                                        <div class="contentHolder">
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:HyperLink ID="HyperLink1" runat="server" Text="&#xf101; Download Template" NavigateUrl="~/ContentTemplates/Import/StockItem.xls" CssClass="pointer fas"></asp:HyperLink>
                                                                </div>
                                                            </div>
                                                            <div class="cBoth">
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="StoreLocationLabel" runat="server" Text="Store Location" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft">
                                                                    <asp:DropDownList ID="StorelocationDropDownList" runat="server" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="cBoth">
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <a href="javascript:;" onclick="OpenFileUpload();" class="btn btn-browser">
                                                                    <i class="fa fa-arrow-down"></i>Browse</a>
                                                                <asp:FileUpload ID="flUpload" runat="server" onChange="readURL(this);" ClientIDMode="Static" Style="display: none;" />
                                                            </div>
                                                            <div class="pTop5">
                                                                &nbsp;  
                                                                <asp:Button ID="DeleteButton" runat="server" OnClick="DeleteButton_Click" Text="&#xf2ed; Delete" SkinID="0" CssClass="btn btn-delete fas" />
                                                                <asp:Button ID="btnUpload" runat="server" OnClick="btnUpload_Click" Text="&#xf093; Upload" CssClass="btn btn-upload fas" SkinID="0" />
                                                            </div>
                                                            <div class="himssuHeader2WireBox">
                                                                <asp:Panel ID="SearchDetailPanel" runat="server" meta:resourcekey="SearchDetailPanelResource1">
                                                                    <div class="himsBoxContent">
                                                                        <div class="contentHolder">
                                                                            <div id="HREmployeeMasterGridDiv" runat="server">
                                                                                <%--  <div class="spacer">
                                    <asp:Image ID="Image6" runat="server" ImageUrl="~/Images/spacer.gif" meta:resourcekey="Image6Resource1" />
                                </div>--%>
                                                                                <%--     <table>
                                                            <tr>

                                                                <td>
                                                                    <div class="outerBox pTop5 col-md-12">
                                                                        <asp:Label ID="Label2" runat="server" Text="" Style="padding-left: 10px; font-size: medium;"></asp:Label>
                                                                        <br />

                                                                        <asp:Label ID="Label1" runat="server" Text="Status Detail"></asp:Label>

                                                                        <div>
                                                                            <asp:TextBox ID="MadicineAlreadyExistTextBox" runat="server"
                                                                                Width="1000px" SkinID="CustomWidthDropDownList" />
                                                                        </div>
                                                                    </div>

                                                                </td>


                                                            </tr>
                                                        </table>--%>
                                                                                <div class="cBoth"></div>
                                                                                <div runat="server" id="BookTable" visible="true" class="outerBox pTop5 col-md-3" style="float: left">
                                                                                    <asp:Label ID="Label2" runat="server"></asp:Label>
                                                                                    <asp:Label ID="Label1" runat="server" Text="Status Detail"></asp:Label>
                                                                                    <div class="">
                                                                                        <asp:TextBox ID="MadicineAlreadyExistTextBox" runat="server" SkinID="CustomWidthDropDownList" />
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </asp:Panel>
                                                                <div class="col-md-12">
                                                                    <div class="alert alert-info">
                                                                        <i class="material-icons pos-rel">info</i> |&nbsp;
                                                                        <b>Note: </b>Only xls format is imported, and also give the sheet name as Sheet1.
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </asp:Panel>
                                                </ContentTemplate>
                                            </cc1:TabPanel>
                                            <cc1:TabPanel Width="100%" ID="ImportStockMasterTabPanel" runat="server" HeaderText="Divisionwise Fee">
                                                <HeaderTemplate>
                                                    <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                        <li class="fancyTab"><a><i class="fas fa-money-bill-alt"></i>&nbsp;Import Stock Master </a></li>
                                                    </ul>
                                                </HeaderTemplate>
                                                <ContentTemplate>
                                                    <asp:Panel ID="Panel2" runat="server">
                                                        <div class="contentHolder">
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:HyperLink ID="HyperLink2" runat="server" Text="&#xf101; Download Template" NavigateUrl="~/ContentTemplates/Import/StockItemMasterData.xls" CssClass="pointer fas"></asp:HyperLink>
                                                                </div>
                                                            </div>
                                                            <div class="cBoth">
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="StockMaster_StorelocationLabel" runat="server" Text="Store Location" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft">
                                                                    <asp:DropDownList ID="StockMaster_StorelocationDropDownList" runat="server" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ImportMasterLabel" runat="server" Text="Import Master" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="ImportMasterDropDownList" SkinID="CustomWidthDropDownList"
                                                                        CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                                        <asp:ListItem Text="- Select -" Value="-1" Selected="True"></asp:ListItem>
                                                                        <asp:ListItem Text="Item Main Group" Value="1"></asp:ListItem>
                                                                        <asp:ListItem Text="Stock Item Category" Value="2"></asp:ListItem>
                                                                        <asp:ListItem Text="Item Sub Group" Value="3"></asp:ListItem>
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="cBoth">
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <a href="javascript:;" onclick="OpenFileUpload1();" class="btn btn-browser">
                                                                    <i class="fa fa-arrow-down"></i>Browse</a>
                                                                <asp:FileUpload ID="FileUpload1" runat="server" onChange="readURL1(this);" ClientIDMode="Static" Style="display: none;" />
                                                            </div>
                                                            <div class="pTop5">
                                                                &nbsp;  
                                                                <asp:Button ID="ImportMasterDeleteButton" runat="server" OnClick="ImportMasterDeleteButton_Click" Text="&#xf2ed; Delete" SkinID="0" CssClass="btn btn-delete fas" />
                                                                <asp:Button ID="ImportMasterUploadButton" runat="server" OnClick="ImportMasterUploadButton_Click" Text="&#xf093; Upload" SkinID="0" CssClass="btn btn-upload fas" />
                                                            </div>

                                                            <div class="himssuHeader2WireBox">
                                                                <asp:Panel ID="Panel3" runat="server" meta:resourcekey="SearchDetailPanelResource1">
                                                                    <div class="himsBoxContent">
                                                                        <div class="contentHolder">
                                                                            <div id="Div2" runat="server">
                                                                                <div class="cBoth"></div>
                                                                                <div runat="server" id="Div1" visible="true" class="outerBox pTop5 col-md-3" style="float: left">
                                                                                    <asp:Label ID="Label3" runat="server"></asp:Label>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </asp:Panel>
                                                                <div class="col-md-12">
                                                                    <div class="alert alert-info">
                                                                        <i class="material-icons pos-rel">info</i> |&nbsp;
                                                                        <b>Note: </b>Only xls format is imported, and also give the sheet name as for Item Main Group and Stock Item Category : Sheet1, Item Sub Grop Master : Sheet2.
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </asp:Panel>
                                                </ContentTemplate>
                                            </cc1:TabPanel>
                                        </cc1:TabContainer>
                                    </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/import-stockitem" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/import-stockitem")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
