<?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 class="active">Daily Lab Activity Summary</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-primary">

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


				 <div class="panel panel-default">
					 <h3 class="panel-title" style="text-align:center"><?php echo HTML::image(Config::get('kblis.organization-logo'),  Config::get('kblis.country') . trans('messages.court-of-arms'), array('width' => '150px')); ?>

						 <br>
						 <strong>External Services and Supplies</strong>
					 </h3>
					 <br>

							 <div class="panel panel-primary">

								 <form method="post" id="insert_form"><input type="hidden" name="row_count" id="row_count" value=0>
									 <div class="table-repsonsive">
										 <span id="error"></span>
										 <table class="table table-bordered">
											 <tr>
												 <th class="text:center">Date</th>
												 <th class="text:center">No. Runs</th>
												 <th class="text:center">Valid Tests</th>
												 <th class="text:center">Invalid Tests</th>
												 <th class="text:center">Controls</th>
												 <th class="text:center">Total</th>
													 <th class="text:center">Valid</th>
													 <th class="text:center">Invalid</th>
													 <th class="text:center">Total</th>
													 <th><button type="button" name="add" class="btn btn-success btn-sm add"><span class="glyphicon glyphicon-plus"></span></button></th>
												 </tr>
											 </table>

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

											 </div>
										 </form>
										 </div>
									 </div>
						 </div>
						 </div>

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


		<?php
		Session::put('SOURCE_URL', URL::full());?>
</div>
<?php $__env->stopSection(); ?>

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