<?php $__env->startSection("content"); ?>
<div>
	<ol class="breadcrumb">
		<li><a href="<?php echo e(URL::route('user.home')); ?>"><?php echo trans('messages.home'); ?></a></li>
	 <li><a href="<?php echo e(URL::route('unhls_els.index')); ?>">Supply Chain Management</a></li>
	 <li><a href="<?php echo e(URL::route('asset_mgt.index')); ?>">Asset Management</a></li>
	 <li><a href="<?php echo e(URL::route('fundmanager.index')); ?>"></a></li>
	 <li class="active">Hubs & Funds Managers</li>
	</ol>
</div>
<?php if(Session::has('message')): ?>
	<div class="alert alert-info"><?php echo trans(Session::get('message')); ?></div>
<?php endif; ?>
<div class="panel panel-default">
	<div class="panel-heading ">
		<span class="glyphicon glyphicon-euro"></span> Fund Managers
		<div class="panel-btn">
			<a class="btn btn-sm btn-info" href="<?php echo URL::route('fundmanager.create'); ?>">
				<span class="glyphicon glyphicon-plus-sign"></span> Add Fund Manager
			</a>
		</div>
	</div>
	<div class="panel-body">
<table class="table table-striped table-hover table-condensed search-table">
			<thead>
				<tr>
					<th class="text-center">Fund Manager</th>
					<th class="text-center">Physical Address</th>
					<th class="text-center">Contact Person</th>
					<th class="text-center">Telphone</th>
					<th class="text-center">Email Address</th>
					<!-- <th class="text-center">Fund Sources</th> -->
					<!-- <th class="text-center">Normal working hours</th> -->
					<!-- <th class="text-center">Weekend working hours</th> -->
					<!-- <th class="text-center">Holiday working hours</th> -->
					<!-- <th class="text-center">Delivery Schedule</th> -->
				</tr>
			</thead>
			<tbody>
			<?php foreach($fundmangers as $key => $value): ?>
				<tr>
                 	<td class="text-center"><?php echo $value->name; ?></td>
									<td class="text-center"><?php echo $value->address; ?></td>
									<td class="text-center"><?php echo $value->contact_person; ?></td>
									<td class="text-center"><?php echo $value->phone; ?></td>
									<td class="text-center"><?php echo $value->email; ?></td>
                 	<!-- <td class="text-center"><?php echo $value->fund_sources; ?></td> -->
                 	<!-- <td class="text-center"><?php echo $value->normal_working_hours; ?></td> -->
                 	<!-- <td class="text-center"><?php echo $value->weekend_working_hours; ?></td> -->
                 	<!-- <td class="text-center"><?php echo $value->holiday_working_hours; ?></td> -->
                 	<!-- <td class="text-center"><?php echo $value->delivery_schedule; ?></td> -->
					<td>

						<!-- edit this commodity (uses the edit method found at GET /inventory/{id}/edit -->
						<a class="btn btn-sm btn-success" href="<?php echo URL::route('fundmanager.viewDetails', array($value->id)); ?>" >
								<span class="glyphicon glyphicon-eye-open"></span>
								View
						</a>
					<!-- edit this commodity (uses the edit method found at GET /inventory/{id}/edit -->
					<a class="btn btn-sm btn-info" href="<?php echo URL::route('fundmanager.edit', array($value->id)); ?>" >
							<span class="glyphicon glyphicon-edit"></span>
							<?php echo trans('messages.edit'); ?>

					</a>
						<!-- delete this commodity (uses the delete method found at GET /inventory/{id}/delete -->
					<button class="btn btn-sm btn-danger delete-item-link"
							data-toggle="modal" data-target=".confirm-delete-modal"
							data-id="<?php echo URL::route('fundmanager.delete', array($value->id)); ?>">
							<span class="glyphicon glyphicon-trash"></span>
							<?php echo trans('messages.delete'); ?>

					</button>
					</td>
				</tr>
				<?php endforeach; ?>
			</tbody>
			</table>
		<?php Session::put('SOURCE_URL', URL::full());?>
	</div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make("layout", array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>