<?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('supplier.index')); ?>"><?php echo trans('messages.suppliersList'); ?></a></li>
	 	  <li class="active"><?php echo Lang::choice('messages.editSuppliers',2); ?></li>
	</ol>
</div>
<?php if(Session::has('message')): ?>
	<div class="alert alert-info"><?php echo trans(Session::get('message')); ?></div>
<?php endif; ?>
<?php if($errors->all()): ?>
                <div class="alert alert-danger">
                    <?php echo HTML::ul($errors->all()); ?>

                </div>
<?php endif; ?>
<div class="panel panel-default">
	<div class="panel-heading ">
		<span class="glyphicon glyphicon-user"></span>
		<?php echo Lang::choice('messages.suppliers',2); ?>

	</div>
	<div class="panel-body">

								 <?php echo Form::model($fundmanagers, array('route' => array('fundmanager.update', $fundmanagers->id), 'method' => 'PUT', 'id' => 'form-edit-fundmanager')); ?>

			            <?php echo Form::open(array('url' => 'fundmanager', 'id' => 'form-fundmanager', 'method' => 'POST')); ?>


							 <div class="form-group">
			 						<?php echo Form::label('name', 'name'); ?>

			 						<?php echo Form::text('name', Input::old('name'), array('class' => 'form-control', 'rows' => '2')); ?>

			 				</div>
			 				<div class="form-group">
			 						<?php echo Form::label('fund_sources', 'Fund Source'); ?>

			 						<?php echo Form::text('fund_sources', Input::old('fund_sources'),array('class' => 'form-control', 'rows' => '2')); ?>

			 				</div>
			 				<div class="form-group">
			 					 <?php echo Form::label('address', 'Physical Address'); ?>

			 					 <?php echo Form::textarea('address', Input::old('address'), array('class' => 'form-control', 'rows' => '2')); ?>

			 			 </div>
			 				<div class="form-group">
			 						<?php echo Form::label('contact_person', 'Contact Person'); ?>

			 						<?php echo Form::text('contact_person', Input::old('contact_person'), array('class' => 'form-control', 'rows' => '2')); ?>

			 				</div>
			 				<div class="form-group">
			 						<?php echo Form::label('phone', 'Phone Number'); ?>

			 						<?php echo Form::text('phone', Input::old('phone'),array('class' => 'form-control', 'rows' => '2')); ?>

			 				</div>
			 				<div class="form-group">
			 						<?php echo Form::label('email', trans('messages.email')); ?>

			 						<?php echo Form::text('email', Input::old('email'),array('class' => 'form-control', 'rows' => '2')); ?>

			 				</div>
			 				<div class="form-group">
			 						<?php echo Form::label('normal_working_hours', 'Normal Working Hours'); ?>

			 						<?php echo Form::text('normal_working_hours', Input::old('normal_working_hours'),array('class' => 'form-control', 'rows' => '2')); ?>

			 				</div>
			 				<div class="form-group">
			 						<?php echo Form::label('weekend_working_hours', 'Weekend Working Hours'); ?>

			 						<?php echo Form::text('weekend_working_hours', Input::old('weekend_working_hours'),array('class' => 'form-control', 'rows' => '2')); ?>

			 				</div>
			 				<div class="form-group">
			 						<?php echo Form::label('holiday_working_hours', 'Holiday Working Hours'); ?>

			 						<?php echo Form::text('holiday_working_hours', Input::old('holiday_working_hours'),array('class' => 'form-control', 'rows' => '2')); ?>

			 				</div>

            <div class="form-group actions-row">
							<div class="form-group actions-row">
											<?php echo Form::button("<span class='glyphicon glyphicon-save'></span> ".trans('messages.save'),
													array('class' => 'btn btn-primary', 'onclick' => 'submit()')); ?>

							</div>
        <?php echo Form::close(); ?>


		<?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(); ?>