
<div class="rmg-pax" draggable="true"
     data-sale="<?php echo e($sale['sale_id']); ?>"
     data-passenger="<?php echo e($p['passenger_id']); ?>"
     data-room="<?php echo e($roomId ?? ''); ?>"
     data-bed="<?php echo e($p['occupies_bed'] ? 1 : 0); ?>">
    <span class="rmg-pax-av <?php echo e($p['gender'] === 'female' ? 'f' : ($p['gender'] === 'male' ? 'm' : '')); ?>"><?php echo e($p['initials']); ?></span>
    <div class="rmg-pax-txt">
        <b><?php echo e($p['name']); ?></b>
        <small>
            <?php if($p['pax_type']): ?><span class="rmg-tag <?php echo e($p['pax_type'] === 'Bebek' ? 'baby' : ''); ?>"><?php echo e($p['pax_type']); ?></span><?php endif; ?>
            <?php if($p['age'] !== null): ?><?php echo e($p['age']); ?> yaş<?php endif; ?>
            <?php if($p['gender_label']): ?><span class="rmg-dot"></span><?php echo e($p['gender_label']); ?><?php endif; ?>
            <?php if(!$p['occupies_bed']): ?><span class="rmg-tag baby" title="Bebekler yatak kapasitesine sayılmaz">yataksız</span><?php endif; ?>
        </small>
    </div>
    
    <select class="rmg-move" title="Odaya taşı" aria-label="Odaya taşı">
        <option value="">Atanmamış</option>
        <?php $__currentLoopData = $sale['rooms']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $r): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <option value="<?php echo e($r['id']); ?>" <?php if((string) $r['id'] === (string) ($roomId ?? '')): echo 'selected'; endif; ?>><?php echo e($r['label']); ?></option>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </select>
</div>
<?php /**PATH C:\xampp\htdocs\acente\resources\views/agency/operations/partials/rooming-chip.blade.php ENDPATH**/ ?>