<?php $__env->startSection('content'); ?>
     
<div class="box">
             
            <!-- /.box-header -->
            <div class="box-body">
              <table dir="rtl" id="example1" class="table table-bordered table-striped">
                <thead>
                <tr>
                  <th style="text-align:center"> رقم الفاتوره </th>
                  <th style="text-align:center"> التاريخ </th>
                  
                  <th style="text-align:center" >الشحن </th>
                  <th style="text-align:center"> سعر الفاتورة  </th>
                  <th style="text-align:center"> الدفع  </th>
                  <th style="text-align:center" > اسم العميل </th>
                  </tr>
                </thead>
                <tbody>
                 <?php foreach( $bills as $bill ): ?>   
                <tr>
                <td style="text-align:center">
                <a  href='<?php echo e(url("/bills/print2/$bill->id")); ?>'>
                  <?php echo e($bill->id); ?>

                  </a>
                </td>
                  <td style="text-align:center">
                  
                  <?php echo e(date('d-m-Y', strtotime($bill->created_at))); ?>

                  </td>
                  
                  <td style="text-align:center">
                  <?php echo e($bill->transport); ?>

                  </td>
                  <td style="text-align:center">
                  <strong>
                  <?php echo e($bill->total_bill_price); ?>

                  </strong>
                  </td>
                  <td style="text-align:center">
                  <strong>
                  <?php echo e($bill->payments); ?>

                  </strong>
                  </td>
                  <td style="text-align:center">
                  <a  href='<?php echo e(url("/customer/details/$bill->customer_id")); ?>'>
                      <?php echo e($bill->name); ?>

                  </a>
                  </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(); ?>