HEX
Server: nginx/1.18.0
System: Linux test-ipsremont 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
User: ips (1000)
PHP: 8.0.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/ipsremont-demo/storage/framework/views/8bc78799b2e1b2f1ec543cc29f947a1bf5a3a74b.php
<?php

/**
 * @var Branch $data
 * @var Collection|Region $regions
 */

use App\Models\Branch;
use App\Models\Region;
use Illuminate\Database\Eloquent\Collection;

$branch = $data;

?>

<?php $__env->startSection('title'); ?>
     <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.title','data' => ['title' => 'admins.titleEditBranches']]); ?>
<?php $component->withName('title'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['title' => 'admins.titleEditBranches']); ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?> 
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
    <div class="content d-flex flex-column flex-column-fluid" id="kt_content">
        <?php echo $__env->make('layouts.subheader', ['pageTitle' => 'admins.titleEditBranches'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <div class="d-flex flex-column-fluid">
            <div class="container">
                <div class="row">
                    <div class="col-lg-6 сol-sm-12">
                        <div class="card card-custom gutter-b">
                            <div class="card-header">
                                <h3 class="card-title"><?php echo e($branch->name); ?></h3>
                            </div>
                            <form class="form" method="POST" action="<?php echo e(route('branches.update')); ?>">
                                <div class="card-body">
                                    <?php echo csrf_field(); ?>
                                    <input type="hidden" name="id" value="<?php echo e($branch->id); ?>">
                                     <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.input.form.text','data' => ['label' => ''.e($branch->getLabel('external_id')).'','name' => 'external_id','value' => ''.e(old('external_id') ?: $branch->external_id).'','error' => ''.e($errors->first('external_id')).'','required' => ''.e($validate->isRequired('external_id')).'']]); ?>
<?php $component->withName('input.form.text'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['label' => ''.e($branch->getLabel('external_id')).'','name' => 'external_id','value' => ''.e(old('external_id') ?: $branch->external_id).'','error' => ''.e($errors->first('external_id')).'','required' => ''.e($validate->isRequired('external_id')).'']); ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?> 

                                     <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.input.form.text','data' => ['label' => ''.e($branch->getLabel('name')).'','name' => 'name','value' => ''.e(old('name') ?: $branch->name).'','error' => ''.e($errors->first('name')).'','required' => ''.e($validate->isRequired('name')).'']]); ?>
<?php $component->withName('input.form.text'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['label' => ''.e($branch->getLabel('name')).'','name' => 'name','value' => ''.e(old('name') ?: $branch->name).'','error' => ''.e($errors->first('name')).'','required' => ''.e($validate->isRequired('name')).'']); ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?> 

                                     <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.input.form.text','data' => ['label' => ''.e($branch->getLabel('description')).'','name' => 'description','value' => ''.e(old('description') ?: $branch->description).'','error' => ''.e($errors->first('description')).'','required' => ''.e($validate->isRequired('description')).'']]); ?>
<?php $component->withName('input.form.text'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['label' => ''.e($branch->getLabel('description')).'','name' => 'description','value' => ''.e(old('description') ?: $branch->description).'','error' => ''.e($errors->first('description')).'','required' => ''.e($validate->isRequired('description')).'']); ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?> 

                                     <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.input.form.text','data' => ['label' => ''.e($branch->getLabel('address')).'','name' => 'address','value' => ''.e(old('address') ?: $branch->address).'','error' => ''.e($errors->first('address')).'','required' => ''.e($validate->isRequired('address')).'']]); ?>
<?php $component->withName('input.form.text'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['label' => ''.e($branch->getLabel('address')).'','name' => 'address','value' => ''.e(old('address') ?: $branch->address).'','error' => ''.e($errors->first('address')).'','required' => ''.e($validate->isRequired('address')).'']); ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?> 

                                    <?php if(!empty($regions)): ?>
                                        <?php echo $__env->make('components.select', [
                                            'name' => 'region_id',
                                            'options' => $regions,
                                            'value' => old('region_id') ?: $branch->region_id,
                                            'placeholder' => __('branches.region'),
                                            'class' => 'select-two',
                                            'error' => $errors->first('region_id'),
                                            'model' => $branch,
                                        ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                    <?php endif; ?>

                                     <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.input.form.checkbox','data' => ['label' => ''.e($branch->getLabel('central')).'','name' => 'central','value' => '1','checked' => ''.e($branch->central).'','error' => ''.e($errors->first('central')).'','required' => ''.e($validate->isRequired('central')).'']]); ?>
<?php $component->withName('input.form.checkbox'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['label' => ''.e($branch->getLabel('central')).'','name' => 'central','value' => '1','checked' => ''.e($branch->central).'','error' => ''.e($errors->first('central')).'','required' => ''.e($validate->isRequired('central')).'']); ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?> 

                                     <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.input.form.checkbox','data' => ['label' => ''.e($branch->getLabel('display')).'','name' => 'display','value' => '1','checked' => ''.e($branch->display).'','error' => ''.e($errors->first('display')).'']]); ?>
<?php $component->withName('input.form.checkbox'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['label' => ''.e($branch->getLabel('display')).'','name' => 'display','value' => '1','checked' => ''.e($branch->display).'','error' => ''.e($errors->first('display')).'']); ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?> 

                                </div>
                                <div class="card-footer">
                                     <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.button','data' => ['id' => 'form-submit']]); ?>
<?php $component->withName('button'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['id' => 'form-submit']); ?>
                                        <i class="fas fa-check-circle"></i>
                                        <?php echo app('translator')->get('admins.btnSave'); ?>
                                     <?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?> 

                                     <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.button-cancel','data' => ['class' => 'btn-secondary float-right','href' => ''.e(route('branches')).'']]); ?>
<?php $component->withName('button-cancel'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['class' => 'btn-secondary float-right','href' => ''.e(route('branches')).'']); ?>
                                        <?php echo app('translator')->get('admins.btnBack'); ?>
                                     <?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?> 
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/ipsremont-demo/resources/views/branches/edit.blade.php ENDPATH**/ ?>