File: /var/www/ipsremont-demo/storage/framework/views/607f023d10bb44fec77533244c335780760d9ed1.php
<?php use Illuminate\Support\Facades\Auth; ?>
<?php $__env->startSection('title'); ?>
<?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.title','data' => ['title' => 'reconciliation.reconciliation']]); ?>
<?php $component->withName('title'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['title' => 'reconciliation.reconciliation']); ?> <?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"=> __('reconciliation.reconciliation')], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<div class="d-flex flex-column-fluid">
<div class="container">
<?php if(!empty($error)): ?>
<div class="col-lg-6 сol-sm-12">
<div class="card card-custom bg-danger gutter-b">
<div class="card-header border-0">
<div class="card-title">
<span class="card-icon">
<i class="fas fa-exclamation-triangle text-white"></i>
</span>
<h3 class="card-label text-white"><?php echo app('translator')->get('services.errorTitle'); ?></h3>
</div>
</div>
<div class="separator separator-solid separator-white opacity-20"></div>
<div class="card-body text-white"><?php echo $error; ?></div>
</div>
</div>
<?php endif; ?>
<form class="form" method="POST" action="<?php echo e(route('reconciliation.formAct')); ?>">
<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('reconciliation.choose_period'); ?></h3>
</div>
<div class="card-body">
<?php echo csrf_field(); ?>
<?php if(Auth::user()->isManager()): ?>
<?php if(can(\App\Models\Permission::branchesAll)): ?>
<?php echo $__env->make('components.select', [
"name"=>"branch_id",
"options"=>$branches,
"value"=>old('branch_id') ?? Auth::user()->getBranchIds(),
"placeholder"=>__('orders.selectBranch'),
"search"=>false,
"class"=>"select-two order-branches",
"error"=>"<?php echo e($errors->first('branch_id')); ?>",
], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php echo $__env->make('components.select', [
"name"=>"service_id",
"options"=>$services,
"value"=>old('service_id'),
"placeholder"=>__('orders.selectService'),
"search"=>false,
"multiple"=>false,
"class"=>"select-two order-service",
"error"=>$errors->first('service_id'),
"ajax"=>route('orders.getServices'),
"parent"=>"branch_id",
"preloadChild" =>"address_id"
], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php else: ?>
<?php echo $__env->make('components.select', [
"name"=>"service_id",
"options"=>$services,
"value"=>old('service_id'),
"placeholder"=>__('orders.selectService'),
"search"=>false,
"multiple"=>false,
"class"=>"select-two order-service",
"error"=>$errors->first('service_id'),
"preloadChild" =>"address_id"
], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endif; ?>
<?php else: ?>
<?php endif; ?>
<?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.input.date-range','data' => ['placeholder' => ''.e(__('reconciliation.dates')).'','name' => 'dates','value' => ''.e(request()->dates).'','error' => ''.e($errors->first('dates')).'','filter' => '1','required' => '0']]); ?>
<?php $component->withName('input.date-range'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['placeholder' => ''.e(__('reconciliation.dates')).'','name' => 'dates','value' => ''.e(request()->dates).'','error' => ''.e($errors->first('dates')).'','filter' => '1','required' => '0']); ?>
<?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('reconciliation.form_act'); ?>
<?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('reconciliation.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('reconciliation.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/reconciliation/index.blade.php ENDPATH**/ ?>