<?php $__currentLoopData = $activeConsultings; $__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(__('activeConsultings.'.$row->consulting_type)); ?></td>
    <td><?php echo e(__('activeConsultings.'.$row->consulting_way)); ?></td>
    <td><?php echo e($row->consulting_date); ?></td>
    <td><?php echo e(date('h:i A', strtotime($row->consulting_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 ('activeConsultings.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(in_array($row->consulting_way, ['phone', 'office']) && $row->status == 'active'): ?>
            <a style="cursor: pointer" class="consultation_status end_office_phone icon" data-href="<?php echo e(route('activeConsultings.consultationStatus', $row->id)); ?>"><i class="fa fa-play text-success"></i></a>
        <?php endif; ?>
        <?php if($row->consulting_way == 'zoom' && $row->status == 'not_active'): ?>
            <a style="cursor: pointer" class="consultation_status start_zoom icon" data-href="<?php echo e(route('activeConsultings.consultationStatus', $row->id)); ?>"><i class="fa fa-pause text-warning"></i></a>
        <?php endif; ?>
        <?php if($row->consulting_way == 'zoom' && $row->status == 'active'): ?>
            <a style="cursor: pointer" class="consultation_status end_zoom icon" data-href="<?php echo e(route('activeConsultings.consultationStatus', $row->id)); ?>"><i class="fa fa-play text-success"></i></a>
        <?php endif; ?>






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

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

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