Viewing file: 80c79ea66f24e3c00553959c209342a6a3d0e3d4.php (7.47 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?>
<?php echo e(trans('admin.became_seller_list')); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-css'); ?>
<link rel="stylesheet" href="<?php echo e(asset('plugins/datatables-bs4/css/dataTables.bootstrap4.min.css')); ?>">
<link rel="stylesheet" href="<?php echo e(asset('plugins/datatables-responsive/css/responsive.bootstrap4.min.css')); ?>">
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-12 mt-3">
<div class="card">
<div class="card-header">
<h2 class="card-title"><?php echo e(trans('admin.became_seller_list')); ?>
<i data-toggle="tooltip" data-placement="right" class="fa fa-question-circle alert-tooltip"
title="After purchasing the plan of RESELLER/MASTER RESELLER they have to verify their account.
So that they have fill up verification form and submit. That verification request will listed in verification list.
Admin will verify and approved them."></i>
</h2>
</div>
<!-- /.card-header -->
<div class="card-body table-body">
<table id="contacts" class="table table-striped table-bordered dt-responsive nowrap">
<thead>
<tr>
<th><?php echo app('translator')->get('customer.name'); ?></th>
<th><?php echo app('translator')->get('customer.email'); ?></th>
<th><?php echo app('translator')->get('customer.address'); ?></th>
<th><?php echo app('translator')->get('customer.country'); ?></th>
<th><?php echo app('translator')->get('customer.city'); ?></th>
<th><?php echo app('translator')->get('customer.zip_code'); ?></th>
<th><?php echo app('translator')->get('customer.status'); ?></th>
<th><?php echo app('translator')->get('customer.action'); ?></th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $becameSellers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $seller): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td><?php echo e(isset($seller->customer)?$seller->customer->fullname:''); ?></td>
<td><?php echo e(isset($seller->customer)?$seller->customer->email:''); ?></td>
<td><?php echo e($seller->address); ?></td>
<td><?php echo e($seller->country); ?></td>
<td><?php echo e($seller->city); ?></td>
<td><?php echo e($seller->zip_code); ?></td>
<td>
<div class="btn-group">
<button type="button" class="btn btn-<?php echo e($seller->status=='approved'?'success':'danger'); ?> btn-sm dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
<?php echo e(ucfirst($seller->status)); ?>
</button>
<ul class="dropdown-menu" style="">
<?php if($seller->status=='pending'): ?>
<button class="mr-1 dropdown-item" data-message="Are you sure you want to <b>Approved</b> this request?"
data-action="<?php echo e(route('admin.became.seller.status')); ?>"
data-input={"id":<?php echo e($seller->id); ?>,"status":"approved"} data-toggle="modal" data-target="#modal-confirm" >
<?php echo e(trans('admin.approved')); ?>
</button>
<button class="mr-1 dropdown-item" data-message="Are you sure you want to <b>Reject</b> this request? <input type='text' class='form-control mt-4' placeholder='Enter rejected reason' name='reason'>"
data-action="<?php echo e(route('admin.became.seller.status')); ?>"
data-input={"id":<?php echo e($seller->id); ?>,"status":"rejected"} data-toggle="modal" data-target="#modal-confirm" >
<?php echo e(trans('admin.rejected')); ?>
</button>
<?php elseif($seller->status=='approved'): ?>
<button class="mr-1 dropdown-item" data-message="Are you sure you want to <b>Reject</b> this request? <input type='text' class='form-control mt-4' placeholder='Enter rejected reason' name='reason'>"
data-action="<?php echo e(route('admin.became.seller.status')); ?>"
data-input={"id":<?php echo e($seller->id); ?>,"status":"rejected"} data-toggle="modal" data-target="#modal-confirm" >
<?php echo e(trans('admin.rejected')); ?>
</button>
<?php else: ?>
<button class="dropdown-item d-block mt-3 btn-sm btn-<?php echo e($seller->status=='approved'?'success':'danger'); ?>" disabled type="button"><?php echo e(trans('admin.rejected')); ?></button>
<?php endif; ?>
</ul>
</div>
</td>
<td>
<a href="<?php echo e(route('admin.became.seller.details',[$seller->id])); ?>" target="_blank" class="btn btn-sm btn-info" title="Details"><i class="fa fa-address-book"></i></a>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
<!-- /.card-body -->
</div>
<!-- /.card -->
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</section>
<!-- /.content -->
<?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-scripts'); ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\actiontexts\resources\views/became_seller/index.blade.php ENDPATH**/ ?>
|