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

<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">
                        Payment Process Profile
                          <div class="pull-right">
                           <asp:Button ID="btn_save" runat="server" CssClass="btn btn-info" Text="Save" OnClick="btn_save_Click" ValidationGroup="save" />
                              <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">
                            <asp:HiddenField ID="hid_pay_process" runat="server" />
                            <label class="control-label col-md-1">Code</label>
                            <div class="col-md-3">
                                <asp:TextBox ID="txt_code" runat="server" CssClass="form-control"></asp:TextBox>
                                <asp:RequiredFieldValidator runat="server" ID="Reqadd" ControlToValidate="txt_code" ErrorMessage="Code is required." setfocusonerror="true" ValidationGroup="save"></asp:RequiredFieldValidator>
                            </div>

                            <label class="control-label col-md-3">Processing Type</label>
                            <div class="col-md-3">
                                <asp:DropDownList ID="ddl_type" runat="server" CssClass="form-control"></asp:DropDownList>
                                <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator1" ControlToValidate="ddl_type" ErrorMessage="Processing Type is required." setfocusonerror="true" ValidationGroup="save"></asp:RequiredFieldValidator>
                            </div>
                        </div>


                                   <div class="row">
                            <label class="control-label col-md-1">Name</label>
                            <div class="col-md-3">
                                <asp:TextBox ID="txt_name" runat="server" CssClass="form-control"></asp:TextBox>
                                <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator2" ControlToValidate="txt_name" ErrorMessage="Name is required." setfocusonerror="true" ValidationGroup="save"></asp:RequiredFieldValidator>
                            </div>

                            <label class="control-label col-md-3">Default Payment Document</label>
                            <div class="col-md-3">
                                <asp:TextBox ID="TextBox1" runat="server" CssClass="form-control"></asp:TextBox>
                            </div>
                        </div>

                          <div class="row">
                            <label class="control-label col-md-1">Description</label>
                            <div class="col-md-3">
                                <asp:TextBox ID="TextBox2" runat="server" TextMode="MultiLine" Height="70px" CssClass="form-control"></asp:TextBox>
                            </div>

                            <label class="control-label col-md-3">Payment File</label>
                            <div class="col-md-3">
                                <asp:RadioButton ID="rd_snd_to_file" runat="server" CssClass="radio" Text="Send To File" GroupName="rd" />
                                <asp:RadioButton ID="rd_snd_to_prt" runat="server" CssClass="radio" Text="Send To Printer" GroupName="rd" />
                            </div>
                        </div>

                          <div class="row">
                            <label class="control-label col-md-1">Status</label>
                            <div class="col-md-3">
                                <asp:DropDownList ID="ddl_status" runat="server" CssClass="form-control"></asp:DropDownList>
                            </div>

                            <div class="col-md-4 col-md-offset-3">
                                <asp:CheckBox ID="chk_reprint" runat="server" CssClass="checkbox" Text="Disallow Save/Re-Print" />
                                <asp:CheckBox ID="CheckBox1" runat="server" CssClass="checkbox" Text="Automatically Print After Formatting" />
                            </div>
                        </div>


                          <div class="row">
                            <label class="control-label col-md-1">End Date</label>
                            <div class="col-md-3">
                                <asp:TextBox ID="TextBox3" runat="server" CssClass="form-control datetime"></asp:TextBox>
                            </div>

                              <label class="control-label col-md-3">Default Printer</label>
                            <div class="col-md-3">
                                <asp:TextBox ID="TextBox4" runat="server" CssClass="form-control"></asp:TextBox>
                            </div>
                        </div>
                        <hr />

                         <div class="row">
                            <label class="control-label col-md-4 col-md-offset-1">Payment Instruction Format</label>
                                  <div class="col-md-3">
                                 <div class="input-group">
                                        <asp:HiddenField ID="hid_pay_fmt" runat="server" />
                                        <asp:TextBox ID="txt_pay_fmt"  runat="server" CssClass="form-control"></asp:TextBox>
                                     <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator3" ControlToValidate="txt_pay_fmt" ErrorMessage="Payment Instruction Format is required." setfocusonerror="true" ValidationGroup="save"></asp:RequiredFieldValidator>
                                          <span class="input-group-btn">
                                                            <button id="btn_lov_lgl_add" type="button" runat="server" class="btn btn-white" onserverclick="btn_lov_lgl_add_ServerClick">
                                                            <i class="fa fa-search"></i></button>
                                                          </span>
                                    </div>
                                   
                                </div>
                        </div>

                        <div class="row">
                            <label class="control-label col-md-4 col-md-offset-1">Payment File Accompanying Letter Format</label>
                            <div class="col-md-3">
                                <asp:TextBox ID="TextBox6" runat="server" CssClass="form-control"></asp:TextBox>
                            </div>
                        </div>
                    </div>
                </section>
            </div>
        </div>
    </div>
</asp:Content>
