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

              </div>
              </div> 
<?php endif; ?>

<div class="row">
        <!-- left column -->
        <div class="col-md-2"></div>
        <div class="col-md-8">
          <!-- general form elements -->
          <div class="box box-primary">
            <div class="box-header with-border">
              <h3 class="box-title">Edit Main Waste  </h3>
            </div>
            <!-- /.box-header -->
            <!-- form start -->
            <form   role="form" method="POST" action="<?php echo e(url('/main/edit')); ?>">
                        <?php echo e(csrf_field()); ?>

              <div class="box-body">
                
            
              <div class="form-group">
                <label>Choosw Supplier </label>
                <select class="form-control select2" onchange="showClasses_(this.value)" style="width: 100%;" name="supplier_id" id="supplier_id" required>
                  <?php foreach( $suppliers as $supplier ): ?> 
                  <option value="<?php echo e($supplier->id); ?>"  ><?php echo e($supplier->name); ?></option>
                  <?php endforeach; ?>
                </select>
                </div>

                <div class="form-group">
                <label>Choosw Wastes </label>
                <select class="form-control select2"  style="width: 100%;" name="waste_id" id="waste_id" required>
                
                </select>
                </div>


              </div>
              <!-- /.box-body -->

              <div class="box-footer">
                <button type="submit" class="btn btn-success">Save</button>
              </div>
            </form>

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



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