<h4 class="mt-4">Tracking History</h4>

<?php if($updates->count()): ?>
    <?php $__currentLoopData = $updates->sortByDesc('created_at'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $update): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <div class="border p-2 mb-2 bg-light rounded shadow-sm">
            <strong><?php echo e($update->status); ?></strong><br>
            <span class="text-muted"><?php echo e($update->location); ?></span><br>
            <small class="text-secondary"><?php echo e($update->created_at->format('d M Y, h:i A')); ?></small><br>
            <?php if($update->comment): ?>
                <div><em><?php echo e($update->comment); ?></em></div>
            <?php endif; ?>
        </div>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php else: ?>
    <p class="text-muted">No updates yet.</p>
<?php endif; ?>
<?php /**PATH /home/swizzfx/tracking1.swizzfx.pro/resources/views/admin/couriers/partials/tracking_history.blade.php ENDPATH**/ ?>