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/da8b8cd14400855990a71eeb2c260d14fccbfdd8.php
<?php

/**
 * @var Currency $model
 */

use App\Models\Currency;

?>

<?php $__env->startSection('title'); ?>
     <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.title','data' => ['title' => 'currencies.TitleEdit']]); ?>
<?php $component->withName('title'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['title' => 'currencies.TitleEdit']); ?>
<?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"=>"currencies.TitleEdit"], \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('currencies.update')); ?>">
                    <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($model->name); ?></h3></div>
                                <div class="card-body">
                                    <?php echo csrf_field(); ?>
                                    <input type="hidden" name="id" value="<?php echo e($model->id); ?>">
                                     <?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')).'']]); ?>
<?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')).'']); ?>
<?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('code')).'','name' => 'code','value' => ''.e((old('code')) ? old('code') : $model->code).'','error' => ''.e($errors->first('code')).'','required' => ''.e($validate->isRequired('code')).'']]); ?>
<?php $component->withName('input.form.text'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['label' => ''.e($model->getLabel('code')).'','name' => 'code','value' => ''.e((old('code')) ? old('code') : $model->code).'','error' => ''.e($errors->first('code')).'','required' => ''.e($validate->isRequired('code')).'']); ?>
<?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('rate')).'','name' => 'rate','value' => ''.e((old('rate')) ? old('rate') : $model->rate).'','error' => ''.e($errors->first('rate')).'','required' => ''.e($validate->isRequired('rate')).'']]); ?>
<?php $component->withName('input.form.text'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['label' => ''.e($model->getLabel('rate')).'','name' => 'rate','value' => ''.e((old('rate')) ? old('rate') : $model->rate).'','error' => ''.e($errors->first('rate')).'','required' => ''.e($validate->isRequired('rate')).'']); ?>
<?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('short_name')).'','name' => 'short_name','value' => ''.e((old('short_name')) ? old('short_name') : $model->short_name).'','error' => ''.e($errors->first('short_name')).'','required' => ''.e($validate->isRequired('short_name')).'']]); ?>
<?php $component->withName('input.form.text'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['label' => ''.e($model->getLabel('short_name')).'','name' => 'short_name','value' => ''.e((old('short_name')) ? old('short_name') : $model->short_name).'','error' => ''.e($errors->first('short_name')).'','required' => ''.e($validate->isRequired('short_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($model->getLabel('full_name')).'','name' => 'full_name','value' => ''.e((old('full_name')) ? old('full_name') : $model->full_name).'','error' => ''.e($errors->first('full_name')).'','required' => ''.e($validate->isRequired('full_name')).'','comment' => 'введите все формы слова например, «рубль,рубля,рублей»']]); ?>
<?php $component->withName('input.form.text'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['label' => ''.e($model->getLabel('full_name')).'','name' => 'full_name','value' => ''.e((old('full_name')) ? old('full_name') : $model->full_name).'','error' => ''.e($errors->first('full_name')).'','required' => ''.e($validate->isRequired('full_name')).'','comment' => 'введите все формы слова например, «рубль,рубля,рублей»']); ?>
<?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('subunit_full_name')).'','name' => 'subunit_full_name','value' => ''.e((old('subunit_full_name')) ? old('subunit_full_name') : $model->subunit_full_name).'','error' => ''.e($errors->first('subunit_full_name')).'','required' => ''.e($validate->isRequired('subunit_full_name')).'','comment' => 'введите все формы слова например, «копеек,копейка,копейки»']]); ?>
<?php $component->withName('input.form.text'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['label' => ''.e($model->getLabel('subunit_full_name')).'','name' => 'subunit_full_name','value' => ''.e((old('subunit_full_name')) ? old('subunit_full_name') : $model->subunit_full_name).'','error' => ''.e($errors->first('subunit_full_name')).'','required' => ''.e($validate->isRequired('subunit_full_name')).'','comment' => 'введите все формы слова например, «копеек,копейка,копейки»']); ?>
<?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('symbol')).'','name' => 'symbol','value' => ''.e((old('symbol')) ? old('symbol') : $model->symbol).'','error' => ''.e($errors->first('symbol')).'','required' => ''.e($validate->isRequired('symbol')).'']]); ?>
<?php $component->withName('input.form.text'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['label' => ''.e($model->getLabel('symbol')).'','name' => 'symbol','value' => ''.e((old('symbol')) ? old('symbol') : $model->symbol).'','error' => ''.e($errors->first('symbol')).'','required' => ''.e($validate->isRequired('symbol')).'']); ?>
<?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('currencies.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('currencies.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>
                        <?php if(sizeof($history)>0): ?>
                            <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('currencies.history'); ?></h3></div>
                                    <div class="card-body">
                                        <table class="table table-hover">
                                            <thead>
                                            <tr>
                                                <th><?php echo app('translator')->get('currencies.change_date'); ?></th>
                                                <th><?php echo app('translator')->get('currencies.rate'); ?></th>
                                            </tr>
                                            </thead>
                                            <tbody>
                                            <?php $__currentLoopData = $history; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $h): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <tr>
                                                    <td><?= date('d.m.Y H:i:s', strtotime($h->created_at)) ?></td>
                                                    <td><?= $h->rate ?></td>
                                                </tr>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                        <?php endif; ?>
                    </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/currencies/edit.blade.php ENDPATH**/ ?>