<!DOCTYPE html>
<html>
<head>
    <style>
        body { font-family: Arial, sans-serif; }
        .header { background-color: #f8f9fa; padding: 20px; text-align: center; }
        .content { padding: 20px; }
        .section { margin-bottom: 20px; }
        .section-title { font-weight: bold; margin-bottom: 10px; border-bottom: 1px solid #eee; padding-bottom: 5px; }
        table { width: 100%; border-collapse: collapse; margin-top: 10px; }
        th, td { border: 1px solid #ddd; padding: 8px; text-align: left; }
        th { background-color: #f2f2f2; }
        .highlight { background-color: #ffeebc; padding: 2px 5px; font-weight: bold; color: #d97706; border-radius: 3px; }
    </style>
</head>
<body>
    <div class="header">
        <h2>Export Request AWB Update</h2>
    </div>
    
    <div class="content">
        <div class="section">
            <div class="section-title">AWB Details</div>
            <p><strong>Courier Service:</strong> <?php echo e($exportRequest->courier_service ?? 'N/A'); ?></p>
            <p><strong>AWB Number:</strong> <span class="highlight"><?php echo e($exportRequest->awb_no); ?></span></p>
        </div>

        <div class="section">
            <div class="section-title">Request Details</div>
            <p><strong>Created Date:</strong> <?php echo e($exportRequest->created_at->format('Y-m-d H:i')); ?></p>
            <p><strong>Pickup Date:</strong> <?php echo e($exportRequest->pickup_date_time->format('Y-m-d')); ?></p>
            <p><strong>Pickup Time:</strong> <?php echo e($exportRequest->pickup_date_time->format('H:i')); ?></p>
            <p><strong>Pickup Location:</strong> <?php echo e($exportRequest->pickup_location); ?></p>
            <?php if($exportRequest->shipment_reference): ?>
            <p><strong>Reference:</strong> <?php echo e($exportRequest->shipment_reference); ?></p>
            <?php endif; ?>
        </div>

        <div class="section">
            <div class="section-title">Send To Address</div>
            <?php if($exportRequest->shipToAddress): ?>
                <p><strong>Company:</strong> <?php echo e($exportRequest->shipToAddress->company_name); ?></p>
                <p><strong>Contact:</strong> <?php echo e($exportRequest->shipToAddress->contact_name); ?></p>
                <p>
                    <?php echo e($exportRequest->shipToAddress->address_1); ?><br>
                    <?php if($exportRequest->shipToAddress->address_2): ?> <?php echo e($exportRequest->shipToAddress->address_2); ?><br> <?php endif; ?>
                    <?php if($exportRequest->shipToAddress->address_3): ?> <?php echo e($exportRequest->shipToAddress->address_3); ?><br> <?php endif; ?>
                    <?php echo e($exportRequest->shipToAddress->city); ?> <?php echo e($exportRequest->shipToAddress->zip_code); ?><br>
                    <?php echo e($exportRequest->shipToAddress->country); ?>

                </p>
            <?php else: ?>
                <p>Address details not found.</p>
            <?php endif; ?>
        </div>

        <div class="section">
            <div class="section-title">Item Details</div>
            <?php if($exportRequest->items->count() > 0): ?>
                <table>
                    <thead>
                        <tr>
                            <th>Description</th>
                            <th>UOM</th>
                            <th>Quantity</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php $__currentLoopData = $exportRequest->items; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                            <td><?php echo e($item->item_description); ?></td>
                            <td><?php echo e($item->uom); ?></td>
                            <td><?php echo e($item->quantity); ?></td>
                        </tr>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </tbody>
                </table>
            <?php elseif($exportRequest->is_documents): ?>
                <p>This shipment contains documents only.</p>
            <?php else: ?>
                <p>No items listed.</p>
            <?php endif; ?>
        </div>
    </div>
</body>
</html>
<?php /**PATH F:\xampp\htdocs\courier_booking\resources\views/emails/export_requests/awb_updated.blade.php ENDPATH**/ ?>