<?php if(count($orders)): ?>
    <div class="table-responsive">
        <table class="table mt-5">
            <thead>
            <tr>
                <th> <?php echo e(__('web.order_id')); ?>  </th>
                <th> <?php echo e(__('web.order_date')); ?>  </th>
                <th> <?php echo e(__('web.order_products')); ?>   </th>
                <th><?php echo e(__('web.order_total')); ?> </th>
                <th><?php echo e(__('web.order_status')); ?> </th>
                <th></th>
            </tr>
            </thead>
            <tbody>
            <?php $__currentLoopData = $orders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <tr>
                    <td> #<?php echo e($row->id); ?> </td>
                    <td>  <?php echo e($row->date); ?>  </td>
                    <td> <?php echo e($row->products->count()); ?> </td>
                    <td><b><?php echo e($row->total); ?> <?php echo e(__('web.sar')); ?> </b></td>
                    <td> <span class="badge primary_badge"><?php echo e(__('orders.statuses.'.$row->status)); ?></span> </td>
                    <td>
                        <a href="<?php echo e(route('web.order.details',$row->id)); ?>" class="primary_border_butn butn sm_butn rounded-circle ">
                            <i class="fa-regular fa-info mx-0"></i>
                        </a>
                    </td>
                </tr>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </tbody>
        </table>
    </div>
<?php else: ?>
    <?php echo $__env->make('web.pages.components.not_found',['message'=>__('web.not_found_orders')], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endif; ?>
<?php /**PATH /Applications/MAMP/htdocs/electric/resources/views/web/pages/orders/orders.blade.php ENDPATH**/ ?>