<?php $__env->startSection('content'); ?>
    <section class="inner_header">
        <img src="<?php echo e(asset('assets/web/images/icons/inner.svg')); ?>" alt="" class="inner_shap">
        <div class="container">
            <ul class="links">
                <li>
                    <a href="<?php echo e(LaravelLocalization::getLocalizedURL($lang, route('home'), [], true)); ?>"><?php echo e(__('main.home')); ?></a>
                </li>
                <li>
                    <a href="#"> <?php echo e(__('members.my_documentations')); ?> </a>
                </li>
            </ul>
            <h4><?php echo e(__('members.my_documentations')); ?></h4>
        </div>
    </section>

    <section class="consultation-sec section_padding">
        <div class="container">
            <div class="table-consultation table-responsive">
                <table class="table bg-white">
                    <thead>
                    <tr>
                        <th><?php echo e(__('documentationRequests.document_request_id')); ?></th>
                        <th><?php echo e(__('documentationRequests.request_details')); ?></th>
                        <th><?php echo e(__('documentationRequests.documentation_type_id')); ?></th>
                        <th><?php echo e(__('documentationRequests.type')); ?></th>
                        <th><?php echo e(__('documentationRequests.date')); ?></th>
                        <th><?php echo e(__('documentationRequests.time')); ?></th>
                        <th><?php echo e(__('documentationRequests.request_status')); ?></th>
                    </tr>
                    </thead>
                    <tbody>
                    <?php if(count($documentations)): ?>
                        <?php $__currentLoopData = $documentations; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $documentation): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <tr>
                                <td><?php echo e($documentation->id); ?></td>
                                <td><?php echo e(wordLimit($documentation->notes, 5)); ?></td>
                                <td><?php echo e($documentation->documentationTypeName); ?></td>
                                <td><?php echo e(__('documentationRequests.'.$documentation->type)); ?></td>
                                <td><?php echo e(date('d/m/y', strtotime($documentation->documentation_date))); ?></td>
                                <td><?php echo e(date('h:i A', strtotime($documentation->documentation_time))); ?></td>
                                <td>
                                    <a href="<?php echo e(route('user.myDocumentationDetails', $documentation->id)); ?>">
                                        <span class="badge bg-<?php echo e($documentation->status == 'being_documented' ? 'secondary' : 'success'); ?>">
                                        <?php echo e(__('documentationRequests.'.$documentation->status)); ?>

                                    </span>
                                    </a>
                                </td>
                            </tr>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        <?php else: ?>
                        <tr><td colspan="8" class="text-danger"><?php echo e(__('documentations.no_documentation_requests')); ?></td></tr>
                    <?php endif; ?>
                    </tbody>
                </table>
            </div>
        </div>
    </section>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('inner_js'); ?>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('web.layouts.container', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/balyomhost/public_html/legal/resources/views/web/users/my_documentations/index.blade.php ENDPATH**/ ?>