<?php $__currentLoopData = $consultings; $__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(__('consultings.'.$row->type)); ?></td>
    <td><?php echo e(__('consultings.'.$row->way)); ?></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 ('consultings.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>
            <a style="cursor: pointer" class="active_consultation icon" data-href="<?php echo e(route('consultings.activeConsulting', $row->id)); ?>"><i class="fa fa-2x <?php echo e($row->status ? 'fa-check text-success' : 'fa-times text-danger'); ?>"></i></a>



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

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

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