<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="TaxStatus.aspx.cs" Inherits="HRMS.EBTax.TaxStatus" %>
<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">
                    Tax Statuses
                        <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_TAX_STATUS_ID" runat="server" />
                                <asp:HiddenField ID="hid_tax_regime_code" runat="server" />
                                <asp:HiddenField ID="hid_tax_regimeid" runat="server" />
                                  <label class="control-label col-md-2">Tax Regime Code</label>
                                <div class="col-md-3">
                                    <div class="input-group">
                                 <asp:TextBox  CssClass="form-control" ID="txt_regimecode" runat="server" ></asp:TextBox>
                                 <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="req_taxregime" controltovalidate="txt_regimecode" errormessage="Tax Regime is Required!" />
                                    <span class="input-group-btn">
                                    <button id="btn_lov_regimecode" type="button" runat="server" class="btn btn-white" onserverclick="btn_lov_regimecode_Click"><i class="fa fa-search"></i></button>
                                    </span>
                           
                                   </div>
                                     </div>
                                 <label class="col-md-2 control-label">Effective From</label>
                                <div class="col-md-3">
                                    <asp:TextBox ID="txt_Efrom" runat="server" CssClass="form-control datetime"></asp:TextBox>
                                    <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="reqtxt_Efrom" controltovalidate="txt_Efrom" errormessage="Effective From 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">Configuration Owner</label>
                                <div class="col-md-3">
                                    <div class="input-group">
                                    <asp:TextBox ID="txt_ConfigOwner" runat="server" CssClass="form-control"></asp:TextBox>
                                    <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="req_txt_ConfigOwner" controltovalidate="txt_ConfigOwner" errormessage="Configuration Owner is Required!" />
                               <span class="input-group-btn">
                                    <button id="btn_lov_ConfigOwner" type="button" runat="server" class="btn btn-white" onserverclick="btn_lov_ConfigOwner_Click"><i class="fa fa-search"></i></button>
                                    </span>
                                    </div>
                                    </div>
                            <label class="col-md-2 control-label">Effective To</label>
                                <div class="col-md-3">
                                    <asp:TextBox ID="txt_Eto" runat="server" CssClass="form-control datetime"></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">  
                                <asp:HiddenField ID="hid_tax" runat="server" />
                                 <asp:HiddenField ID="hid_tax_Title" runat="server" />
                                 <label class="col-md-2 control-label">Tax</label>
                                <div class="col-md-3">
                                     <div class="input-group">
                                     <asp:TextBox ID="txt_tax" runat="server" CssClass="form-control"></asp:TextBox>
                                    <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="req_txt_tax" controltovalidate="txt_tax" errormessage="Tax is Required!" />
                               <span class="input-group-btn">
                                    <button id="btn_lov_tax" type="button" runat="server" class="btn btn-white" onserverclick="btn_lov_tax_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_setas" runat="server" type="checkbox" name="ctl00$ContentPlaceHolder1$setas"/>
                                   <label class="col-md-1 control-label" ></label>Set as Default Tax Status</span>                                                  
                                </div>
                            </div>

                            <div class="row" style="padding-top:10px">
                               <asp:HiddenField ID="hid_taxcurId" runat="server" />
                                <label class="control-label col-md-2">Tax Status Code</label>
                                <div class="col-md-3">
                               
                                 <asp:TextBox ID="txt_taxstatus" runat="server" CssClass="form-control" ></asp:TextBox>
                                 <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="req_txt_taxstatus" controltovalidate="txt_taxstatus" errormessage="Tax Status Code 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>
                                 

                                 <label class="col-md-2 control-label">Default Status Effective From</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="control-label col-md-2">Name</label>
                                <div class="col-md-3">
                                 <asp:TextBox  CssClass="form-control" ID="txt_Name" runat="server"></asp:TextBox>     
                                    <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="reqtxt_Name" controltovalidate="txt_Name" errormessage="Name is Required!" />
                                </div>

                                 <label class="col-md-2 control-label">Default Status Effective To</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>

                            <div class="row" style="padding-top:10px">                             
                              
                                  <label class="control-label col-md-2">Default Recovery Settlement</label>
                                <div class="col-md-3">
                                 <asp:DropDownList  CssClass="form-control" ID="ddl_defrecsat" runat="server"></asp:DropDownList>     
                                </div>
                               </div>

                            <div class="row" style="padding-top:10px">                             
                              
                                 <label class="col-md-2 control-label"></label>
                                <div class="col-md-3 text-left" >
                              <span class="checkbox"><input id="chk_AllowTaxExemptions" runat="server" type="checkbox" name="ctl00$ContentPlaceHolder1$AllowTaxExemptions" />
                                   <label class="col-md-1 control-label" ></label>Allow Tax Exemptions</span>                   
                               
                                </div>

                                <label class="col-md-2 control-label"></label>
                                <div class="col-md-3 text-left" >
                              <span class="checkbox"><input id="chk_AllowTaxExceptions" runat="server" type="checkbox" name="ctl00$ContentPlaceHolder1$AllowTaxExceptions" />
                                   <label class="col-md-1 control-label" ></label>Allow Tax Exceptions</span>                   
                               
                                </div>
                               </div>
                           
                            <div class="row">
                            <label class="col-md-2 control-label"></label>
                                <div class="col-md-3 text-left" >
                              <span class="checkbox"><input id="chk_Allow_taxrate" runat="server" type="checkbox" name="ctl00$ContentPlaceHolder1$Allow_taxrate" />
                                   <label class="col-md-1 control-label" ></label>Allow Tax Rate Override</span>                   
                               
                                </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>
