<div class="modal fade" id="md_assign_department" tabindex="-1" role="dialog" aria-labelledby="exampleModallabel" aria-hidden="true">
  <?php echo e(Form::open(array('route' => 'assign.department','id'=>'form_assign_department', 'cls_form'))); ?>

  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="exampleModallabel">Assign Department</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true"></span>
        </button>
      </div>
      <div class="modal-body">
        <div class = "card">

          <div class = "card-body  form-fieldset">
                    <div class="row">
            <div class="col-sm-12">
                <label class="label-color" >CNIC: <i style = "color:red;"></i></label>
            <small class="form-errors pull-right req" value="*"><?php echo e($errors->first('cnic',":message")); ?></small>
            <div class="input-group mb-3">
          
              <?php echo e(Form::Text('cnic', '', ['class' => 'form-control form-control-sm', 'data-mask' => '00000-0000000-0', 'data-mask-clearifnotmatch' => 'true' ,'placeholder' => '00000-0000000-0'  , 'aria-label' => 'Default', 'aria-describedby' => 'inputGroup-sizing-default','readonly'=>'true'])); ?>

            </div>
          </div>

          <div class="col-sm-6">
              <label class="label-color" >Name: <i style = "color:red;">*</i></label>
            <small class="form-errors pull-right req" value="*"><?php echo e($errors->first('full_name',":message")); ?></small>

            <div class="input-group mb-3">
            
              <?php echo e(Form::Text('full_name', '', ['class' => 'form-control form-control-sm  cls_fullname', 'placeholder' => 'Full name' , 'aria-label' => 'Default', 'aria-describedby' => 'inputGroup-sizing-default','readonly'=>'true'])); ?>

            </div>
           </div>

          <div class="col-sm-6">
              <label class="label-color" > Father Name: <i style = "color:red;">*</i></label>
            <small class="form-errors pull-right req" value="*"><?php echo e($errors->first('father_name',":message")); ?></small>

            <div class="input-group mb-3">
             
              <?php echo e(Form::Text('father_name', '', ['class' => 'form-control form-control-sm  cls_fullname', 'placeholder' => 'Father name' , 'aria-label' => 'Default', 'aria-describedby' => 'inputGroup-sizing-default','readonly'=>'true'])); ?>

            </div>
          </div>

      
            <div class="col-sm-12">
                <label class="label-color" >Designation:</label>
            <small class="form-errors pull-right req" value=""><?php echo e($errors->first('designation',":message")); ?></small>

            <div class="input-group mb-3">
           
              <?php echo e(Form::Text('designation', '', ['class' => 'form-control form-control-sm  cls_fullname', 'placeholder' => 'Designation' , 'aria-label' => 'Default', 'aria-describedby' => 'inputGroup-sizing-default','readonly'=>'true'])); ?>

            </div>
          </div>
         <div class="col-sm-12">
            <label class="label-color">Department:</label>
            <small class="form-errors pull-right" value=""><?php echo e($errors->first('department',":message")); ?></small>
            <div class="input-group mb-3">
              <select name="department" class="form-control form-control-sm">
                <option value="<?php echo e(Crypt::encrypt(0)); ?>">Select Department</option>
                <?php $__currentLoopData = $department_list; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $rows): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                  <option value="<?php echo e(Crypt::encrypt($rows->id)); ?>"><?php echo e(ucfirst($rows->code)); ?> <?php echo e(ucfirst($rows->name)); ?>

                  </option>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
              </select>
            </div>
          </div>

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


      </div>
        <input type="hidden" name="user_id">
      <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
        <button type="submit" class="btn btn-primary cls_submit" content="assign department">Assign Department</button>
      </div>
    </div>
  </div>
  <?php echo e(Form::close()); ?>

</div>
<?php /**PATH /home/ubuntu/rebmgisplus/skylite/resources/views/user/modals/assign_department.blade.php ENDPATH**/ ?>