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/1bc8e3fa47220e3f10b066242e7714988ac8bfe9.php
<?php use App\Models\Region; ?>
<?php
/**
 * @var Region $model
 */
?>

<?php $__env->startSection('title'); ?>
     <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.title','data' => ['title' => 'regions.TitleCreate']]); ?>
<?php $component->withName('title'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['title' => 'regions.TitleCreate']); ?>
<?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' => 'regions.TitleCreate'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <div class="d-flex flex-column-fluid">
            <div class="container">
                <form class="form" method="POST" action="<?php echo e(route('regions.store')); ?>">
                    <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 app('translator')->get('regions.TitleCreate'); ?></h3>
                                </div>
                                <div class="card-body">
                                    <?php echo csrf_field(); ?>

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

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

                                    <?php if(!empty($branches)): ?>
                                        <?php echo $__env->make('components.select', [
                                             'name' => 'branches',
                                             'options' => $branches,
                                             'value' => old('branches') ? old('branches') : [],
                                             'placeholder' => false,
                                             'search' => true,
                                             'multiple' => true,
                                             'class' => 'select-two',
                                             'error' => $errors->first('branches'),
                                             'model' => $model,
                                        ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                    <?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('regions.index')).'']]); ?>
<?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('regions.index')).'']); ?>
                                        <?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>
                            </div>
                        </div>
                    </div>
                </form>
            </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/regions/create.blade.php ENDPATH**/ ?>