<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="ApprovalAssignment.aspx.cs" Inherits="HRMS.Purcahsing.ApprovalAssignment" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="main-panel">
        <div class="row">
            <div class="col-md-12">
                <section class="panel">
                    <header class="panel-heading">
                        Approval Assignment
                        <div class="pull-right">
                            <asp:Button Text="Save" CssClass="btn btn-info" ID="btn_save" Width="120px" ValidationGroup="save"
                                runat="server" OnClick="btn_save_Click" />
                            <asp:Button Text="Back" CssClass="btn btn-info" ID="btn_cancel"
                                runat="server" OnClick="btn_cancel_Click" />
                        </div>
                    </header>

                    <div class="panel-body">
                        <div class="span6">
                            <div id="divmessage" runat="server" visible="false" class="alert alert-info alert-dismissable">
                                <asp:Label Text="" ID="lbl_msg" CssClass="msg" runat="server"></asp:Label>
                            </div>
                        </div>

                        <div class="span6">
                            <div id="diverrmessage" runat="server" visible="false" class="alert alert-info alert-dismissable">
                                <asp:Label Text="" ID="lbl_err_msg" CssClass="msg" runat="server"></asp:Label>
                            </div>
                        </div>


                        <div class="row" style="padding-top: 10px">

                            <asp:HiddenField ID="AppassignID_ID" runat="server" />
                            <asp:HiddenField ID="PositionID_code" runat="server" />
                            <asp:HiddenField ID="OrgID" runat="server" />
                            <asp:HiddenField ID="OrganizationID" runat="server" />
                            <asp:HiddenField ID="JOB_ID" runat="server" />
                            <asp:HiddenField ID="GroupID" runat="server" />
                            <asp:HiddenField ID="DocumentTypeID" runat="server" />

                            <label class="control-label col-md-2">Operating Unit</label>
                            <div class="col-md-3">
                                <div class="input-group">
                                    <asp:TextBox CssClass="form-control" ID="txt_OperatingUnit" runat="server"></asp:TextBox>
                                    <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" ID="req_OperatingUnit" ControlToValidate="txt_OperatingUnit" ErrorMessage="OperatingUnit is Required!" />
                                    <span class="input-group-btn">
                                        <button id="btn_lov_OperatingUnit" type="button" runat="server" class="btn btn-white" onserverclick="btn_lov_OperatingUnit_Click"><i class="fa fa-search"></i></button>
                                    </span>

                                </div>
                            </div>


                        </div>

                        <div class="row" style="padding-top: 10px">
                            <label class="col-md-2 control-label">Position</label>
                            <div class="col-md-3">
                                <div class="input-group">
                                    <asp:TextBox CssClass="form-control" ID="txt_Position" runat="server"></asp:TextBox>
                                    <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" ID="req_Position" ControlToValidate="txt_Position" ErrorMessage="Position is Required!" />
                                    <span class="input-group-btn">
                                        <button id="btn_Lov_Position" type="button" runat="server" class="btn btn-white" onserverclick="btn_Lov_Position_Click"><i class="fa fa-search"></i></button>
                                    </span>

                                </div>
                            </div>
                            <label class="col-md-2 control-label">Organization</label>
                            <div class="col-md-3">

                                <asp:TextBox ID="txt_Organizatioon" runat="server" CssClass="form-control"></asp:TextBox>
                                <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" ID="req_txt_Organizatioon" ControlToValidate="txt_Organizatioon" ErrorMessage="Organizatioon is Required!" />


                            </div>

                        </div>

                        <div class="row" style="padding-top: 10px">

                            <label class="col-md-2 control-label">Job</label>
                            <div class="col-md-3">
                                <asp:TextBox ID="txt_Job" runat="server" CssClass="form-control"></asp:TextBox>
                                <%--<asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="req_Eto" controltovalidate="txt_strt_date" errormessage="Date is Required!" />--%>
                            </div>







                            <label class="col-md-2 control-label">Document Type</label>
                            <div class="col-md-3">
                                <asp:DropDownList ID="ddl_doc_type" runat="server" CssClass="form-control select2"></asp:DropDownList>
                            </div>
                        </div>

                        <div class="row" style="padding-top: 10px">

                            <label class="control-label col-md-2">Approval Group</label>
                            <div class="col-md-3">
                                <div class="input-group">
                                    <asp:TextBox ID="txt_ApprovalGroup" runat="server" CssClass="form-control"></asp:TextBox>
                                    <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" ID="req_ApprovalGroup" ControlToValidate="txt_ApprovalGroup" ErrorMessage="ApprovalGroup is Required!" />
                                    <span class="input-group-btn">
                                        <button id="btn_lov_ApprovalGroup" type="button" runat="server" class="btn btn-white" onserverclick="btn_lov_ApprovalGroup_Click"><i class="fa fa-search"></i></button>
                                    </span>
                                </div>
                            </div>


                            <label class="col-md-2 control-label">From Date</label>
                            <div class="col-md-3">
                                <asp:TextBox ID="txt_defaultefffrom" runat="server" CssClass="form-control datetime"></asp:TextBox>

                            </div>

                        </div>

                        <div class="row" style="padding-top: 10px">


                            <label class="col-md-2 control-label">To Date</label>
                            <div class="col-md-3">

                                <asp:TextBox ID="txt_defaultssefto" runat="server" CssClass="form-control datetime"></asp:TextBox>
                                <%--<asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="RequiredFieldValidator2" controltovalidate="txt_Country" errormessage="Country is Required!" />--%>
                            </div>
                        </div>

                        <hr />
                        <div class="row">
                            <asp:Label CssClass="control-label col-md-offset-2" ID="lbl_due" runat="server"></asp:Label>
                        </div>


                    </div>
                </section>
            </div>
        </div>
    </div>
</asp:Content>
