<?php if(auth()->user()->isSuperAdmin()): ?>
    <div class="mb-3">
        <label class="form-label">Promoter</label>
        <select name="promoter_id" class="form-control js-select2 <?php $__errorArgs = ['promoter_id'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" data-placeholder="Search and select promoter">
            <option value="">Select promoter</option>
            <?php $__currentLoopData = $promoters; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $promoter): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <option value="<?php echo e($promoter->id); ?>" <?php if(old('promoter_id', $record->promoter_id ?? null) == $promoter->id): echo 'selected'; endif; ?>>
                    <?php echo e($promoter->applicant_name); ?><?php if($promoter->email): ?> (<?php echo e($promoter->email); ?>)<?php endif; ?>
                </option>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </select>
        <?php $__errorArgs = ['promoter_id'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <div class="invalid-feedback d-block"><?php echo e($message); ?></div>
        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
    </div>
<?php endif; ?>
<?php /**PATH /Users/fasil/Sites/iqec/admin/resources/views/iqec/partials/promoter-select.blade.php ENDPATH**/ ?>