<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
</head>
<body style="font-family: Arial, sans-serif; background:#f4f4f4; padding:20px;">

<div style="max-width:700px; margin:auto; background:#ffffff; padding:20px;">

    <h2>
        View Your Itinerary: <?php echo e($passenger->first_name); ?> <?php echo e($passenger->last_name); ?>

    </h2>

    <p>
        Reservation Number:
        <strong><?php echo e($passenger->pnr); ?></strong>
    </p>

    
    <p style="margin:20px 0;">
        <a href="<?php echo e(route('reservation.result', $passenger->id)); ?>"
           target="_blank"
           style="
                display:inline-block;
                background:#6dbf2a;
                color:#ffffff;
                padding:12px 28px;
                text-decoration:none;
                font-weight:bold;
                border-radius:4px;
           ">
            VIEW YOUR ITINERARY
        </a>
    </p>

    <?php if($customMessage): ?>
        <div style="background:#eef; padding:10px; margin-bottom:15px;">
            <strong>Email Message</strong><br>
            <?php echo e($customMessage); ?>

        </div>
    <?php endif; ?>

    <?php $__currentLoopData = $passenger->trips; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $trip): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <div style="border:1px solid #ddd; padding:10px; margin-bottom:10px;">
            <strong>
                <?php echo e(strtoupper(\Carbon\Carbon::parse($trip->departure_date)->format('D, M d, Y'))); ?>

            </strong><br>

            <?php echo e($trip->departureAirport->name); ?>

            (<?php echo e($trip->departureAirportCode->code); ?>)
            →
            <?php echo e($trip->arrivalAirport->name); ?>

            (<?php echo e($trip->arrivalAirportCode->code); ?>)<br>

            Airline: <?php echo e($trip->company->name); ?><br>
            Status: <?php echo e($trip->status); ?>

        </div>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

    <p style="font-size:12px;color:#666;">
        © BE FRESH PLC
    </p>

</div>
</body>
</html>
<?php /**PATH D:\xampp\htdocs\view-trip-update2\resources\views/emails/itinerary.blade.php ENDPATH**/ ?>