File: /var/www/ipsremont-demo/storage/framework/views/a58d8f9d4c26331055d1b175df1378c023585a84.php
<?php if(!empty($shipments)): ?>
<div class="card card-custom card-transparent gutter-b">
<div class="card-body p-0">
<div class="card card-custom">
<div class="card-header">
<div class="card-title">
<h3 class="card-label"><?php echo app('translator')->get('dashboard.freshShipments'); ?></h3>
</div>
</div>
<div class="card-body">
<table class="table table-hover">
<?php echo $__env->make('components.table-header', ['columns' => $shipmentColumns], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<tbody>
<?php if(sizeof($shipments)>0): ?>
<?php $__currentLoopData = $shipments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $d): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td><a href="<?php echo e(route('shipment.show', $d->getId())); ?>" class="text-primary font-weight-bolder font-size-lg"><?php echo e($d->getTrackNumber()); ?></a>
<?php if($d->error): ?>
<i class="icon-xl text-danger la la-exclamation-triangle"></i>
<?php endif; ?></td>
<td><?php echo e($d->getDeliveryService()); ?></td>
<td>
<a href="<?php echo e(route('orders.show', $d->getOrderId())); ?>" class="text-primary font-weight-bolder font-size-lg"><?php echo e($d->getOrder() ? $d->getOrder()->getNumber() : ''); ?></a>
</td>
<td><?php echo html_entity_decode($d->status()->getColoredName(), ENT_QUOTES, 'UTF-8'); ?></td>
<?php if($d->getDepartureDate()): ?>
<td><?php echo e($d->getDepartureDate()->format(config('crud.formatDate'))); ?></td>
<?php endif; ?>
<td><?php echo e($d->getDateOfLastUpdate()->format(config('crud.dateTime'))); ?></td>
<td class="d-flex justify-content-end">
<?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.btn-show','data' => ['title' => 'shipment.show','link' => 'shipment.show','id' => ''.e($d->getId()).'','class' => '']]); ?>
<?php $component->withName('btn-show'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['title' => 'shipment.show','link' => 'shipment.show','id' => ''.e($d->getId()).'','class' => '']); ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php else: ?>
<tr>
<td align="center" colspan="<?php echo e(sizeof($shipmentColumns['fields'])); ?>">
<?php echo app('translator')->get('shipment.notFound'); ?>
</td>
</tr>
<?php endif; ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
<?php endif; ?>
<?php /**PATH /var/www/ipsremont-demo/resources/views/dashboard/_shipments.blade.php ENDPATH**/ ?>