 <div class="table-responsive">
     <table id="myTable" class="table table-bordered">
         <thead>
             <tr>
                 <th>#</th>
                 <th>Tracking Code</th>
                 <th>Type</th>
                 <th>Description</th>
                 <th>Amount</th>
                 <th>Departure Date</th>
                 <th>Arrival Date</th>
                 <th>Status</th>
                 <th>Action</th>
             </tr>
         </thead>
         <tbody>
             <?php $__currentLoopData = $shipments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $shipment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                 <tr>
                     <td><?php echo e($index + 1); ?></td>
                     <td><?php echo e($shipment->tracking_code); ?></td>
                     <td>
                         <?php echo e(ucfirst($shipment->type)); ?>

                     </td>
                     <td><?php echo e($shipment->description); ?></td>
                     <td><?php echo e(currency($shipment->currency)); ?><?php echo e(formatAmount($shipment->amount)); ?></td>
                     <td><?php echo e(formatDate($shipment->departure_date)); ?></td>
                     <td><?php echo e(formatDate($shipment->arrival_date)); ?></td>
                     <td>
                         <span class="<?php echo e($shipment->status->badge()); ?>"><?php echo e($shipment->status->label()); ?></span>
                     </td>
                     <td>
                         <?php if (isset($component)) { $__componentOriginalfedba57db42b5f4ee7d6a77b4d5777fc = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalfedba57db42b5f4ee7d6a77b4d5777fc = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin-links','data' => ['href' => ''.e(route('admin.shipment.show', $shipment->uuid)).'','class' => 'btn btn-primary m-1']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('admin-links'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['href' => ''.e(route('admin.shipment.show', $shipment->uuid)).'','class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute('btn btn-primary m-1')]); ?><i
                                 class="ti ti-package"></i> Details <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalfedba57db42b5f4ee7d6a77b4d5777fc)): ?>
<?php $attributes = $__attributesOriginalfedba57db42b5f4ee7d6a77b4d5777fc; ?>
<?php unset($__attributesOriginalfedba57db42b5f4ee7d6a77b4d5777fc); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalfedba57db42b5f4ee7d6a77b4d5777fc)): ?>
<?php $component = $__componentOriginalfedba57db42b5f4ee7d6a77b4d5777fc; ?>
<?php unset($__componentOriginalfedba57db42b5f4ee7d6a77b4d5777fc); ?>
<?php endif; ?>

                         <?php if (isset($component)) { $__componentOriginalfedba57db42b5f4ee7d6a77b4d5777fc = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalfedba57db42b5f4ee7d6a77b4d5777fc = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin-links','data' => ['href' => ''.e(route('admin.shipment.download', $shipment->uuid)).'','class' => 'btn btn-warning m-1']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('admin-links'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['href' => ''.e(route('admin.shipment.download', $shipment->uuid)).'','class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute('btn btn-warning m-1')]); ?><i class="ti ti-printer"></i>
                             Download <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalfedba57db42b5f4ee7d6a77b4d5777fc)): ?>
<?php $attributes = $__attributesOriginalfedba57db42b5f4ee7d6a77b4d5777fc; ?>
<?php unset($__attributesOriginalfedba57db42b5f4ee7d6a77b4d5777fc); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalfedba57db42b5f4ee7d6a77b4d5777fc)): ?>
<?php $component = $__componentOriginalfedba57db42b5f4ee7d6a77b4d5777fc; ?>
<?php unset($__componentOriginalfedba57db42b5f4ee7d6a77b4d5777fc); ?>
<?php endif; ?>

                         <?php if (isset($component)) { $__componentOriginal347030cfdce912605d6574d3725ea2d8 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal347030cfdce912605d6574d3725ea2d8 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin-method-buttons','data' => ['action' => ''.e(route('admin.shipment.destroy', $shipment->uuid)).'','class' => 'btn btn-danger m-1']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('admin-method-buttons'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['action' => ''.e(route('admin.shipment.destroy', $shipment->uuid)).'','class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute('btn btn-danger m-1')]); ?> <i class="ti ti-trash"></i>
                             Delete <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal347030cfdce912605d6574d3725ea2d8)): ?>
<?php $attributes = $__attributesOriginal347030cfdce912605d6574d3725ea2d8; ?>
<?php unset($__attributesOriginal347030cfdce912605d6574d3725ea2d8); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal347030cfdce912605d6574d3725ea2d8)): ?>
<?php $component = $__componentOriginal347030cfdce912605d6574d3725ea2d8; ?>
<?php unset($__componentOriginal347030cfdce912605d6574d3725ea2d8); ?>
<?php endif; ?>
                     </td>
                 </tr>
             <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
         </tbody>
     </table>

 </div>
<?php /**PATH C:\xampp\htdocs\projects\logistics-v4.0\resources\views/components/admin-shipments.blade.php ENDPATH**/ ?>