<?php $__currentLoopData = $documentationRequests; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=> $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
    <th scope="row">
        <?php echo e($loop->iteration); ?>





    </th>
    <td><?php echo e(__('documentationRequests.'.$row->type)); ?></td>
    <td class="status_<?php echo e($row->id); ?>"><?php echo e(__('documentationRequests.'.$row->status)); ?></td>
    <td><?php echo e($row->documentation_date); ?></td>
    <td><?php echo e(date('h:i A', strtotime($row->documentation_time))); ?></td>
    <td colspan="2"><?php echo e(\Carbon\Carbon::parse($row->created_at)->format('Y/m/d')); ?></td>
    <td>





            <a href="<?php echo e(route ('documentationRequests.edit', $row->id)); ?>" class="icon" title="<?php echo e(__('dashboard.edit')); ?>"><img src="<?php echo e(asset('assets/admin/images/icons/draw.svg')); ?>" alt="<?php echo e(__('dashboard.edit')); ?>"></a>
            <?php if($row->status == 'being_documented'): ?>
                <a data-status-target=".status_<?php echo e($row->id); ?>" style="cursor: pointer" class="active_documentation icon" data-href="<?php echo e(route('documentationRequests.changeStatus', $row->id)); ?>"><i class="fa fa-times fa-2x text-danger"></i></a>
            <?php else: ?>
            <a data-status-target=".status_<?php echo e($row->id); ?>" style="cursor: pointer" class="active_documentation icon" data-href="<?php echo e(route('documentationRequests.changeStatus', $row->id)); ?>"><i class="fa fa-check fa-2x text-success"></i></a>
            <?php endif; ?>



    </td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

<?php if( count( $documentationRequests ) ): ?>
<tr> <td></td><td> <?php echo e($documentationRequests->links()); ?> </td> </tr>
<?php endif; ?>

<?php /**PATH C:\wamp64\www\legal\resources\views/admin/documentation_requests/grid.blade.php ENDPATH**/ ?>