

<?php $__env->startSection('content'); ?>


 
<div class="card mb-4">
    <div class="card-header">
        <div class="d-flex">
            <div class="mr-auto p-2 align-self-center"><h4>My Orders</h4></div>
            <div class="p-2">              
            <!-- <a class="btn btn-primary" href=""><i class="fa fa-plus"></i> ADD New</a> -->
            </div>           
        </div>
    </div>
    <div class="card-body">
        <div class="table-responsive">
            <table class="table table-hover">
                <thead>
                    <tr>
                    <?php $Slno=0; ?>
                        <th>Slno</th>
                        <th>Order No.</th>
                        <th>Job Status</th>                    
                        <th colspan="">Actions</th>
                        <th></th>
                        <th></th>
                    </tr>
                </thead>
              
                <tbody>
                    <?php $__currentLoopData = $Orders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $Order): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <tr>
                        <td ><?php echo e(++$Slno); ?></td>
                        <td><?php echo e($Order->id); ?></td>
                        <td><?php echo e($Order->status->title); ?></td>
                        <td>
                        <a href="<?php echo e(route('ProcessDetails.view',$Order->id)); ?>"><button type="button" class="btn btn-info">View <i class="far fa-eye"></i></button></a>
                        </td>
                        <td>
                            
                            <a href="<?php echo e(route('InvoicePrint',$Order->id)); ?>"><button type="button" class="btn btn-secondary">Inovice</i></button></a>
                            
                        <td>
                        <form method="post" action="<?php echo e(route('processComplete.complete')); ?>">
                        <?php echo csrf_field(); ?>
                        <input type="hidden" value="<?php echo e($Order->id); ?>" name="id">
                        <button type="submit" class="btn btn-success mx-2">Completed <i class="fas fa-check"></i></button>
                        </form>
                        </td>
                        
                                              
                    </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </tbody>
                
            </table>
        </div>
    </div>
    <div class="card-footer">
    
        <div class="d-flex justify-content-end font-weight-bold"><h5>Total: </h5></div>        
    </div>
</div>

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


<?php echo $__env->make('layouts.pmapp', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\washclub\resources\views/ProcessManager/index.blade.php ENDPATH**/ ?>