

<?php $__env->startSection('content'); ?>
<section class="content-header"  >
      <h1>
     Waste Price  
     <small>عرض البورصة</small>
      </h1>
      <img   src="<?php echo e(asset('dist/img/borsa.png')); ?>"  alt="User Image" style="width: 200px;height: 150px;position: absolute;top: -9px;z-index: 1;right: 150px;">

    </section>
    <br/>
    
<div class="box" >
            <div class="box-header">
            </div>
            <!-- /.box-header -->
            <div class="box-body">
              <table id="example1"  class="table table-bordered table-striped">
                <thead>
                <tr>
                  <th style="text-align:center;vertical-align: middle;"> Name-الاسم  </th>
                  <th style="text-align:center;vertical-align: middle;"> Unit - الوحدة   </th>
                  <th style="text-align:center;vertical-align: middle;"> سعر الوحدة    </th>
                  <th style="text-align:center;vertical-align: middle;"> الضريبة   </th>
        				  <th style="text-align:center;vertical-align: middle;"> Actions  </th>
                </tr>
                </thead>
                <tbody>
                 <?php foreach( $wastes as $waste ): ?>   
                
                 
                
                 <tr>
                  
                  <td style="text-align:center; width:50px;word-break: break-word;" ><?php echo e($waste->name); ?> </td>
                  <td style="text-align:center; width:50px;word-break: break-word;"><?php echo e($waste->unit); ?> </td>
                  <td style="text-align:center; width:50px;word-break: break-word;"><?php echo e($waste->price); ?> </td>
                  <td style="text-align:center; width:50px;word-break: break-word;"><?php echo e($waste->tax); ?> </td>



                  <td style="text-align:center; width:50px;word-break: break-word;" > 
                  <?php if( auth()->user()->edit_ ): ?>
                  <a   href='<?php echo e(url("/waste/edit/$waste->id")); ?>'  > <i class="fa fa-edit" style="font-size:18px"></i>  </a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                  <?php else: ?>
	                  <span>&nbsp;&nbsp;</span>
                  <?php endif; ?>
                  
                </td>
                </tr>
                <?php endforeach; ?>
                </tbody>
                
              </table>
            </div>
            <!-- /.box-body -->
          </div>

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

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