Edit File: acd33fc6a4a8e7702267c8b367adcf3306636de7.php
<div class="position-relative"> <div class="table_loader"> <?php echo e(__('admin.loading')); ?> </div> <table class="table " id="tab"> <thead> <tr> <th> # </th> <th><?php echo e(__('admin.image')); ?></th> <th><?php echo e(__('admin.name')); ?></th> <th><?php echo e(__('admin.email')); ?></th> <th><?php echo e(__('admin.phone')); ?></th> <th><?php echo e(__('admin.ban_status')); ?></th> <th><?php echo e(__('admin.approvement_status')); ?></th> <th><?php echo e(__('admin.update_request')); ?></th> <th><?php echo e(__('admin.rates')); ?></th> <th><?php echo e(__('admin.control')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $delegates; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr class="delete_row"> <td class="text-center"> <?php echo e($loop->iteration); ?> </td> <td><img src="<?php echo e($row->image); ?>" width="50px" height="50px" alt=""></td> <td><?php echo e($row->name); ?></td> <td><?php echo e($row->email); ?></td> <td><?php echo e($row->phone); ?></td> <td> <?php if($row->is_blocked): ?> <span class="btn btn-sm round btn-outline-danger"> <?php echo e(__('admin.Prohibited')); ?> <i class="la la-close font-medium-2"></i> </span> <span class="btn btn-sm round btn-outline-success block_user" data-id="<?php echo e($row->id); ?>"><?php echo e(__('admin.unblock')); ?></span> <?php else: ?> <span class="btn btn-sm round btn-outline-success"> <?php echo e(__('admin.Unspoken')); ?> <i class="la la-check font-medium-2"></i> </span> <span class="btn btn-sm round btn-outline-danger block_user" data-id="<?php echo e($row->id); ?>"><?php echo e(__('admin.block')); ?></span> <?php endif; ?> </td> <td class="sorting_1"> <?php if($row->is_approved): ?> <span class="btn btn-sm round btn-outline-success" > <?php echo e(__('admin.approved')); ?> <i class="la la-check font-medium-2"></i> </span> <?php else: ?> <button type="button" class="btn btn-sm btn-outline-info approve" data-id="<?php echo e($row->id); ?>"> <span class="feather icon-check"></span> <?php echo e(__('admin.approve')); ?> </button> <?php endif; ?> </td> <td> <?php if($row->profileUpdates()->exists()): ?> <span class="btn btn-sm round btn-outline-primary" onclick="window.location.href='<?php echo e(route('admin.delegates.show.new_data', $row->id)); ?>';" data-url="<?php echo e(route('admin.delegates.show.new_data', $row->id)); ?>"> <?php echo e(__('admin.personal_data_change_request')); ?> <i class="la la-check font-medium-2 "></i> </span> <?php endif; ?> </td> <td> <span class=""><a class="btn btn-sm round btn-outline-primary" href="<?php echo e(route('admin.users.viewRates', ['type' => 'delegate', 'id' => $row->id])); ?>"> <?php echo e(__('admin.view_rates')); ?> </a></span> </td> <td class="product-action"> <span class="text-primary"> <a href="<?php echo e(route('admin.delegates.show', ['id' => $row->id])); ?>"><i class="feather icon-eye"></i></a> </span> <span class="action-edit text-primary"><a href="<?php echo e(route('admin.delegates.edit', ['id' => $row->id])); ?>"><i class="feather icon-edit"></i></a></span> <span data-toggle="modal" data-target="#notify" class="text-info notify" data-id="<?php echo e($row->id); ?>" data-type="delegates" data-url="<?php echo e(url('admins/delegates/notify')); ?>"><i class="feather icon-bell"></i></span> <span data-toggle="modal" data-target="#mail" class="text-info mail" data-id="<?php echo e($row->id); ?>" data-type="delegates" data-url="<?php echo e(url('admins/delegates/notify')); ?>"><i class="feather icon-mail"></i></span> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> <?php if($delegates->count() == 0): ?> <div class="d-flex flex-column w-100 align-center mt-4"> <img src="<?php echo e(asset('/storage/images/no_data.png')); ?>" width="200px" style="" alt=""> <span class="mt-2" style="font-family: cairo ;margin-right: 35px"><?php echo e(__('admin.there_are_no_matches_matching')); ?></span> </div> <?php endif; ?> </div> <?php if($delegates->count() > 0 && $delegates instanceof \Illuminate\Pagination\AbstractPaginator): ?> <div class="d-flex justify-content-center mt-3"> <?php echo e($delegates->links('pagination::bootstrap-4')); ?> </div> <?php endif; ?> <?php /**PATH /home/thunderw/public_html/resources/views/admin/delegates/table.blade.php ENDPATH**/ ?>
Back to File Manager