<tbody>
    <?php if($table->getPaginator()->isEmpty()): ?>
        <tr<?php echo e(html_classes($table->getTrClasses())); ?>>
            <td<?php echo e(html_classes($table->getTdClasses(), 'text-center', 'p-3')); ?><?php echo e(html_attributes($table->getColumnsCount() > 1 ? ['colspan' => $table->getColumnsCount()] : null)); ?> scope="row">
                <span class="text-info">
                    <?php echo config('laravel-table.icon.info'); ?>

                </span>
                <?php echo app('translator')->get('No results were found.'); ?>
            </td>
        </tr>
    <?php else: ?>
        <?php $__currentLoopData = $table->getPaginator(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $model): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <tr<?php echo e(html_classes($table->getTrClasses(), $model->conditionnal_classes, $model->disabled_classes)); ?>>
                <?php $__currentLoopData = $table->getColumns(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $columnKey => $column): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php
                        $value = $model->{$column->getDbField()};
                        $customValue = $column->getCustomValueClosure() ? ($column->getCustomValueClosure())($model) : null;
                        $html = $column->getCustomHtmlClosure() ? ($column->getCustomHtmlClosure())($model) : null;
                        $url = $column->getUrlClosure()
                            ? ($column->getUrlClosure())($model)
                            : ($column->getUrl() === '__VALUE__' ? ($customValue ? $customValue : $value) : $column->getUrl());
                        $showPrepend = $column->getPrependedHtml() && (($customValue || $value) || $column->shouldForcePrependedHtmlDisplay());
                        $showAppend = $column->getAppendedHtml() && (($customValue || $value) || $column->shouldForceAppendedHtmlDisplay());
                        $showLink = $url && ($customValue || $value || $showPrepend || $showAppend);
                        $showButton = $column->getButtonClasses() && ($value || $customValue || $showPrepend || $showAppend);
                    ?>
                    <td<?php echo e(html_classes($table->getTdClasses(), $column->getClasses())); ?><?php echo e(html_attributes($columnKey === 0 ? ['scope' => 'row'] : null)); ?>>
                        
                        <?php if($html): ?>
                            <?php echo $html; ?>

                        <?php else: ?>
                            
                            <?php if($showLink): ?>
                                <a href="<?php echo e($url); ?>" title="<?php echo e($customValue ? $customValue : $value); ?>">
                            <?php endif; ?>
                            
                            <?php if($showButton): ?>
                                <button<?php echo e(html_classes(
                                    $column->getButtonClasses(),
                                    $value ? Str::slug(strip_tags($value), '-') : null,
                                    $customValue ? Str::slug(strip_tags($customValue), '-') : null
                                )); ?>>
                            <?php endif; ?>
                                
                                <?php if($showPrepend): ?>
                                    <?php echo $column->getPrependedHtml(); ?>

                                <?php endif; ?>
                                
                                <?php if($customValue): ?>
                                    <?php echo e($customValue); ?>

                                
                                <?php elseif($column->getStringLimit()): ?>
                                    <?php echo e(Str::limit(strip_tags($value), $column->getStringLimit())); ?>

                                
                                <?php elseif($column->getDateTimeFormat()): ?>
                                    <?php echo e($value
                                        ? \Carbon\Carbon::parse($value)->format($column->getDateTimeFormat())
                                        : null); ?>

                                
                                <?php else: ?>
                                    <?php echo e($value); ?>

                                <?php endif; ?>
                                
                                <?php if($showAppend): ?>
                                    <?php echo $column->getAppendedHtml(); ?>

                                <?php endif; ?>
                            
                            <?php if($showButton): ?>
                                </button>
                            <?php endif; ?>
                            
                            <?php if($showLink): ?>
                                </a>
                            <?php endif; ?>
                        <?php endif; ?>
                    </td>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                
                <?php if(($table->isRouteDefined('edit') || $table->isRouteDefined('destroy') || $table->isRouteDefined('show'))): ?>
                    <td<?php echo e(html_classes($table->getTdClasses(), 'text-right')); ?>>
                        <?php if(! $model->disabled_classes): ?>
                            <div class="d-flex justify-content-end">
                                <?php echo $__env->make('laravel-table::' . $table->getShowActionTemplatePath(), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                <?php echo $__env->make('laravel-table::' . $table->getEditActionTemplatePath(), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                <?php echo $__env->make('laravel-table::' . $table->getDestroyActionTemplatePath(), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                            </div>
                        <?php endif; ?>
                    </td>
                <?php endif; ?>
            </tr>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        <?php echo $__env->make('laravel-table::' . $table->getResultsTemplatePath(), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <?php endif; ?>
</tbody>


<?php /**PATH /var/www/html/vendor/okipa/laravel-table/src/../resources/views/bootstrap/tbody.blade.php ENDPATH**/ ?>