add: full multi-tenancy control
This commit is contained in:
29
storage/framework/views/abd5fd79a831966c71bb278a11a52c2b.php
Executable file
29
storage/framework/views/abd5fd79a831966c71bb278a11a52c2b.php
Executable file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
$options = $attribute->lookup_type
|
||||
? app('Webkul\Attribute\Repositories\AttributeRepository')->getLookUpOptions($attribute->lookup_type)
|
||||
: $attribute->options()->orderBy('sort_order')->get();
|
||||
|
||||
$selectedOption = old($attribute->code) ?: $value;
|
||||
?>
|
||||
|
||||
<?php if (isset($component)) { $__componentOriginal589ec82df82ed7d6168326e51e5a3006 = $component; } ?>
|
||||
<?php if (isset($attributes)) { $__attributesOriginal589ec82df82ed7d6168326e51e5a3006 = $attributes; } ?>
|
||||
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'admin::components.form.control-group.controls.inline.multiselect','data' => [':name' => '\''.e($attribute->code).'\'',':value' => '\''.e($selectedOption).'\'','data' => $options,'rules' => 'required','position' => 'left','label' => $attribute->name,':errors' => 'errors','placeholder' => $attribute->name,'url' => $url,'allowEdit' => $allowEdit]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
|
||||
<?php $component->withName('admin::form.control-group.controls.inline.multiselect'); ?>
|
||||
<?php if ($component->shouldRender()): ?>
|
||||
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
||||
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
|
||||
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
|
||||
<?php endif; ?>
|
||||
<?php $component->withAttributes([':name' => '\''.e($attribute->code).'\'',':value' => '\''.e($selectedOption).'\'','data' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($options),'rules' => 'required','position' => 'left','label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($attribute->name),':errors' => 'errors','placeholder' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($attribute->name),'url' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($url),'allow-edit' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($allowEdit)]); ?>
|
||||
<?php echo $__env->renderComponent(); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__attributesOriginal589ec82df82ed7d6168326e51e5a3006)): ?>
|
||||
<?php $attributes = $__attributesOriginal589ec82df82ed7d6168326e51e5a3006; ?>
|
||||
<?php unset($__attributesOriginal589ec82df82ed7d6168326e51e5a3006); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__componentOriginal589ec82df82ed7d6168326e51e5a3006)): ?>
|
||||
<?php $component = $__componentOriginal589ec82df82ed7d6168326e51e5a3006; ?>
|
||||
<?php unset($__componentOriginal589ec82df82ed7d6168326e51e5a3006); ?>
|
||||
<?php endif; ?>
|
||||
<?php /**PATH /var/www/html/packages/Webkul/Admin/src/Resources/views/components/attributes/view/multiselect.blade.php ENDPATH**/ ?>
|
||||
Reference in New Issue
Block a user