<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_batchDetailSplit.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_batchDetailSplit" %>
<%@ Register Src="~/WebUserControls/cmp_orderExtList.ascx" TagPrefix="uc1" TagName="cmp_orderExtList" %>
<%@ Register Src="~/WebUserControls/cmp_batchDetailSplitInfo.ascx" TagPrefix="uc1" TagName="cmp_batchDetailSplitInfo" %>

<div class="card">
    <div class="card-header text-center">
        <div class="row">
            <div class="col-4"></div>
            <div class="col-4">
                <asp:LinkButton runat="server" ID="lbtBalance" CssClass="btn btn-success btn-block" OnClick="lbtBalance_Click" ToolTip="Set Balance 50/50">
        <b><%: traduci("BatchSplit") %></b> <i class="fa fa-balance-scale" aria-hidden="true"></i>
                </asp:LinkButton>
            </div>
            <div class="col-4"></div>
            <div class="col-1 font-weight-bold">
                <asp:Label runat="server" ID="lblRatio01" />
            </div>
            <div class="col-10">
                <asp:HiddenField runat="server" ID="hfBatchId" />
                <asp:HiddenField runat="server" ID="hfNeedSave" />
                <asp:HiddenField runat="server" ID="hfLastRatio" />
                <asp:HiddenField runat="server" ID="hfFullTime" />
                <asp:HiddenField runat="server" ID="hfIsSplit" Value="false" />
                <asp:TextBox runat="server" ID="txtRatio" TextMode="Range" CssClass="form-control-range" AutoPostBack="true" OnTextChanged="txtRatio_TextChanged" />
            </div>
            <div class="col-1 font-weight-bold">
                <asp:Label runat="server" ID="lblRatio02" />
            </div>
        </div>
    </div>
    <div class="card-body p-1">
        <div class="row small text-center">
            <div class="col-6">
                <div class="card">
                    <div class="card-header bg-primary text-light py-1">
                        <div class="row">
                            <div class="col-4">
                                <asp:Label runat="server" ID="lblTime01" />
                            </div>
                            <div class="col-4">
                                <b>NE01</b>
                            </div>
                            <div class="col-4">
                                <asp:Label runat="server" ID="lblNumOrd01" />
                            </div>
                        </div>
                    </div>
                    <div class="card-body py-1">
                        <uc1:cmp_orderExtList runat="server" ID="cmp_orderExtListNE01" />
                        <uc1:cmp_batchDetailSplitInfo runat="server" ID="cmp_batchDetailSplitInfoNE01" />
                    </div>
                </div>
            </div>
            <div class="col-6">
                <div class="card">
                    <div class="card-header bg-secondary text-light py-1">
                        <div class="row">
                            <div class="col-4">
                                <asp:Label runat="server" ID="lblTime02" />
                            </div>
                            <div class="col-4">
                                <b>NE02</b>
                            </div>
                            <div class="col-4">
                                <asp:Label runat="server" ID="lblNumOrd02" />
                            </div>
                        </div>
                    </div>
                    <div class="card-body py-1">
                        <uc1:cmp_orderExtList runat="server" ID="cmp_orderExtListNE02" />
                        <uc1:cmp_batchDetailSplitInfo runat="server" ID="cmp_batchDetailSplitInfoNE02" />
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
