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

/**
 * @var array $dates
 * @var bool $warning
 * @var array $documents
 */

$disabled = $warning ? 'disabled' : '';
?>


<?php $__env->startSection('title'); ?>
     <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.title','data' => ['title' => 'repairs.reporting']]); ?>
<?php $component->withName('title'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['title' => 'repairs.reporting']); ?> <?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' => __('repairs.reporting')], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <div class="d-flex flex-column-fluid flex-grow-0">
            <div class="container">
                <form class="form" method="POST" action="<?php echo e(route('repairs.formReport')); ?>">
                    <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('repairs.choose_periods'); ?></h3>
                                </div>
                                <div class="card-body">
                                    <?php echo csrf_field(); ?>
                                    <?php if($warning): ?>
                                        <?php echo app('translator')->get('repairs.reporting_warning'); ?>
                                    <?php else: ?>
                                         <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.input.date-range','data' => ['placeholder' => ''.e(__('repairs.dates')).'','name' => 'dates','value' => ''.e(request()->dates).'','error' => ''.e($errors->first('dates')).'','filter' => '1','required' => '0','maxDate' => ''.e(date('Y-m-d',strtotime('-1 day'))).'']]); ?>
<?php $component->withName('input.date-range'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['placeholder' => ''.e(__('repairs.dates')).'','name' => 'dates','value' => ''.e(request()->dates).'','error' => ''.e($errors->first('dates')).'','filter' => '1','required' => '0','maxDate' => ''.e(date('Y-m-d',strtotime('-1 day'))).'']); ?>
                                         <?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?> 
                                    <?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','disabled' => ''.e($disabled).'']]); ?>
<?php $component->withName('button'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['id' => 'form-submit','disabled' => ''.e($disabled).'']); ?>
                                        <i class="fas fa-check-circle"></i>
                                        <?php echo app('translator')->get('repairs.form_report'); ?>
                                     <?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('repairs.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('repairs.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>
        <?php if(!empty($documents)): ?>
            <div class="d-flex flex-column-fluid">
                <div class="container">
                    <div class="card card-custom card-transparent">
                        <div class="card-body p-0">
                            <div class="card card-custom">
                                <div class="card-body">
                                    <?php echo $__env->make('repairs._reporting_table', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        <?php endif; ?>
    </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/repairs/reporting.blade.php ENDPATH**/ ?>