add: full multi-tenancy control

This commit is contained in:
Cauê Faleiros
2026-02-02 15:31:15 -03:00
commit c6ec92802b
1711 changed files with 258106 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<?php $selectedOption = old($attribute->code) ?: $value ?>
<input
type="hidden"
name="<?php echo e($attribute->code); ?>"
value="0"
>
<label class="relative inline-flex cursor-pointer items-center">
<input
type="checkbox"
name="<?php echo e($attribute->code); ?>"
value="1"
id="<?php echo e($attribute->code); ?>"
class="peer sr-only"
<?php echo e($selectedOption ? 'checked' : ''); ?>
>
<div class="peer h-5 w-9 cursor-pointer rounded-full bg-gray-200 after:absolute after:top-0.5 after:h-4 after:w-4 after:rounded-full after:border after:border-gray-300 after:bg-white after:transition-all after:content-[''] peer-checked:bg-brandColor peer-checked:after:border-white peer-focus:outline-none peer-focus:ring-blue-300 dark:bg-gray-800 dark:after:border-white dark:after:bg-white dark:peer-checked:bg-gray-950 after:ltr:left-0.5 peer-checked:after:ltr:translate-x-full after:rtl:right-0.5 peer-checked:after:rtl:-translate-x-full"></div>
</label>
<?php /**PATH /var/www/html/packages/Webkul/Admin/src/Resources/views/components/attributes/edit/boolean.blade.php ENDPATH**/ ?>