<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_KS_Items.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_KS_Items" %>

<%@ Register Src="~/WebUserControls/cmp_KS_currCart.ascx" TagPrefix="uc1" TagName="cmp_KS_currCart" %>
<%@ Register Src="~/WebUserControls/cmp_KS_currItm.ascx" TagPrefix="uc1" TagName="cmp_KS_currItm" %>
<%@ Register Src="~/WebUserControls/cmp_KS_OkibCart.ascx" TagPrefix="uc1" TagName="cmp_KS_OkibCart" %>


<asp:HiddenField runat="server" ID="hfNeedSecOp" />
<asp:HiddenField runat="server" ID="hfNeedPaint" />
<asp:HiddenField runat="server" ID="hfItemValid" />

<div class="row">
    <div class="col-12 col-lg-4">
        <uc1:cmp_KS_currItm runat="server" ID="cmp_KS_currItm" />
    </div>
    <div class="col-12 col-lg-4">
        <div class="row" runat="server" id="divItemValid" visible="false">
            <div class="col-12 border border-warning table-warning text-danger">
                <asp:Label runat="server" ID="lblNeedSecOp"><%: traduci("ItemNeedsSecOp") %></asp:Label>
            </div>
            <div class="col-12 border border-warning table-warning text-danger mb-2">
                <asp:Label runat="server" ID="lblNeedPaint"><%: traduci("ItemNeedsPaint") %></asp:Label>
            </div>
            <div class="col-6">
                <asp:LinkButton runat="server" ID="lbtConfItemValid" CssClass="btn btn-success btn-block" OnClick="lbtConfItemValid_Click"><i class="fa fa-check" aria-hidden="true"></i> <%: traduci("ConfirmItemKitOk") %></asp:LinkButton>
            </div>
            <div class="col-6">
                <asp:LinkButton runat="server" ID="lbtCancelItemValid" CssClass="btn btn-danger btn-block" OnClick="lbtCancelItemValid_Click"><i class="fa fa-ban" aria-hidden="true"></i> <%: traduci("CancelItemKitOk") %></asp:LinkButton>
            </div>
        </div>
        <div class="row my-2">
            <div class="col-12">
                <asp:LinkButton runat="server" ID="lbtAddItem" Text="+1" CssClass="btn btn-warning btn-block" OnClick="lbtAddItem_Click" OnClientClick='return confirm("Confirm PART added on Cart?")'><i class="fa fa-plus" aria-hidden="true"></i> <%: traduci("AddItemKit") %></asp:LinkButton>
            </div>
        </div>
    </div>
    <div class="col-12 col-lg-4">
        <uc1:cmp_KS_currCart runat="server" ID="cmp_KS_currCart" />
    </div>
</div>
