<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_kittingSmartAdv.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_kittingSmartAdv" %>
<%@ Register Src="~/WebUserControls/cmp_kitReqRunning.ascx" TagPrefix="uc1" TagName="cmp_kitReqRunning" %>
<%@ Register Src="~/WebUserControls/cmp_kitReqSched.ascx" TagPrefix="uc1" TagName="cmp_kitReqSched" %>
<%@ Register Src="~/WebUserControls/cmp_partMIA_byPLID.ascx" TagPrefix="uc1" TagName="cmp_partMIA_byPLID" %>
<%@ Register Src="~/WebUserControls/cmp_kittingSmartAdvInvalid.ascx" TagPrefix="uc1" TagName="cmp_kittingSmartAdvInvalid" %>


<div class="mx-0">
    <asp:HiddenField ID="hfActiveMode" runat="server" />
    <asp:HiddenField ID="hfDeviceId" runat="server" />
    <div class="card border-warning text-center" style="width: 100%;">
        <h4 class="card-header p-1 bg-warning text-danger"><%: traduci("KittingSmartAdv") %></h4>
        <div class="card-body table-warning py-1">
            <div class="row mt-1">
                <div class="col-12">
                    <asp:LinkButton runat="server" ID="lbtReset" CssClass="my-1 text-left btn btn-block btn-primary" OnClick="lbtReset_Click"> 
                        <div class="row">
                            <div class="col-10">
                                <%: traduci("Reset") %> 
                            </div>
                            <div class="col-2 text-right">
                                <i class="fa fa-refresh" aria-hidden="true"></i>
                            </div>
                        </div>
                    </asp:LinkButton>
                    <asp:LinkButton runat="server" ID="lbtKitSusp" CssClass="my-1 text-left btn btn-block btn-primary" OnClick="lbtKitSusp_Click" Visible="false"> <div class="row">
                            <div class="col-10">
                                <%: traduci("KitSuspend") %> 
                            </div>
                            <div class="col-2 text-right">
                                <i class="fa fa-pause" aria-hidden="true"></i>
                            </div>
                        </div>
                    </asp:LinkButton>
                    <asp:LinkButton runat="server" ID="lbtKitReorder" CssClass="my-1 text-left btn btn-block btn-primary" OnClick="lbtKitReorder_Click"> <div class="row">
                            <div class="col-10">
                                <%: traduci("KitReorder") %>
                            </div>
                            <div class="col-2 text-right">
                                                    <i class="fa fa-recycle" aria-hidden="true"></i>
                            </div>
                        </div>
                    </asp:LinkButton>
                    <asp:LinkButton runat="server" ID="lbtKitReloadPart" CssClass="my-1 text-left btn btn-block btn-success" OnClick="lbtKitReloadPart_Click"> <div class="row">
                            <div class="col-10">
                                <%: traduci("ReloadPart") %>
                            </div>
                            <div class="col-2 text-right">
                                <i class="fa fa-barcode" aria-hidden="true"></i>
                            </div>
                        </div>
                    </asp:LinkButton>
                    <asp:LinkButton runat="server" ID="lbtKitInvalidatePart" CssClass="my-1 text-left btn btn-block btn-warning" OnClick="lbtKitInvalidatePart_Click"> <div class="row">
                            <div class="col-10">
                                <%: traduci("InvalidatePart") %>
                            </div>
                            <div class="col-2 text-right">
                                <i class="fa fa-trash-o" aria-hidden="true"></i>
                            </div>
                        </div>
                    </asp:LinkButton>
                    <asp:LinkButton runat="server" ID="lbtKitInvalidateCart" CssClass="my-1 text-left btn btn-block btn-danger" OnClick="lbtKitInvalidateCart_Click"> <div class="row">
                            <div class="col-10">
                                <%: traduci("InvalidateCart") %>
                            </div>
                            <div class="col-2 text-right">
                                <i class="fa fa-trash" aria-hidden="true"></i>
                            </div>
                        </div>
                    </asp:LinkButton>
                </div>
            </div>
            <div class="row" runat="server" id="divAct01">
                <uc1:cmp_kitReqRunning runat="server" ID="cmp_kitReqRunning" showFull="false" />
                <uc1:cmp_kitReqSched runat="server" ID="cmp_kitReqSched" showFull="false" />
            </div>
            <div class="row small textCondens" runat="server" id="divAct02">
                <uc1:cmp_partMIA_byPLID runat="server" ID="cmp_partMIA_byPLID" showFull="false" />
            </div>
            <div class="row" runat="server" id="divActValid">
                <uc1:cmp_kittingSmartAdvInvalid runat="server" id="cmp_kittingSmartAdvInvalid" />
            </div>
        </div>
    </div>
</div>

<div class="col-10">
</div>
<div class="col-2 text-right">
</div>

