<?php $__env->startSection('content'); ?>
<?php if(session()->has('message')): ?>
<div class="row">
        <!-- left column -->
        <div class="col-md-1"></div>
              <div class="col-md-10 alert alert-success alert-dismissible" style="font-size:18px;font-weight:bold;">
                <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
                <?php echo session('message'); ?>

              </div>
              <div class="col-md-1"></div>
              </div> 
<?php endif; ?>

<section class="invoice" style="border: 0px solid #f4f4f4; padding:30px" dir="rtl" >

    <div class = "col-md-12" style="padding-bottom:20px"> 
         <div  style="font-size:25px; font-weight:bold ;text-align: center;">
        Supervisor Supplier List
        </div>
    </div>
<div style="margin-right:30px; font-size:16px; font-weight:bold; margin-top:10px;text-align: center;">
 <?php echo e($suppervisor->name); ?>

 </div>
</section>
    <br/>

    
    <div class="row" >
        
             
            <form   role="form" method="POST" action="<?php echo e(url('/suppervisor_supplier_list/edit')); ?>">
                        <?php echo e(csrf_field()); ?>

          
                 <div class="col-md-1" ></div>                       
                <div class="col-md-10" style="padding: 29px;">

                  <?php foreach( $suppliers as $suplier): ?> 
                          
                    <div class="form-group col-md-4" style="text-align:left; font-size:18px;font-weight:bold">
                    <label>
                      <input type="checkbox" class="flat-red" id="<?php echo e($suplier->id); ?>" name="<?php echo e($suplier->id); ?>" value="<?php echo e($suplier->id); ?>"  <?php if($suplier->check ): ?> checked <?php endif; ?> >
                      <?php echo e($suplier->name); ?> 
                    </label>
                    </div>
                  <?php endforeach; ?>
                </div>
                <div class="col-md-1"></div> 
              
 
              <div class="box-footer">
                <button type="submit" class="btn btn-success">Save</button>
              </div>

              <input type="hidden" name="user_id" value="<?php echo e($suppervisor->id); ?>" class="form-control"  placeholder="" required>

            </form>
            
            
    </div>  
     


<?php $__env->stopSection(); ?>

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