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

<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">
                        Contract Clauses
                        <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="hid_Templete" runat="server" />
                            <asp:HiddenField ID="DefaultSection" runat="server" />
                            <asp:HiddenField ID="hid_layouttemp" runat="server" />
                            <label class="control-label col-md-2">Operating Unit</label>

                            <div class="col-md-3">
                                <asp:DropDownList CssClass="form-control" ID="ddl_OperatingUnit" runat="server">
                                </asp:DropDownList>
                                <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" ID="req_ddl_OperatingUnit" ControlToValidate="ddl_OperatingUnit" ErrorMessage="Operating Unit is Required!" />
                            </div>
                            <label class="col-md-2 control-label">Status</label>
                            <div class="col-md-3">
                                <asp:TextBox ID="txt_Status" runat="server" CssClass="form-control"></asp:TextBox>
                                <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" ID="reqtxt_Status" ControlToValidate="txt_Status" ErrorMessage="Status is Required!" />
                            </div>

                        </div>

                        <div class="row" style="padding-top: 10px">
                            <asp:HiddenField ID="hid_content_owner_id" runat="server" />
                            <label class="col-md-2 control-label">Number</label>

                            <div class="col-md-3">

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

                            </div>

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

                                <asp:TextBox ID="txt_ver" 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>
                        </div>

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



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

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


                            </div>



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

                                <asp:TextBox ID="txt_StartDate" runat="server" CssClass="form-control datetime"></asp:TextBox>
                                <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" ID="req_txt_StartDate" ControlToValidate="txt_StartDate" ErrorMessage="Start Date is Required!" />
                                <%--<span class="input-group-btn">
                                    <button id="btn_lov_taxCur" type="button" runat="server" class="btn btn-white" onserverclick="btn_lov_taxCur_Click"><i class="fa fa-search"></i></button>
                                    </span>--%>
                            </div>
                        </div>
                        <div class="row" style="padding-top: 10px">

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

                                <asp:TextBox ID="txt_DisplayName" 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="control-label col-md-2">End Date</label>
                            <div class="col-md-3">

                                <asp:TextBox ID="txt_EndDate" runat="server" CssClass="form-control datetime"></asp:TextBox>
                            </div>
                        </div>


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

                            <label class="col-md-2 control-label">Intent</label>
                            <div class="col-md-3">
                                <asp:DropDownList ID="ddl_Rlevel" runat="server" CssClass="form-control">
                                    <%--<asp:ListItem Selected="True" Text="--- Select ---">
                                            </asp:ListItem>--%>
                                    <asp:ListItem Text="Buy" Value="1"></asp:ListItem>
                                    <asp:ListItem Text="Sale" Value="2"></asp:ListItem>
                                </asp:DropDownList>
                                <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" ID="req_Intent" ControlToValidate="ddl_Rlevel" ErrorMessage="Intent is Required!" />

                            </div>

                            <label class="control-label col-md-2">Adoption Type</label>
                            <div class="col-md-3">
                                <asp:TextBox ID="txt_AdoptionType" runat="server" CssClass="form-control "></asp:TextBox>
                            </div>
                        </div>
                        <div class="row" style="padding-top: 10px">
                            <label class="col-md-2 control-label">Type</label>
                            <div class="col-md-3">
                                <asp:DropDownList ID="ddl_type" runat="server" CssClass="form-control select2"></asp:DropDownList>
                            </div>
                            <label class="col-md-2 control-label"></label>
                            <div class="col-md-3 text-left">
                                <span class="checkbox">
                                    <input id="chk_Provision" runat="server" type="checkbox" name="ctl00$ContentPlaceHolder1$Provision" />
                                    <label class="col-md-1 control-label"></label>
                                    Provision</span>

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

                            <label class="col-md-2 control-label">Default Section</label>
                            <div class="col-md-3">
                               <asp:DropDownList ID="ddl_sec" runat="server" CssClass="form-control select2"></asp:DropDownList>
                            </div>

                            <label class="col-md-2 control-label"></label>
                            <div class="col-md-3 text-left">
                                <span class="checkbox">
                                    <input id="chk_Protecttext" runat="server" type="checkbox" name="ctl00$ContentPlaceHolder1$Protecttext" />
                                    <label class="col-md-1 control-label"></label>
                                    Protect Text</span>

                            </div>
                        </div>
                        <div class="row" style="padding-top: 10px">
                            <div class="row">
                                <label class="control-label col-md-2">Description</label>
                                <div class="col-md-3">
                                    <asp:TextBox ID="txt_desct" runat="server" CssClass="form-control " TextMode="MultiLine"></asp:TextBox>
                                </div>

                            </div>
                        </div>

                        <br />
                        <h4>Text</h4>
                        <hr />

                        <div class="row">
                            <div class="col-md-5">
                                <asp:TextBox ID="txt_text" runat="server" CssClass="form-control" TextMode="MultiLine" Height="200px"></asp:TextBox>
                            </div>
                        </div>


                        <br />
                        <h4>Instructions</h4>
                        <hr />
                        <div class="row" style="padding-top: 10px">
                                <div class="col-md-5">
                                    <asp:TextBox ID="txt_instruction" runat="server" CssClass="form-control " TextMode="MultiLine" Height="150px"></asp:TextBox>
                                </div>

                                <label class="col-md-2 control-label"></label>
                                <div class="col-md-3">
                                    <span class="checkbox">
                                        <input id="chk_Allowinclude" runat="server" type="checkbox" name="ctl00$ContentPlaceHolder1$Allowinclude" />
                                        <label class="col-md-1 control-label"></label>
                                        Allow Include By Reference</span>
                                </div>
                        </div>


                        <div class="row" style="padding-top: 10px">
                             <label class="control-label col-md-2">Reference Source</label>
                                <div class="col-md-3">
                                    <asp:TextBox ID="txt_Refsource" runat="server" CssClass="form-control "></asp:TextBox>
                                </div>

                            <label class="control-label col-md-2">Reference Text</label>
                            <div class="col-md-3">
                                <asp:TextBox ID="txt_Referencetext" runat="server" CssClass="form-control " TextMode="MultiLine"></asp:TextBox>
                            </div>
                        </div>
                      


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