99 lines
7.7 KiB
PHP
Executable File
99 lines
7.7 KiB
PHP
Executable File
<?php echo view_render_event('admin.products.view.attributes.before', ['product' => $product]); ?>
|
|
|
|
|
|
<div class="flex w-full flex-col gap-4 border-b border-gray-200 p-4 dark:border-gray-800 dark:text-white">
|
|
<?php if (isset($component)) { $__componentOriginale6717d929d3edd1e7d9927d6c11ccc02 = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginale6717d929d3edd1e7d9927d6c11ccc02 = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'admin::components.accordion.index','data' => ['class' => 'select-none !border-none']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
|
|
<?php $component->withName('admin::accordion'); ?>
|
|
<?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(['class' => 'select-none !border-none']); ?>
|
|
<?php $__env->slot('header', null, ['class' => '!p-0']); ?>
|
|
<h4 class="font-semibold dark:text-white">
|
|
<?php echo app('translator')->get('admin::app.products.view.attributes.about-product'); ?>
|
|
</h4>
|
|
<?php $__env->endSlot(); ?>
|
|
|
|
<?php $__env->slot('content', null, ['class' => 'mt-4 !px-0 !pb-0']); ?>
|
|
<?php echo view_render_event('admin.products.view.attributes.view.before', ['product' => $product]); ?>
|
|
|
|
|
|
<!-- Attributes Listing -->
|
|
<div>
|
|
<!-- Default Attributes -->
|
|
<?php if (isset($component)) { $__componentOriginalfedffa6c3d6e1212dbb369a6b5fa34f0 = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginalfedffa6c3d6e1212dbb369a6b5fa34f0 = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'admin::components.attributes.view','data' => ['customAttributes' => app('Webkul\Attribute\Repositories\AttributeRepository')->findWhere([
|
|
'entity_type' => 'products',
|
|
['code', 'IN', ['SKU', 'price', 'quantity', 'status']]
|
|
])->sortBy('sort_order'),'entity' => $product,'url' => route('admin.products.update', $product->id),'allowEdit' => true]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
|
|
<?php $component->withName('admin::attributes.view'); ?>
|
|
<?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(['custom-attributes' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(app('Webkul\Attribute\Repositories\AttributeRepository')->findWhere([
|
|
'entity_type' => 'products',
|
|
['code', 'IN', ['SKU', 'price', 'quantity', 'status']]
|
|
])->sortBy('sort_order')),'entity' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($product),'url' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('admin.products.update', $product->id)),'allow-edit' => true]); ?>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginalfedffa6c3d6e1212dbb369a6b5fa34f0)): ?>
|
|
<?php $attributes = $__attributesOriginalfedffa6c3d6e1212dbb369a6b5fa34f0; ?>
|
|
<?php unset($__attributesOriginalfedffa6c3d6e1212dbb369a6b5fa34f0); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginalfedffa6c3d6e1212dbb369a6b5fa34f0)): ?>
|
|
<?php $component = $__componentOriginalfedffa6c3d6e1212dbb369a6b5fa34f0; ?>
|
|
<?php unset($__componentOriginalfedffa6c3d6e1212dbb369a6b5fa34f0); ?>
|
|
<?php endif; ?>
|
|
|
|
<!-- Custom Attributes -->
|
|
<?php if (isset($component)) { $__componentOriginalfedffa6c3d6e1212dbb369a6b5fa34f0 = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginalfedffa6c3d6e1212dbb369a6b5fa34f0 = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'admin::components.attributes.view','data' => ['customAttributes' => app('Webkul\Attribute\Repositories\AttributeRepository')->findWhere([
|
|
'entity_type' => 'products',
|
|
['code', 'NOTIN', ['SKU', 'price', 'quantity', 'status']]
|
|
])->sortBy('sort_order'),'entity' => $product,'url' => route('admin.products.update', $product->id),'allowEdit' => true]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
|
|
<?php $component->withName('admin::attributes.view'); ?>
|
|
<?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(['custom-attributes' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(app('Webkul\Attribute\Repositories\AttributeRepository')->findWhere([
|
|
'entity_type' => 'products',
|
|
['code', 'NOTIN', ['SKU', 'price', 'quantity', 'status']]
|
|
])->sortBy('sort_order')),'entity' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($product),'url' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('admin.products.update', $product->id)),'allow-edit' => true]); ?>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginalfedffa6c3d6e1212dbb369a6b5fa34f0)): ?>
|
|
<?php $attributes = $__attributesOriginalfedffa6c3d6e1212dbb369a6b5fa34f0; ?>
|
|
<?php unset($__attributesOriginalfedffa6c3d6e1212dbb369a6b5fa34f0); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginalfedffa6c3d6e1212dbb369a6b5fa34f0)): ?>
|
|
<?php $component = $__componentOriginalfedffa6c3d6e1212dbb369a6b5fa34f0; ?>
|
|
<?php unset($__componentOriginalfedffa6c3d6e1212dbb369a6b5fa34f0); ?>
|
|
<?php endif; ?>
|
|
</div>
|
|
|
|
<?php echo view_render_event('admin.products.view.attributes.view.after', ['product' => $product]); ?>
|
|
|
|
<?php $__env->endSlot(); ?>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginale6717d929d3edd1e7d9927d6c11ccc02)): ?>
|
|
<?php $attributes = $__attributesOriginale6717d929d3edd1e7d9927d6c11ccc02; ?>
|
|
<?php unset($__attributesOriginale6717d929d3edd1e7d9927d6c11ccc02); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginale6717d929d3edd1e7d9927d6c11ccc02)): ?>
|
|
<?php $component = $__componentOriginale6717d929d3edd1e7d9927d6c11ccc02; ?>
|
|
<?php unset($__componentOriginale6717d929d3edd1e7d9927d6c11ccc02); ?>
|
|
<?php endif; ?>
|
|
</div>
|
|
|
|
<?php echo view_render_event('admin.products.view.attributes.before', ['product' => $product]); ?><?php /**PATH /var/www/html/packages/Webkul/Admin/src/Resources/views/products/view/attributes.blade.php ENDPATH**/ ?>
|