
<div class="rcard">
    <div class="rcard-head">
        <div class="rcard-icon" style="background:#eef2ff;color:#6366f1"><i
                class="fas fa-layer-group"></i></div>
        <div class="rcard-title">Hizmet Türü <span class="req">*</span></div>
    </div>
    <div class="rcard-body">
        <?php
            $ptIcons = ['kultur-turu' => ['fa-landmark', '#eef2ff', '#6366f1'], 'gunubirlik-tur' => ['fa-sun', '#fef3c7', '#d97706'], 'transfer' => ['fa-shuttle-van', '#d1fae5', '#059669'], 'arac-kiralama' => ['fa-car', '#dbeafe', '#2563eb'], 'tekne-turu' => ['fa-ship', '#e0f2fe', '#0284c7'], 'otel' => ['fa-hotel', '#fce7f3', '#db2777'], 'yurt-ici-tur' => ['fa-map-marked-alt', '#ede9fe', '#7c3aed'], 'yurt-disi-tur' => ['fa-globe', '#fef3c7', '#b45309'], 'default' => ['fa-box', '#f1f5f9', '#64748b']];
        ?>
        <div class="pt-grid">
            <?php $__currentLoopData = $productTypes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $pt): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <?php $s = old('product_type_id', $selectedProductType?->id) == $pt->id;
                    $c = strtolower(str_replace(' ', '-', $pt->code ?? ''));
                [$ico, $bg, $col] = $ptIcons[$c] ?? $ptIcons['default']; ?>
                <label class="pt-btn <?php echo e($s ? 'sel' : ''); ?>" id="pb_<?php echo e($pt->id); ?>">
                    <input type="radio" name="product_type_id" value="<?php echo e($pt->id); ?>" <?php echo e($s ? 'checked' : ''); ?>>
                    <div class="pt-icon" style="background:<?php echo e($bg); ?>;color:<?php echo e($col); ?>">
                        <?php if($pt->icon && str_starts_with($pt->icon, 'fa')): ?><i
                        class="fas <?php echo e($pt->icon); ?>"></i><?php elseif($pt->icon): ?><span><?php echo e($pt->icon); ?></span><?php else: ?><i
                            class="fas <?php echo e($ico); ?>"></i><?php endif; ?>
                    </div>
                    <span class="pt-label"><?php echo e($pt->name); ?></span>
                </label>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
        <?php $__errorArgs = ['product_type_id'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><div class="err mt-2"><?php echo e($message); ?></div><?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
    </div>
</div>
<?php /**PATH C:\xampp\htdocs\acente\resources\views/agency/sales/create/product_type.blade.php ENDPATH**/ ?>