File manager - Edit - /home/linknsbh/rassudr.online/storage/framework/views/e39eb8d8d971404a95d9b92f5c0f665f1b7e24d4.php
Back
<?php $__env->startSection('content'); ?> <div class="page-header"> <h4 class="page-title"><?php echo e(__('Registered Vendors')); ?></h4> <ul class="breadcrumbs"> <li class="nav-home"> <a href="<?php echo e(route('admin.dashboard')); ?>"> <i class="flaticon-home"></i> </a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="#"><?php echo e(__('Vendor Management')); ?></a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="#"><?php echo e(__('Registered Vendors')); ?></a> </li> </ul> </div> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header"> <div class="row"> <div class="col-lg-6 col-md-6 col-sm-12"> <div class="card-title"><?php echo e(__('All Vendors')); ?></div> </div> <div class="col-lg-6 col-md-6 col-sm-12"> <button class="btn btn-danger btn-sm float-right d-none bulk-delete mr-2 ml-3 mt-1" data-href="<?php echo e(route('admin.vendor_management.bulk_delete_vendor')); ?>"> <i class="flaticon-interface-5"></i> <?php echo e(__('Delete')); ?> </button> <form class="float-right" action="<?php echo e(route('admin.vendor_management.registered_vendor')); ?>" method="GET"> <input name="info" type="text" class="form-control minw-230" placeholder="<?php echo e(__('Search By Username or Email ID')); ?>" value="<?php echo e(!empty(request()->input('info')) ? request()->input('info') : ''); ?>"> </form> </div> </div> </div> <div class="card-body"> <div class="row"> <div class="col-lg-12"> <?php if(count($vendors) == 0): ?> <h3 class="text-center"><?php echo e(__('NO VENDOR FOUND') . '!'); ?></h3> <?php else: ?> <div class="table-responsive"> <table class="table table-striped mt-3"> <thead> <tr> <th scope="col"> <input type="checkbox" class="bulk-check" data-val="all"> </th> <th scope="col"><?php echo e(__('Username')); ?></th> <th scope="col"><?php echo e(__('Email ID')); ?></th> <th scope="col"><?php echo e(__('Phone')); ?></th> <th scope="col"><?php echo e(__('Featured')); ?></th> <th scope="col"><?php echo e(__('Account Status')); ?></th> <th scope="col"><?php echo e(__('Email Status')); ?></th> <th scope="col"><?php echo e(__('Actions')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $vendors; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $vendor): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td> <input type="checkbox" class="bulk-check" data-val="<?php echo e($vendor->id); ?>"> </td> <td><?php echo e($vendor->username); ?></td> <td><?php echo e($vendor->email); ?></td> <td><?php echo e(empty($vendor->phone) ? '-' : $vendor->phone); ?></td> <td> <form id="accountFeaturedForm-<?php echo e($vendor->id); ?>" class="d-inline-block" action="<?php echo e(route('admin.vendor_management.vendor.update_featured_status', ['id' => $vendor->id])); ?>" method="post"> <?php echo csrf_field(); ?> <select class="form-control form-control-sm <?php echo e($vendor->featured == 1 ? 'bg-success' : 'bg-danger'); ?>" name="featured_status" onchange="document.getElementById('accountFeaturedForm-<?php echo e($vendor->id); ?>').submit()"> <option value="1" <?php echo e($vendor->featured == 1 ? 'selected' : ''); ?>> <?php echo e(__('Active')); ?> </option> <option value="0" <?php echo e($vendor->featured == 0 ? 'selected' : ''); ?>> <?php echo e(__('Deactive')); ?> </option> </select> </form> </td> <td> <form id="accountStatusForm-<?php echo e($vendor->id); ?>" class="d-inline-block" action="<?php echo e(route('admin.vendor_management.vendor.update_account_status', ['id' => $vendor->id])); ?>" method="post"> <?php echo csrf_field(); ?> <select class="form-control form-control-sm <?php echo e($vendor->status == 1 ? 'bg-success' : 'bg-danger'); ?>" name="account_status" onchange="document.getElementById('accountStatusForm-<?php echo e($vendor->id); ?>').submit()"> <option value="1" <?php echo e($vendor->status == 1 ? 'selected' : ''); ?>> <?php echo e(__('Active')); ?> </option> <option value="0" <?php echo e($vendor->status == 0 ? 'selected' : ''); ?>> <?php echo e(__('Deactive')); ?> </option> </select> </form> </td> <td> <form id="emailStatusForm-<?php echo e($vendor->id); ?>" class="d-inline-block" action="<?php echo e(route('admin.vendor_management.vendor.update_email_status', ['id' => $vendor->id])); ?>" method="post"> <?php echo csrf_field(); ?> <select class="form-control form-control-sm <?php echo e($vendor->email_verified_at != null ? 'bg-success' : 'bg-danger'); ?>" name="email_status" onchange="document.getElementById('emailStatusForm-<?php echo e($vendor->id); ?>').submit()"> <option value="1" <?php echo e($vendor->email_verified_at != null ? 'selected' : ''); ?>> <?php echo e(__('Verified')); ?> </option> <option value="0" <?php echo e($vendor->email_verified_at == null ? 'selected' : ''); ?>> <?php echo e(__('Unverified')); ?> </option> </select> </form> </td> <td> <div class="dropdown"> <button class="btn btn-secondary dropdown-toggle btn-sm" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <?php echo e(__('Select')); ?> </button> <div class="dropdown-menu" aria-labelledby="dropdownMenuButton"> <a href="<?php echo e(route('admin.vendor_management.vendor_details', ['id' => $vendor->id, 'language' => $currentLang->code])); ?>" class="dropdown-item"> <?php echo e(__('Details & Package')); ?> </a> <a href="<?php echo e(route('admin.edit_management.balance', ['id' => $vendor->id])); ?>" class="dropdown-item"> <?php echo e(__('Balance Information')); ?> </a> <a href="<?php echo e(route('admin.edit_management.vendor_edit', ['id' => $vendor->id])); ?>" class="dropdown-item"> <?php echo e(__('Edit')); ?> </a> <a href="<?php echo e(route('admin.vendor_management.vendor.change_password', ['id' => $vendor->id])); ?>" class="dropdown-item"> <?php echo e(__('Change Password')); ?> </a> <form class="deleteForm d-block" action="<?php echo e(route('admin.vendor_management.vendor.delete', ['id' => $vendor->id])); ?>" method="post"> <?php echo csrf_field(); ?> <button type="submit" class="deleteBtn"> <?php echo e(__('Delete')); ?> </button> </form> <a target="_blank" href="<?php echo e(route('admin.vendor_management.vendor.secret_login', ['id' => $vendor->id])); ?>" class="dropdown-item"> <?php echo e(__('Secret Login')); ?> </a> </div> </div> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> <?php endif; ?> </div> </div> </div> <div class="card-footer"> <div class="row"> <div class="d-inline-block mx-auto"> <?php echo e($vendors->appends(['info' => request()->input('info')])->links()); ?> </div> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('admin.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/linknsbh/rassudr.online/resources/views/admin/end-user/vendor/index.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.31 | Generation time: 0.7 |
proxy
|
phpinfo
|
Settings