<?php $__env->startSection("content"); ?>
<div>
	<ol class="breadcrumb">
		<li><a href="<?php echo e(URL::route('user.dashboard')); ?>"><?php echo trans('Dashboard'); ?></a></li>
	 <li><a href="<?php echo e(URL::route('user.home')); ?>"><?php echo trans('messages.home'); ?></a></li>
		<li><a  href="<?php echo URL::route('asset_mgt.index'); ?>"><?php echo trans('Asset Management'); ?></a></li>
		 <li><a href="<?php echo e(URL::route('requisition.index')); ?>"><?php echo trans('In-house Requisition'); ?></a></li>
	 	  <li class="active">New Store Section</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-th-large"></span>  New Store Section
	</div>
	<div class="panel-body">
		   <?php echo Form::open(array('route' => 'storeunit.store', 'id' => 'form-storeunit')); ?>


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

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

            </div>

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

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

						</div>

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

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

						</div>

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

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

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

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

					 </div> -->
            <div class="form-group">
                <?php echo Form::label('min_temp', 'Minimum Storage Temperature'); ?>

                <?php echo Form::number('min_temp', Input::old('min_temp'), array('placeholder' => '°C','class' => 'form-control', 'rows' => '2')); ?>

            </div>
            <div class="form-group">
                <?php echo Form::label('max_temp', 'Maximum Storage Temperature'); ?>

                <?php echo Form::number('max_temp', Input::old('max_temp'),array('placeholder' => '°C','class' => 'form-control', 'rows' => '2')); ?>

            </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>
<?php $__env->stopSection(); ?>

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