<?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('commodity.index')); ?>"><?php echo trans('messages.commodityList'); ?></a></li>
		<li class="active">New Run-Jeff</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> <br>
		Jeff Abbott Machine
	</div>

	<br>
	<br>
	<div class="panel-body">
<<<<<<< HEAD
		   <?php echo Form::open(array('route' => 'jeff.store', 'id' => 'form-store_jeff', 'method' => 'POST')); ?>


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

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

			 </div>

			 <div class="form-group">
					<?php echo Form::label('control_lot_number', 'Control Kit Lot Number'); ?>

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

						</div>

			 <div class="form-group">
					<?php echo Form::label('control_expiry', 'Control Kit Expiry Date'); ?>

					<?php echo Form::text('control_expiry', Input::old('control_expiry'),array('class' => 'form-control standard-datepicker standard-datepicker-nobackdate','required'=>'required')); ?>

				</div>

				<div class="form-group">
 					<?php echo Form::label('calibrator_kit_lot_number', 'Calibrator Kit Lot Number'); ?>

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

 						</div>

						<div class="form-group">
							 <?php echo Form::label('calibrator_expiry', 'Calibrator Kit Expiry Date'); ?>

							 <?php echo Form::text('calibrator_expiry', Input::old('calibrator_expiry'),array('class' => 'form-control standard-datepicker standard-datepicker-nobackdate','required'=>'required')); ?>

						 </div>

				<div class="form-group">
 					<?php echo Form::label('reagent_kit_lot_number', 'Reagent Kit Lot Number'); ?>

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

 						</div>

						<div class="form-group">
							 <?php echo Form::label('reagent_expiry', 'Reagent Kit Expiry Date'); ?>

							 <?php echo Form::text('reagent_expiry', Input::old('reagent_expiry'),array('class' => 'form-control standard-datepicker standard-datepicker-nobackdate','required'=>'required')); ?>

						 </div>


						 				<div class="form-group">
						  					<?php echo Form::label('number_of_runs', 'Total No. Of Samples To Be Tested '); ?>

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

				  						</div>

										<div class="form-group">


						  					<?php echo Form::label('number_of_runs', 'Total No. Of Samples To Be Tested '); ?>

						  									<input type="text" name="number_of_runs" value="amplification	Lot Number">
						  						</div>

=======
		<?php echo Form::open(array('route' => 'jeff.store', 'id' => 'form-store_jeff', 'method' => 'POST')); ?>


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

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

		</div>

		<div class="form-group">
			<?php echo Form::label('amplification_lot_number', 'Amplification Reagent Lot No.'); ?>

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

		</div>

		<div class="form-group">
			<?php echo Form::label('amplification_expiry', 'Amplification Reagent Expiry Date'); ?>

			<!-- <?php echo Form::label('amplification_expiry', Input::old('amplification_expiry'), array('class' => 'form-control', 'rows' => '2')); ?> -->
			<?php echo Form::text('amplification_expiry', Input::old('amplification_expiry'),array('class' => 'form-control standard-datepicker standard-datepicker-nobackdate','required'=>'required')); ?>

		</div>

		<div class="form-group">
			<?php echo Form::label('control_lot_number', 'Control Kit Lot Number'); ?>

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

		</div>

		<div class="form-group">
			<?php echo Form::label('control_expiry', 'Control Kit Expiry Date'); ?>

			<?php echo Form::text('control_expiry', Input::old('control_expiry'),array('class' => 'form-control standard-datepicker standard-datepicker-nobackdate','required'=>'required')); ?>

		</div>

		<div class="form-group">
			<?php echo Form::label('calibrator_lot_number', 'Calibrator Kit Lot Number'); ?>

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

		</div>

		<div class="form-group">
			<?php echo Form::label('calibrator_expiry', 'Calibrator Kit Expiry Date'); ?>

			<?php echo Form::text('calibrator_expiry', Input::old('calibrator_expiry'),array('class' => 'form-control standard-datepicker standard-datepicker-nobackdate','required'=>'required')); ?>

		</div>

		<div class="form-group">
			<?php echo Form::label('reagent_kit_lot_number', 'Reagent Kit Lot Number'); ?>

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

		</div>

		<div class="form-group">
			<?php echo Form::label('reagent_expiry', 'Reagent Kit Expiry Date'); ?>

			<?php echo Form::text('reagent_expiry', Input::old('reagent_expiry'),array('class' => 'form-control standard-datepicker standard-datepicker-nobackdate','required'=>'required')); ?>

		</div>


		<div class="form-group">
			<?php echo Form::label('number_of_samples', 'No. Of Samples To Be Tested '); ?>

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

		</div>
		<div class="form-group">
			<?php echo Form::label('passed_runs', 'No. Of Passed Runs '); ?>

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

		</div>
		<div class="form-group">
			<?php echo Form::label('failed_runs', 'No. Of Failed runs '); ?>

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

		</div>
		<div class="form-group">
			<?php echo Form::label('dummy_runs', 'No. Of Dummy '); ?>

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

		</div>
		<div class="form-group">
			<?php echo Form::label('control_runs', 'No. Of Controls Runs'); ?>

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

		</div>

		<!-- <div class="form-group">
			<form action="/action_page.php">
				Birthday:
				<input type="date" name="bday">
			</form>
			<!
			<input type="text" name="FirstName" value="Mickey"> -->

			<!-- <?php echo Form::label('number_of_runs', 'Total No. Of Samples To Be Tested '); ?>

			<input type="text" name="number_of_runs" value="amplification	Lot Number">
		</div>  -->
>>>>>>> refs/remotes/origin/productionbranch


	</div>

	<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>


<!--

<button onclick="myFunction()">Try it</button>
<button onclick="dateguy()"> Tem </button>



<p id="demo"></p> -->
<script>
	// setting expiry date to 7 days before actual expiry date
	$(".standard-datepicker-nobackdate").datepicker({
		minDate:7
	});

	// // function to pick out lot number from amplification kit barcode
	// <p id="amplification_lot_number"></p>
	// function lotnumber() {
	// 	// var str = "2200000480068240119100";
	// 	var amplification_lot_number =""
	// 	var amplification_lot_number = str.substr(7,6);
	// 	//  var res = str.substr(13,6);
	// 	// document.getElementById("amplification_lot_number").innerHTML = amplification_lot_number;
	// 	document.getElementByName("amplification_lot_number")[0].value = amplification_lot_number;
	// }
	//
	// // function to pick out expiry date from amplification kit barcode
	// function expirydate() {
	// 	// var str = "2200000480068240119100";
	// 	//var res = str.substr(7,6);
	// 	var res = str.substr(13,6);
	// 	document.getElementById("barcode").innerHTML = res;
	// // }
</script>
<?php $__env->stopSection(); ?>

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