
<?php $__env->startSection('content'); ?>
<div class="row">
	<div class="col-sm-10">
		<div class="panel panel-default" data-collapsed="0">
			<div class="panel-heading">
				<div class="panel-title" >
					<i class="fa fa-dot-circle-o"></i><?php echo e(_lang('Employee Profile')); ?>

				</div>
			</div>
			<table class="table table-striped table-bordered" width="100%" id="empTable">
				<tbody>
					<tr>
						<td style="text-align: center;" colspan="4"><img width="200px" style="border-radius: 7px;" src="<?php echo e(asset('uploads/images/'.$teacher->image)); ?>"></td>
					</tr>
					<tr>
						<td colspan="2"><?php echo e(_lang('Name')); ?></td>
						<td colspan="2"><?php echo e($teacher->name); ?></td>
					</tr>
					<tr>
						<td><?php echo e(_lang('Designation')); ?></td>
						<td><?php echo e($teacher->designation); ?></td>
						<td><?php echo e(_lang('Date Of Birth')); ?></td>
						<td><?php echo e($teacher->birthday); ?></td>
					</tr>
					<tr>
						<td><?php echo e(_lang('Gender')); ?></td>
						<td><?php echo e($teacher->gender); ?></td>
						<td><?php echo e(_lang('Religion')); ?></td>
						<td><?php echo e($teacher->religion); ?></td>
					</tr>
					<tr>
						<td><?php echo e(_lang('Joining Date')); ?></td>
						<td><?php echo e($teacher->joining_date); ?></td>
						<td>Address</td>
						<td><?php echo e($teacher->address); ?></td>
					</tr>
					<tr>
						<td><?php echo e(_lang('Phone')); ?></td>
						<td><?php echo e($teacher->phone); ?></td>
						<td><?php echo e(_lang('Email')); ?></td>
						<td><?php echo e($teacher->email); ?></td>
					</tr>
				</tbody>
			</table>
			<button id="btnPrint" onclick="printData();" class="btn btn-primary" style="margin:20px;">Print</button>
		</div>
	</div>
</div>
<script>
    
function printData()
{
   var divToPrint=document.getElementById("empTable");
   newWin= window.open("");
   newWin.document.write(divToPrint.outerHTML);
   newWin.print();
   newWin.close();
}

</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.backend', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\hostel\resources\views/backend/teachers/teacher-view.blade.php ENDPATH**/ ?>