<?php $__env->startSection('content'); ?>
    <section class="section">
        <?php echo $__env->make('dashboard.admin.partials.banner_area', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

        <div class="section-body">
            <div class="row">
                <div class="col-12">
                    <div class="card">
                        <div class="card-header">
                            <h4><?php echo e($title); ?></h4>
                            <div class="card-header-action">
                                <a href="<?php echo e(route('admin.shipment.create')); ?>" class="btn btn-primary"><i
                                        class="fas fa-plus"></i>
                                    Add Shipment</a>
                            </div>
                        </div>
                        <div class="card-body">
                            <div class="table-responsive">
                                <table class="table table-striped" id="table-1">
                                    <thead>
                                        <tr>
                                            <th>
                                                #
                                            </th>
                                            <th>Tracking Code</th>
                                            <th>Sender Name</th>
                                            <th>Client Name</th>
                                            <th>Shipment Date</th>
                                            <th>Carrier</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <?php $__currentLoopData = $shipments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $shipment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <tr>
                                                <td><?php echo e($key + 1); ?></td>
                                                <td><a
                                                        href="<?php echo e(route('admin.shipment.show', @$shipment->uuid)); ?>"><?php echo e(@$shipment->tracking_code); ?></a>
                                                </td>
                                                <td><?php echo e(@$shipment->sender_name); ?></td>
                                                <td><?php echo e(@$shipment->client_name); ?></td>
                                                <td><?php echo e(@$shipment->date_of_shipment); ?></td>
                                                <td><?php echo e(@$shipment->carrier); ?></td>
                                            </tr>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('dashboard.admin.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\projects\logistics-v3.1\resources\views\dashboard\admin\shipment\index.blade.php ENDPATH**/ ?>