<?php if(Auth::user()->hasAnyPermission(['All','Update Inventory Bulk'])): ?>

<!-- Modal ADD Branch -->
<div class="modal fade" id="md_update_bulk" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  <?php echo e(Form::open(array('route' => 'inventory.bulkupdate', 'id' => 'form_update_bulk', 'class' => 'cls_form'))); ?>

  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="exampleModalLabel"><?php echo e(ucwords(str_replace('_',' ',$plot_labels['module']))); ?> Bulk Update </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-6">
            <label class="label-color"> Select Type:</label>
            <small class="form-errors pull-right req" value="*"><?php echo e($errors->first('type',":message")); ?></small>
            <div class="input-group mb-3">
              <select name="<?php echo e($plot_labels['type']); ?>" class="form-control form-control-sm">
                <option value="<?php echo e(Crypt::encrypt(0)); ?>">Select Type</option>
                <?php $__currentLoopData = $type_list; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $rows): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                  <option value="<?php echo e(Crypt::encrypt($rows->type)); ?>"><?php echo e(ucfirst($rows->type)); ?>

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


          <div class="col-sm-6">
            <label class="label-color"> Select Category:</label>
            <small class="form-errors pull-right req" value="*"><?php echo e($errors->first('category',":message")); ?></small>
            <div class="input-group mb-3">
              <select name="<?php echo e($plot_labels['category']); ?>" class="form-control form-control-sm">
                <option value="<?php echo e(Crypt::encrypt(0)); ?>">Select Category</option>
                <?php $__currentLoopData = $category_list; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $rows): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                  <option value="<?php echo e(Crypt::encrypt($rows->category)); ?>"><?php echo e(ucfirst($rows->category)); ?>

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

         

          <div class="col-sm-6">
            <label class="label-color"> Select Area:</label>
            <small class="form-errors pull-right req" value="*"><?php echo e($errors->first('area',":message")); ?></small>
            <div class="input-group mb-3">
              <select name="<?php echo e($plot_labels['size']); ?>" class="form-control form-control-sm">
                <option value="<?php echo e(Crypt::encrypt(0)); ?>">Select Area</option>
                <?php $__currentLoopData = $size_list; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $rows): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                  <option value="<?php echo e(Crypt::encrypt($rows->size)); ?>"><?php echo e(ucfirst($rows->size)); ?>

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

          <div class="col-sm-6">
            <label class="label-color"> Select Floor:</label>
            <small class="form-errors pull-right req" value="*"><?php echo e($errors->first('floor',":message")); ?></small>
            <div class="input-group mb-3">
              <select name="<?php echo e($plot_labels['floor']); ?>" class="form-control form-control-sm">
                <option value="<?php echo e(Crypt::encrypt(0)); ?>">Select Floor</option>
                <?php $__currentLoopData = $floor_list; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $rows): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                  <option value="<?php echo e(Crypt::encrypt($rows->floor)); ?>"><?php echo e(ucfirst($rows->floor)); ?>

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


         

         
          

           <div class="col-sm-12">
            <label class="label-color"> <?php echo e(ucwords(str_replace('_',' ',$plot_labels['rate']))); ?>:</label>
            <small class="form-errors pull-right req" value="*"><?php echo e($errors->first($plot_labels['rate'],":message")); ?></small>
            <div class="input-group mb-3">
             
              <?php echo e(Form::Text($plot_labels['rate'], '0', ['class' => 'form-control form-control-sm  cls_required', 'placeholder' => 'Inventory Rate' , 'aria-label' => 'Default', 'aria-describedby' => 'inputGroup-sizing-default'])); ?>

            </div>
           
          </div>
        </div>  
          </div>
        </div>
     
         
      </div>
      <div class="modal-footer">
        <input type="hidden" name="inventory" >
        <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
        <button type="submit" class="btn btn-primary cls_submit" content="bulk update">Bulk Update</button>
      </div>
    </div>
  </div>
  <?php echo e(Form::close()); ?>

</div>
<!-- END MODAL ADD BRANCH -->
<?php endif; ?><?php /**PATH /home/ubuntu/rebmgisplus/skylite/resources/views/inventory/modals/bulk_update.blade.php ENDPATH**/ ?>