
<div class="rcard" id="extraCard" style="<?php echo e(empty($extraFields) ? 'display:none' : ''); ?>">
    <div class="rcard-head">
        <div class="rcard-icon" style="background:#e0f2fe;color:#0284c7"><i
                class="fas fa-sliders-h"></i></div>
        <div class="rcard-title" id="extraTitle">Hizmet Detayları</div>
    </div>
    <div class="rcard-body">
        <div class="fg2" id="extraContainer">
            <?php $__currentLoopData = $extraFields; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $f): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="fl"><label><?php echo e($f['label']); ?></label>
                    <?php if($f['type'] === 'select'): ?>
                        <select name="extra_data[<?php echo e($f['key']); ?>]" class="fi">
                            <option value="">Seçiniz</option><?php $__currentLoopData = $f['options']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $v => $l): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><option
                                value="<?php echo e($v); ?>" <?php echo e(old("extra_data.{$f['key']}") === $v ? 'selected' : ''); ?>>
                            <?php echo e($l); ?></option><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </select>
                    <?php elseif($f['type'] === 'boolean'): ?>
                        <select name="extra_data[<?php echo e($f['key']); ?>]" class="fi">
                            <option value="">Seçiniz</option>
                            <option value="1" <?php echo e(old("extra_data.{$f['key']}") === '1' ? 'selected' : ''); ?>>Evet
                            </option>
                            <option value="0" <?php echo e(old("extra_data.{$f['key']}") === '0' ? 'selected' : ''); ?>>Hayır
                            </option>
                        </select>
                    <?php else: ?>
                        <input type="<?php echo e($f['type'] === 'number' ? 'number' : 'text'); ?>"
                            name="extra_data[<?php echo e($f['key']); ?>]" value="<?php echo e(old("extra_data.{$f['key']}")); ?>"
                            class="fi" placeholder="<?php echo e($f['label']); ?>">
                    <?php endif; ?>
                </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
    </div>
</div>
<?php /**PATH C:\xampp\htdocs\acente\resources\views/agency/sales/create/extra_fields.blade.php ENDPATH**/ ?>