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/6f67fea17ff4787f54c33c940ed88f4818b9340f.php
<?php use App\Models\Repair\Repair; ?>
<?php if(!empty($repairs)): ?>
    <div class="card card-custom card-transparent gutter-b">
        <div class="card-body p-0">
            <div class="card card-custom">
                <div class="card-header">
                    <div class="card-title">
                        <h3 class="card-label"><?php echo app('translator')->get('dashboard.freshRepairs'); ?></h3>
                    </div>
                </div>
                <div class="card-body">
                    <table class="table table-hover">
                        <?php echo $__env->make('components.table-header', ['columns' => $repairsColumns], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                        <tbody>
                        <?php if(sizeof($repairs)>0): ?>
                            <?php $__currentLoopData = $repairs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $d): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <?php /** @var Repair $d */ ?>
                                <tr>
                                    <td>
                                        <a href="<?php echo e(route('repairs.show', $d->id)); ?>" class="text-primary font-weight-bolder font-size-lg"><?php echo e($d->getNumber()); ?></a>
                                    </td>

                                    <?php if(\Illuminate\Support\Facades\Auth::user()->isService()): ?>
                                        <td><?php echo e($d->getInnerNbr()); ?></td>
                                    <?php endif; ?>

                                    <td>
                                        <?php $__currentLoopData = $d->getOrdersNumbers(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $name): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <a href="<?php echo e(route('orders.show', $key)); ?>" class="text-primary font-weight-bolder"><?php echo e($name); ?></a>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </td>

                                    <?php if(can(\App\Models\Permission::branchesAll)): ?>
                                        <td><?php echo e($d->getBranch()); ?></td>
                                    <?php endif; ?>
                                    <?php if(\Illuminate\Support\Facades\Auth::user()->isManager()): ?>
                                        <td><?php echo e($d->getService()); ?></td>
                                    <?php endif; ?>

                                    <td><?php echo e($d->getSerial()); ?></td>

                                    <td><?php echo e($d->getDevice()->getSerialName()); ?></td>
                                    <td><?php echo $d->status()->getColoredName(); ?></td>
                                    

                                    <td><?php echo e($d->created_at->format(config('crud.formatDate'))); ?></td>
                                    <td><?php echo e($d->closed_at?$d->closed_at->format(config('crud.formatDate')):''); ?></td>

                                    <td class="d-flex justify-content-end">

                                        <?php if($canActions && $d->isAllowEdit()): ?>
                                             <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.edit-btn','data' => ['title' => 'repairs.titleBtnEdit','link' => 'repairs.edit','id' => ''.e($d->id).'']]); ?>
<?php $component->withName('edit-btn'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['title' => 'repairs.titleBtnEdit','link' => 'repairs.edit','id' => ''.e($d->id).'']); ?>
                                             <?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?> 
                                        <?php endif; ?>

                                        <?php if(isset($d->acttc)): ?>
                                             <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.button.action','data' => ['title' => 'acttc.show','link' => 'acttc.show','icon' => 'fas fa-file-invoice','id' => ''.e($d->acttc->getId()).'']]); ?>
<?php $component->withName('button.action'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['title' => 'acttc.show','link' => 'acttc.show','icon' => 'fas fa-file-invoice','id' => ''.e($d->acttc->getId()).'']); ?>
                                             <?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?> 
                                        <?php endif; ?>


                                         <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.btn-show','data' => ['title' => 'repairs.titleBtnShow','link' => 'repairs.show','id' => ''.e($d->id).'','class' => '']]); ?>
<?php $component->withName('btn-show'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['title' => 'repairs.titleBtnShow','link' => 'repairs.show','id' => ''.e($d->id).'','class' => '']); ?>
                                         <?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(sizeof($repairsColumns['fields'])); ?>">
                                    <?php echo app('translator')->get('repairs.notFound'); ?>
                                </td>
                            </tr>
                        <?php endif; ?>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
<?php endif; ?>
<?php /**PATH /var/www/ipsremont-demo/resources/views/dashboard/_repairs.blade.php ENDPATH**/ ?>