254 lines
18 KiB
PHP
Executable File
254 lines
18 KiB
PHP
Executable File
<?php if (isset($component)) { $__componentOriginal8001c520f4b7dcb40a16cd3b411856d1 = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginal8001c520f4b7dcb40a16cd3b411856d1 = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'admin::components.layouts.index','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
|
|
<?php $component->withName('admin::layouts'); ?>
|
|
<?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([]); ?>
|
|
<?php $__env->slot('title', null, []); ?>
|
|
<?php echo app('translator')->get($warehouse->name); ?>
|
|
<?php $__env->endSlot(); ?>
|
|
|
|
<div class="flex gap-4 max-lg:flex-wrap">
|
|
<!-- Left Panel -->
|
|
<?php echo view_render_event('admin.settings.warehouses.view.left.before', ['warehouse' => $warehouse]); ?>
|
|
|
|
|
|
<div class="max-lg:min-w-full max-lg:max-w-full [&>div:last-child]:border-b-0 lg:sticky lg:top-[73px] flex min-w-[394px] max-w-[394px] flex-col self-start rounded-lg border border-gray-200 bg-white dark:border-gray-800 dark:bg-gray-900">
|
|
<!-- Product Information -->
|
|
<div class="flex w-full flex-col gap-2 border-b border-gray-200 p-4 dark:border-gray-800">
|
|
<!-- Breadcrumbs -->
|
|
<div class="flex items-center justify-between">
|
|
<?php if (isset($component)) { $__componentOriginal477735b45b070062c5df1d72c43d48f5 = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginal477735b45b070062c5df1d72c43d48f5 = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'admin::components.breadcrumbs.index','data' => ['name' => 'settings.warehouses.view','entity' => $warehouse]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
|
|
<?php $component->withName('admin::breadcrumbs'); ?>
|
|
<?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' => 'settings.warehouses.view','entity' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($warehouse)]); ?>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginal477735b45b070062c5df1d72c43d48f5)): ?>
|
|
<?php $attributes = $__attributesOriginal477735b45b070062c5df1d72c43d48f5; ?>
|
|
<?php unset($__attributesOriginal477735b45b070062c5df1d72c43d48f5); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginal477735b45b070062c5df1d72c43d48f5)): ?>
|
|
<?php $component = $__componentOriginal477735b45b070062c5df1d72c43d48f5; ?>
|
|
<?php unset($__componentOriginal477735b45b070062c5df1d72c43d48f5); ?>
|
|
<?php endif; ?>
|
|
</div>
|
|
|
|
<?php echo view_render_event('admin.settings.warehouses.view.left.tags.before', ['warehouse' => $warehouse]); ?>
|
|
|
|
|
|
<!-- Tags -->
|
|
<?php if (isset($component)) { $__componentOriginalf851be63606bb172aaceed482091e22c = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginalf851be63606bb172aaceed482091e22c = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'admin::components.tags.index','data' => ['attachEndpoint' => route('admin.settings.warehouses.tags.attach', $warehouse->id),'detachEndpoint' => route('admin.settings.warehouses.tags.detach', $warehouse->id),'addedTags' => $warehouse->tags]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
|
|
<?php $component->withName('admin::tags'); ?>
|
|
<?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(['attach-endpoint' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('admin.settings.warehouses.tags.attach', $warehouse->id)),'detach-endpoint' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('admin.settings.warehouses.tags.detach', $warehouse->id)),'added-tags' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($warehouse->tags)]); ?>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginalf851be63606bb172aaceed482091e22c)): ?>
|
|
<?php $attributes = $__attributesOriginalf851be63606bb172aaceed482091e22c; ?>
|
|
<?php unset($__attributesOriginalf851be63606bb172aaceed482091e22c); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginalf851be63606bb172aaceed482091e22c)): ?>
|
|
<?php $component = $__componentOriginalf851be63606bb172aaceed482091e22c; ?>
|
|
<?php unset($__componentOriginalf851be63606bb172aaceed482091e22c); ?>
|
|
<?php endif; ?>
|
|
|
|
<?php echo view_render_event('admin.settings.warehouses.view.left.tags.after', ['warehouse' => $warehouse]); ?>
|
|
|
|
|
|
<?php echo view_render_event('admin.settings.warehouses.view.left.title.before', ['warehouse' => $warehouse]); ?>
|
|
|
|
|
|
<!-- Title -->
|
|
<h3 class="text-lg font-bold dark:text-white">
|
|
<?php echo e($warehouse->name); ?>
|
|
|
|
</h3>
|
|
|
|
<?php echo view_render_event('admin.settings.warehouses.view.left.title.after', ['warehouse' => $warehouse]); ?>
|
|
|
|
|
|
<?php echo view_render_event('admin.settings.warehouses.view.left.actions.before', ['warehouse' => $warehouse]); ?>
|
|
|
|
|
|
<!-- Activity Actions -->
|
|
<div class="flex flex-wrap gap-2">
|
|
<?php echo view_render_event('admin.settings.warehouses.view.left.actions.file.before', ['warehouse' => $warehouse]); ?>
|
|
|
|
|
|
<!-- File Activity Action -->
|
|
<?php if (isset($component)) { $__componentOriginale7ed32b182ae3e00a04d1065a8a2ff86 = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginale7ed32b182ae3e00a04d1065a8a2ff86 = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'admin::components.activities.actions.file','data' => ['entity' => $warehouse,'entityControlName' => 'warehouse_id']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
|
|
<?php $component->withName('admin::activities.actions.file'); ?>
|
|
<?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(['entity' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($warehouse),'entity-control-name' => 'warehouse_id']); ?>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginale7ed32b182ae3e00a04d1065a8a2ff86)): ?>
|
|
<?php $attributes = $__attributesOriginale7ed32b182ae3e00a04d1065a8a2ff86; ?>
|
|
<?php unset($__attributesOriginale7ed32b182ae3e00a04d1065a8a2ff86); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginale7ed32b182ae3e00a04d1065a8a2ff86)): ?>
|
|
<?php $component = $__componentOriginale7ed32b182ae3e00a04d1065a8a2ff86; ?>
|
|
<?php unset($__componentOriginale7ed32b182ae3e00a04d1065a8a2ff86); ?>
|
|
<?php endif; ?>
|
|
|
|
<?php echo view_render_event('admin.settings.warehouses.view.left.actions.file.after', ['warehouse' => $warehouse]); ?>
|
|
|
|
|
|
<?php echo view_render_event('admin.settings.warehouses.view.left.actions.note.before', ['warehouse' => $warehouse]); ?>
|
|
|
|
|
|
<!-- Note Activity Action -->
|
|
<?php if (isset($component)) { $__componentOriginal8bdd483ce4bdd8186f2e725c84d6fd85 = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginal8bdd483ce4bdd8186f2e725c84d6fd85 = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'admin::components.activities.actions.note','data' => ['entity' => $warehouse,'entityControlName' => 'warehouse_id']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
|
|
<?php $component->withName('admin::activities.actions.note'); ?>
|
|
<?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(['entity' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($warehouse),'entity-control-name' => 'warehouse_id']); ?>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginal8bdd483ce4bdd8186f2e725c84d6fd85)): ?>
|
|
<?php $attributes = $__attributesOriginal8bdd483ce4bdd8186f2e725c84d6fd85; ?>
|
|
<?php unset($__attributesOriginal8bdd483ce4bdd8186f2e725c84d6fd85); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginal8bdd483ce4bdd8186f2e725c84d6fd85)): ?>
|
|
<?php $component = $__componentOriginal8bdd483ce4bdd8186f2e725c84d6fd85; ?>
|
|
<?php unset($__componentOriginal8bdd483ce4bdd8186f2e725c84d6fd85); ?>
|
|
<?php endif; ?>
|
|
|
|
<?php echo view_render_event('admin.settings.warehouses.view.left.actions.note.after', ['warehouse' => $warehouse]); ?>
|
|
|
|
|
|
<?php echo view_render_event('admin.settings.warehouses.view.left.actions.activity.before', ['warehouse' => $warehouse]); ?>
|
|
|
|
|
|
<!-- Activity Action -->
|
|
<?php if (isset($component)) { $__componentOriginalc39954a677175d0d994f44af8c16faaf = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginalc39954a677175d0d994f44af8c16faaf = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'admin::components.activities.actions.activity','data' => ['entity' => $warehouse,'entityControlName' => 'warehouse_id']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
|
|
<?php $component->withName('admin::activities.actions.activity'); ?>
|
|
<?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(['entity' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($warehouse),'entity-control-name' => 'warehouse_id']); ?>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginalc39954a677175d0d994f44af8c16faaf)): ?>
|
|
<?php $attributes = $__attributesOriginalc39954a677175d0d994f44af8c16faaf; ?>
|
|
<?php unset($__attributesOriginalc39954a677175d0d994f44af8c16faaf); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginalc39954a677175d0d994f44af8c16faaf)): ?>
|
|
<?php $component = $__componentOriginalc39954a677175d0d994f44af8c16faaf; ?>
|
|
<?php unset($__componentOriginalc39954a677175d0d994f44af8c16faaf); ?>
|
|
<?php endif; ?>
|
|
|
|
<?php echo view_render_event('admin.settings.warehouses.view.left.actions.activity.after', ['warehouse' => $warehouse]); ?>
|
|
|
|
</div>
|
|
|
|
<?php echo view_render_event('admin.settings.warehouses.view.left.actions.after', ['warehouse' => $warehouse]); ?>
|
|
|
|
</div>
|
|
|
|
<!-- General Information -->
|
|
<?php echo $__env->make('admin::settings.warehouses.view.general-information', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
|
|
|
<!-- Contact Information -->
|
|
<?php echo $__env->make('admin::settings.warehouses.view.contact-information', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
|
</div>
|
|
|
|
<?php echo view_render_event('admin.settings.warehouses.view.left.after', ['warehouse' => $warehouse]); ?>
|
|
|
|
|
|
<?php echo view_render_event('admin.settings.warehouses.view.right.before', ['warehouse' => $warehouse]); ?>
|
|
|
|
|
|
<!-- Right Panel -->
|
|
<div class="flex w-full flex-col gap-4 rounded-lg">
|
|
<?php echo view_render_event('admin.settings.warehouses.view.right.attributes.before', ['warehouse' => $warehouse]); ?>
|
|
|
|
|
|
<!-- Activity Navigation -->
|
|
<?php if (isset($component)) { $__componentOriginalbd04a9c4fb9c6cfa5ad6054d2fc88173 = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginalbd04a9c4fb9c6cfa5ad6054d2fc88173 = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'admin::components.activities.index','data' => ['endpoint' => route('admin.settings.warehouse.activities.index', $warehouse->id),'types' => [
|
|
['name' => 'all', 'label' => trans('admin::app.settings.warehouses.view.all')],
|
|
['name' => 'note', 'label' => trans('admin::app.settings.warehouses.view.notes')],
|
|
['name' => 'file', 'label' => trans('admin::app.settings.warehouses.view.files')],
|
|
['name' => 'system', 'label' => trans('admin::app.settings.warehouses.view.change-logs')],
|
|
],'extraTypes' => [
|
|
['name' => 'location', 'label' => trans('admin::app.settings.warehouses.view.location')],
|
|
]]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
|
|
<?php $component->withName('admin::activities'); ?>
|
|
<?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(['endpoint' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('admin.settings.warehouse.activities.index', $warehouse->id)),'types' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute([
|
|
['name' => 'all', 'label' => trans('admin::app.settings.warehouses.view.all')],
|
|
['name' => 'note', 'label' => trans('admin::app.settings.warehouses.view.notes')],
|
|
['name' => 'file', 'label' => trans('admin::app.settings.warehouses.view.files')],
|
|
['name' => 'system', 'label' => trans('admin::app.settings.warehouses.view.change-logs')],
|
|
]),'extra-types' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute([
|
|
['name' => 'location', 'label' => trans('admin::app.settings.warehouses.view.location')],
|
|
])]); ?>
|
|
<?php $__env->slot('location', null, []); ?>
|
|
<?php echo $__env->make('admin::settings.warehouses.view.locations', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
|
<?php $__env->endSlot(); ?>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginalbd04a9c4fb9c6cfa5ad6054d2fc88173)): ?>
|
|
<?php $attributes = $__attributesOriginalbd04a9c4fb9c6cfa5ad6054d2fc88173; ?>
|
|
<?php unset($__attributesOriginalbd04a9c4fb9c6cfa5ad6054d2fc88173); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginalbd04a9c4fb9c6cfa5ad6054d2fc88173)): ?>
|
|
<?php $component = $__componentOriginalbd04a9c4fb9c6cfa5ad6054d2fc88173; ?>
|
|
<?php unset($__componentOriginalbd04a9c4fb9c6cfa5ad6054d2fc88173); ?>
|
|
<?php endif; ?>
|
|
|
|
<?php echo view_render_event('admin.settings.warehouses.view.right.attributes.after', ['warehouse' => $warehouse]); ?>
|
|
|
|
</div>
|
|
|
|
<?php echo view_render_event('admin.warehouse.view.right.after', ['warehouse' => $warehouse]); ?>
|
|
|
|
</div>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginal8001c520f4b7dcb40a16cd3b411856d1)): ?>
|
|
<?php $attributes = $__attributesOriginal8001c520f4b7dcb40a16cd3b411856d1; ?>
|
|
<?php unset($__attributesOriginal8001c520f4b7dcb40a16cd3b411856d1); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginal8001c520f4b7dcb40a16cd3b411856d1)): ?>
|
|
<?php $component = $__componentOriginal8001c520f4b7dcb40a16cd3b411856d1; ?>
|
|
<?php unset($__componentOriginal8001c520f4b7dcb40a16cd3b411856d1); ?>
|
|
<?php endif; ?><?php /**PATH /var/www/html/packages/Webkul/Admin/src/Resources/views/settings/warehouses/view.blade.php ENDPATH**/ ?>
|