 

 


 
 <?php $__env->startSection('content'); ?>


 <form method="POST" action="<?php echo e(route('employees.insert')); ?>">
     <input type="hidden" name="_token" value="<?php echo e(csrf_token()); ?>">


     <div class="form-group row">



         <div class="col-xs-6">
             <label for="description_en"> Employee Name </label>
             <input class="form-control" name="name" id="title_en" placeholder="Enter name" rows="1" required></textarea>
         </div>
         <div class="col-xs-6">
             <label for="contact">
                 Contact
             </label>
             <input class="form-control" name="contact" type="number" id="name" placeholder="Enter contact number" rows="1" required></textarea>
         </div>
     </div>
     <div class="form-group row">



         <div class="col-xs-6">
             <label for="dept_id">Select Department</label>
             <select class="form-control form-select" aria-label=".form-select-lg example" id="package_id" name="dept_id" onchange="choosePackage()" required>
                 <?php
                    foreach ($department as $dep) :
                        echo '<option value="' . $dep->id . '">' . $dep->name_en . '</option>'; //close your tags!!
                    endforeach;
                    ?>
             </select>
         </div>
         <div class="col-xs-6">
             <label for="salary">
                 Enter Employee Salary
             </label>
             <input class="form-control" type="number" step="0.1" placeholder="Enter salary" name="salary" id="salary" rows="1" required></textarea>
         </div>
     </div>


     <button type="submit" class="btn btn-primary">Create</button>
 </form>
 <?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.user', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>