File: /var/www/ipsremont-demo/storage/framework/views/37744fbd8ec7bf8731f309e511cbdb3535b99d89.php
<?php
/** @var array $documents */
use App\User;
use Illuminate\Support\Facades\Auth;
/** @var User $user */
$user = Auth::user();
$isService = $user->isService();
$columns = [
'fields' => [
'name' => [
'displayName' => 'reporting.name',
'field' => 'name',
'sort' => '0',
'class' => 'text-left',
],
'startDate' => [
'displayName' => 'reporting.startDate',
'field' => 'startDate',
'sort' => '0',
'class' => 'text-left',
],
'endDate' => [
'displayName' => 'reporting.endDate',
'field' => 'endDate',
'sort' => '0',
'class' => 'text-left',
],
'service' => [
'displayName' => 'reporting.service',
'field' => 'service',
'sort' => '0',
'class' => 'text-left',
],
'actions' => [
'displayName' => '',
'field' => 'adtion',
'sort' => '0',
],
],
];
?>
<table class="table table-hover parts-table">
<?php echo $__env->make('components.table-header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<tbody>
<?php if(!empty($documents)): ?>
<?php $__currentLoopData = $documents; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $document): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr class="font-size-lg">
<td>
<div class="d-flex flex-column flex-grow-1 my-lg-0 my-2 pr-3"><?php echo e($document['name']); ?></div>
</td>
<td>
<div class="d-flex flex-column flex-grow-1 my-lg-0 my-2 pr-3"><?php echo e($document['startDate']); ?></div>
</td>
<td>
<div class="d-flex flex-column flex-grow-1 my-lg-0 my-2 pr-3"><?php echo e($document['endDate']); ?></div>
</td>
<td>
<div class="d-flex flex-column flex-grow-1 my-lg-0 my-2 pr-3"><?php echo e($document['service']); ?></div>
</td>
<td class="d-flex justify-content-end">
<?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.button.action','data' => ['title' => 'reporting.download','link' => 'reporting.download','icon' => 'fas fa-download','params' => ['name' => $document['name']]]]); ?>
<?php $component->withName('button.action'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['title' => 'reporting.download','link' => 'reporting.download','icon' => 'fas fa-download','params' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(['name' => $document['name']])]); ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php else: ?>
<tr>
<td align="center" colspan="<?php echo e(count($columns['fields'])); ?>"><?php echo app('translator')->get('reporting.notFound'); ?></td>
</tr>
<?php endif; ?>
</tbody>
</table>
<?php /**PATH /var/www/ipsremont-demo/resources/views/repairs/_reporting_table.blade.php ENDPATH**/ ?>