<!-- Content Header (Page header) -->
<section class="content-header">
	<div class="container-fluid">
		<div class="row mb-2">
			<div class="col-sm-6">
				<h1 class="m-0">H R</h1>
			</div>

			<div class="col-sm-6">
				<ol class="breadcrumb float-sm-right">
					<li class="breadcrumb-item"><a href="dashboard">Dashboard</a></li>
					<li class="breadcrumb-item"><a href="hr/emp-list">H R</a></li>
					<li class="breadcrumb-item active">Employee Details</li>
				</ol>
			</div>
		</div>
	</div>
</section>

<!-- Main content -->
<section class="content">
	<div class="container-fluid">
		<!-- Small boxes (Stat box) -->
		<div class="row">
			<div class="col-md-12">
				<!-- Invoice content -->
				<div class="invoice p-3 mb-3">
					<!-- title row -->
					<div class="row mb-4">
						<div class="col-12">
							<h4>
								<i class="fa fa-user"></i> <?php echo $emp['name']; ?>
								<small class="float-right"><strong>Joining:</strong><?php echo date_to_ui( $emp['joining'] ); ?></small>
							</h4>
						</div>
					</div>

					<!-- info row -->
					<div class="row invoice-info">
						<div class="col-md-6 invoice-col">
							<strong>Present Address:</strong>
							<address>
								<?php echo $emp['present_address']; ?>
							</address>
						</div>

						<div class="col-md-6 invoice-col">
							<strong>Permanent Address:</strong>
							<address>
								<?php echo $emp['permanent_address']; ?>
							</address>
						</div>
					</div>

					<!-- Table row -->
					<div class="row">
						<div class="col-12 table-responsive">
							<table class="table table-striped">
								<tbody>
									<tr>
										<td class="col-md-3">Father's Name:</td>
										<td class="col-md-9"><?php echo $emp['father_name']; ?></td>
									</tr>
									<tr>
										<td>Mother's Name:</td>
										<td><?php echo $emp['mother_name']; ?></td>
									</tr>
									<!-- <tr>
										<td>Date of Birth:</td>
										<td><?php //echo date_to_ui($emp['dob']); ?></td>
									</tr> -->
									<!-- <tr>
										<td>Voter ID:</td>
										<td><?php //echo $emp['voter_id']; ?></td>
									</tr> -->
									<tr>
										<td>Department:</td>
										<td><?php echo $emp['department']; ?></td>
									</tr>
									<tr>
										<td>Designamtion:</td>
										<td><?php echo $emp['designation']; ?></td>
									</tr>
									<tr>
										<td>Email:</td>
										<td><?php echo $emp['email']; ?></td>
									</tr>
									<tr>
										<td>Mobile:</td>
										<td><?php echo $emp['mobile']; ?></td>
									</tr>
									<tr>
										<td>Notes:</td>
										<td><?php echo $emp['notes']; ?></td>
									</tr>
								</tbody>
							</table>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</section>

<div class="clearfix"></div>