<?php if (isset($component)) { $__componentOriginal8f195125e778e9fcb9b789873b09b17b = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal8f195125e778e9fcb9b789873b09b17b = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.layouts.email','data' => ['title' => 'Tracking Updated']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('layouts.email'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['title' => 'Tracking Updated']); ?>
    <p>Dear <?php echo e($tracking->shipment->receiver_name); ?>,</p>
    <p>We are excited to inform you that your shipment tracking has been updated. Here are the details:</p>

    <table>
        <tr>
            <th>Tracking Status</th>
            <td><?php echo e(status($tracking->status_code)); ?></td>
        </tr>

        <?php if($tracking->status_code == 0): ?>
        <tr>
            <th>Hold Reason</th>
            <td><?php echo e($tracking->hold_reason); ?></td>
        </tr>
        <?php endif; ?>
        <tr>
            <th>Date Sent</th>
            <td><?php echo e($tracking->date_sent->format('d/m/Y')); ?></td>
        </tr>
        <tr>
            <th>Delivery Date</th>
            <td><?php echo e($tracking->date_expected->format('d/m/Y')); ?></td>
        </tr>

        <tr>
            <th>Progress</th>
            <td><?php echo e($tracking->progress); ?>%</td>
        </tr>

        <tr>
            <th>Current Location</th>
            <td><?php echo e($tracking->current_location); ?></td>
        </tr>
        <tr>
            <th>Tracking Code</th>
            <td><?php echo e($tracking->shipment->tracking_code); ?></td>
        </tr>
    </table>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal8f195125e778e9fcb9b789873b09b17b)): ?>
<?php $attributes = $__attributesOriginal8f195125e778e9fcb9b789873b09b17b; ?>
<?php unset($__attributesOriginal8f195125e778e9fcb9b789873b09b17b); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal8f195125e778e9fcb9b789873b09b17b)): ?>
<?php $component = $__componentOriginal8f195125e778e9fcb9b789873b09b17b; ?>
<?php unset($__componentOriginal8f195125e778e9fcb9b789873b09b17b); ?>
<?php endif; ?><?php /**PATH /home/u334869836/domains/xpressdeliveryltd.com/public_html/resources/views/emails/tracking-updated.blade.php ENDPATH**/ ?>