
<?php $__env->startSection('content'); ?>
    <dov class="row">
        <div class="col-md">
            <div class="card card-user">
                <div class="card-header pt-4" style="align-self: center;justify-content: center;width: 75%;border-bottom: none;">
                    <h3><?php echo e(isset($allMarshals) ? 'Marshal List' : ''); ?></h3>
                </div>
                <div class="card-body">
                    <?php if(isset($allMarshals)): ?>
                        <div class="table-responsive px-2" style="overflow-x: scroll; overflow-y: hidden;">
                            <table class="table table-hover">
                                <thead class="text-dark">
                                    <tr>
                                        <th class="text-left" scope="col">S.No.</th>
                                        <th class="text-left" scope="col">Marshal Name</th>
                                        <th class="text-left" scope="col">Email</th>
                                        <th class="text-left" scope="col">Phone No.</th>
                                        <!--<th scope="col" class="text-center">Action</th>-->
                                    </tr>
                                </thead>
                                <tbody>
                                    <?php $__empty_1 = true; $__currentLoopData = $allMarshals; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $marshal): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                                        <tr>
                                            <th class="text-left" scope="row"><?php echo e($loop->iteration); ?></th>
                                            <td class="text-left"><?php echo e($marshal->name); ?></td>
                                            <td class="text-left"><?php echo e($marshal->email); ?></td>
                                            <td class="text-left"><?php echo e($marshal->contactNumber); ?></td>
<!--                                            <td class="d-flex justify-content-center">
                                                <a href="<?php echo e(url('vendor/marshal_detail/'.$marshal->marshalId)); ?>" title="Menu" class="btn btn-info mx-2 font-weight-bold">View Marshal</a>
                                            </td>-->
                                        </tr>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                                        <tr>
                                            <td colspan="7" align="center">Not Found any</td>
                                        </tr>
                                    <?php endif; ?>
                                </tbody>
                            </table>
                        </div>
                    <?php endif; ?>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.masterDashboard', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/nexaipaybr/public_html/foodycraft/app/Modules/Vendor/Views/allmarshal.blade.php ENDPATH**/ ?>