<%@ 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="hid_TypeID" 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">Name</label>

                                <div class="col-md-3">
                                   
                                    <asp:TextBox ID="txt_Name" runat="server" CssClass="form-control"></asp:TextBox>
                                    <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="req_txt_Name" controltovalidate="txt_Name" errormessage="Name 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">Instructions</label>
                                <div class="col-md-3">
                                    
                                    <asp:TextBox ID="txt_defaultssefto" runat="server" CssClass="form-control " TextMode="MultiLine"></asp:TextBox>
                                 <%--<asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="RequiredFieldValidator2" controltovalidate="txt_Country" errormessage="Country is Required!" />--%>
                                   
                                </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">
                                    <div class="input-group">
                                    <asp:TextBox ID="txt_Type" runat="server" CssClass="form-control"></asp:TextBox>
                                    <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="req_Type" controltovalidate="txt_Type" errormessage="Type is Required!" />
                               <span class="input-group-btn">
                                    <button id="btn_lov_Type" type="button" runat="server" class="btn btn-white" onserverclick="btn_lov_Type_Click"><i class="fa fa-search"></i></button>
                                    </span>
                                    </div>
                                    </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">
                                    <div class="input-group">
                                    <asp:TextBox ID="txt_DefaultSection" runat="server" CssClass="form-control"></asp:TextBox>
                                        <span class="input-group-btn">
                                    <button id="btn_lov_Defaultsection" type="button" runat="server" class="btn btn-white" onserverclick="btn_lov_Defaultsection_Click"><i class="fa fa-search"></i></button>
                                    </span>
                                    </div>
                                    </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>
                            <hr />

                      <div class="row" style="padding-top:10px">   
                            <div class="row">
                             <label class="control-label col-md-2">Instructions</label>
                                <div class="col-md-3">
                                 <asp:TextBox ID="txt_instruction" runat="server" CssClass="form-control " TextMode="MultiLine"></asp:TextBox>  
                                </div>                  
                               
                                </div>
                           <label class="col-md-2 control-label"></label>
                                <div class="col-md-3 text-left" >
                              <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">   
                            <div class="row">
                             <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>                  
                               
                                </div>
                               <div class="row">
                             <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>
                            <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>
