<?php $__env->startSection('content'); ?>
    <?php echo $__env->make('admin.topmenu', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <?php echo $__env->make('admin.sidebar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

    <div class="main-panel">


        <div class="content">
              <style>
    .marquee-container {
      background-color: #fff3cd;
      color: #856404;
      border: 1px solid #ffeeba;
      padding: 10px 20px;
      font-family: Arial, sans-serif;
      font-size: 16px;
      position: relative;
      overflow: hidden;
      height: 50px;
    }

    .marquee-text {
      white-space: nowrap;
      display: inline-block;
      animation: marquee 15s linear infinite;
    }

    @keyframes  marquee {
      0% { transform: translateX(100%); }
      100% { transform: translateX(-100%); }
    }
  </style>
   <div class="marquee-container">
    <div class="marquee-text">
      🚨 Note: To turn on Customs Clearance Document Required Notification you need to update shipment status to Customs
    </div>
  </div>

            <div class="page-inner">

                <div class="mt-2 mb-4 d-flex justify-content-between align-items-center">
                    <h4>Add New Update</h4>
                    <a class="btn btn-primary btn-sm" href="<?php echo e(route('couriers.index')); ?>">
                        <i class="fa fa-arrow-left"></i> back
                    </a>
                </div>

                <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.danger-alert','data' => []]); ?>
<?php $component->withName('danger-alert'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
                <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.success-alert','data' => []]); ?>
<?php $component->withName('success-alert'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>

              <h2>Tracking: <?php echo e($courier->tracking_code); ?></h2>

<p><strong>Sender:</strong> <?php echo e($courier->sender_name); ?> | <strong>Receiver:</strong> <?php echo e($courier->receiver_name); ?></p>
<p><strong>Status:</strong> <?php echo e($courier->status); ?> | <strong>Location:</strong> <?php echo e($courier->current_location); ?></p>

<?php if($courier->photo): ?>
    <img src="<?php echo e(asset('storage/app/public/' . $courier->photo)); ?>" width="200">
<?php endif; ?>

<hr>

<?php echo $__env->make('admin.couriers.partials.update_form', ['courier' => $courier], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php echo $__env->make('admin.couriers.partials.tracking_history', ['updates' => $courier->updates], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/jjtechde/public_html/swiftx/resources/views/admin/couriers/show.blade.php ENDPATH**/ ?>