<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="PF_loan_receiving.aspx.cs" Inherits="HRMS.PF_loan_receiving.PF_loan_receiving" %>
<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">
                        Loan Receiving
                         <div class="pull-right">
                            <asp:Button CssClass="btn btn-info" ID="btn_save" Text="Save" runat="server" 
                                 onclick="btn_save_Click" />
                            <asp:Button CssClass="btn btn-info" ID="btn_cancel" Text="Back" 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_recv_id" runat="server" />
                                <label id="Label1" class="control-label col-md-2" runat="server">Employee Name</label>
                                <div class="col-md-3">
                                    <asp:DropDownList ID="ddl_emp_id" CssClass="form-control col-md-3" AutoPostBack="true"
                                        runat="server" onselectedindexchanged="ddl_emp_id_SelectedIndexChanged"></asp:DropDownList>
                                </div>

                                 <label id="Label2" class="control-label col-md-2" runat="server">Receiving Date</label>
                                <div class="col-md-3">
                                   <asp:TextBox ID="txt_recv_date" runat="server" CssClass="form-control"></asp:TextBox>
                                </div>
                               
                                
                            </div>
                             
                             <hr />
                             <div class="row">

                             <label class="control-label col-md-2" runat="server">Loan Amount</label>
                             <div class="col-md-2">
                                <asp:TextBox ID="txt_loan_am" runat="server" CssClass="form-control"></asp:TextBox>
                             </div>

                                <label id="Label3" class="control-label col-md-1" runat="server">Amount</label>
                                <div class="col-md-2">
                                       <asp:TextBox ID="txt_amount" runat="server" CssClass="form-control" 
                                           ontextchanged="txt_amount_TextChanged" AutoPostBack="true"></asp:TextBox>
                                </div>

                                 <label id="Label4" class="control-label col-md-1" runat="server">Balance</label>
                                <div class="col-md-2">
                                       <asp:TextBox ID="txt_bal" runat="server" CssClass="form-control" 
                                           AutoPostBack="True"></asp:TextBox>
                                </div>

                            </div>

                            <div class="row" style="padding-top:20px">
                                <label id="Label5" class="control-label col-md-2" runat="server">Remarks</label>
                                <div class="col-md-3">
                                       <asp:TextBox ID="txt_remarks" TextMode="MultiLine" Width="715px" runat="server" CssClass="form-control"></asp:TextBox>
                                </div>
                            </div>
                    </div>
                </section>
            </div>
        </div>
    </div>
</asp:Content>
