Current File : //home/tradevaly/www/storage/framework/views/4943450631a631e745579d07040bc4290d21b61d.php |
<?php $__env->startSection('title'); ?> Global Business Directory for B2B Marketplace in Bangladesh . <?php $__env->stopSection(); ?>
<?php $__env->startSection('css'); ?>
<style>
.statistics .card {
border: 0;
box-shadow: 0px 0px 4px 3px #cdcdcd24;
background: #fff;
border-radius: 14px;
overflow: hidden;
}
.statistics .box{
border-radius: 10px;
padding: 20px;
padding-bottom: 9px;
position: relative;
}
.statistics .box .icon {
height: 40px;
width: 40px;
border-radius: 50px;
position: absolute;
right: 0;
top: 0;
margin: 8px 11px;
text-align: center;
padding: 10px;
}
.box-danger {
background: #FFF4DE;
}
.box-danger .icon{
background: #FF957B;
color: #fff;
}
.box-success {
background: #DCFCE7;
}
.box-success .icon{
background: #3DD856;
color: #fff;
}
.box-primary {
background: #F4E8FF;
}
.box-primary .icon{
background: #BF83FF;
color: #fff;
}
.box-info {
background: #FFE2E6;
}
.box-info .icon{
background: #FA5A7D;
color: #fff;
}
h3.total {
color: #121b49;
font-weight: 700;
}
h4.title {
font-size: 15px;
font-weight: 400;
}
a.btn-view-all {
font-size: 13px;
font-weight: 600;
}
h4.badge-total {
background: #f4e8ff;
padding: 6px 15px;
border-radius: 50px;
font-size: 15px;
color: #495357;
}
</style>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<?php $__env->startComponent('components.breadcrumb'); ?>
<?php $__env->slot('li_1'); ?> Dashboards <?php $__env->endSlot(); ?>
<?php $__env->slot('title'); ?> Dashboard <?php $__env->endSlot(); ?>
<?php echo $__env->renderComponent(); ?>
<div class="row">
<div class="col-xl-12">
<div class="row">
<div class="col-xxl-3 col-sm-3">
<a href="https://www.tradevaly.com.bd/b2b/users/index?user_type=seller" class="item-link">
<div class="card bg-primary mini-stats-wid">
<div class="card-body">
<div class="media">
<div class="media-body">
<p class="fw-medium text-white"> <?php echo app('translator')->get('Total Seller'); ?></p>
<h4 class="mb-0 text-white"><?php echo e(\App\Models\User::where('type', 'seller')->count()); ?></h4>
</div>
<div class="mini-stat-icon avatar-sm rounded-circle bg-primary align-self-center">
<span class="avatar-title">
<i class="fas fa-users font-size-24"></i>
</span>
</div>
</div>
</div>
</div>
</a>
</div>
<div class="col-xxl-3 col-sm-3">
<a href="https://www.tradevaly.com.bd/b2b/users/index?user_type=buyer" >
<div class="card bg-success mini-stats-wid">
<div class="card-body">
<div class="media">
<div class="media-body">
<p class="text-white fw-medium"><?php echo app('translator')->get('Total Buyer'); ?></p>
<h4 class="mb-0 text-white"><?php echo e(\App\Models\User::where('type', 'buyer')->count()); ?></h4>
</div>
<div class="avatar-sm rounded-circle bg-primary align-self-center mini-stat-icon">
<span class="avatar-title rounded-circle bg-success">
<i class="fas fa-user-check font-size-24"></i>
</span>
</div>
</div>
</div>
</div>
</a>
</div>
<div class="col-xxl-3 col-sm-3">
<a href="https://www.tradevaly.com.bd/b2b/users/index?free_pack=users" class="item-link">
<div class="card bg-warning mini-stats-wid">
<div class="card-body">
<div class="media">
<div class="media-body">
<p class="text-white fw-medium"><?php echo app('translator')->get('Free Package User'); ?></p>
<h4 class="mb-0 text-white"><?php echo e(\App\Models\User::where('package_id', 1)->count()); ?></h4>
</div>
<div class="avatar-sm rounded-circle bg-primary align-self-center mini-stat-icon">
<span class="avatar-title rounded-circle bg-warning">
<i class="fas fa-envelope font-size-24"></i>
</span>
</div>
</div>
</div>
</div>
</a>
</div>
<div class="col-xxl-3 col-sm-3">
<a href="https://www.tradevaly.com.bd/b2b/users/index?premium_pack=users" class="item-link">
<div class="card bg-danger mini-stats-wid">
<div class="card-body">
<div class="media">
<div class="media-body">
<p class="text-white fw-medium"><?php echo app('translator')->get('Premium Package User'); ?></p>
<h4 class="mb-0 text-white"><?php echo e(\App\Models\User::where('package_id', '!=', 1)->count()); ?></h4>
</div>
<div class="avatar-sm rounded-circle bg-primary align-self-center mini-stat-icon">
<span class="avatar-title rounded-circle bg-danger">
<i class="fas fa-comment-slash font-size-24"></i>
</span>
</div>
</div>
</div>
</div>
</a>
</div>
</div>
<!-- end row -->
</div>
</div>
<!-- end row -->
<div class="row">
<div class="col-lg-6 statistics">
<div class="card">
<div class="card-header bg-transparent d-flex justify-content-between align-items-center">
<h4 class="m-0">Advertiser</h4>
<h4 class="m-0 badge-total">Total: <?php echo e($ads); ?></h4>
</div>
<div class="card-body pt-1">
<div class="row">
<div class="col-lg-6">
<div class="box box-danger">
<div class="icon">
<i class="fas fa-chart-bar"></i>
</div>
<h3 class="total"><?php echo e($pending_ads); ?></h3>
<h4 class="title">Pending Orders</h4>
<a class="btn-view-all" href="<?php echo e(route('admin.advertiser.pending')); ?>">Show All</a>
</div>
</div>
<div class="col-lg-6">
<div class="box box-success">
<div class="icon">
<i class="fas fa-chart-bar"></i>
</div>
<h3 class="total"><?php echo e($complete_ads); ?></h3>
<h4 class="title">Complete Orders</h4>
<a class="btn-view-all" href="<?php echo e(route('admin.advertiser.index')); ?>">Show All</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-6 statistics">
<div class="card">
<div class="card-header bg-transparent d-flex justify-content-between align-items-center">
<h4 class="m-0">Subscribers</h4>
<h4 class="m-0 badge-total">Total: <?php echo e($subscribers); ?></h4>
</div>
<div class="card-body pt-1">
<div class="row">
<div class="col-lg-6">
<div class="box box-info">
<div class="icon">
<i class="fas fa-chart-bar"></i>
</div>
<h3 class="total"><?php echo e($pending_subscribers); ?></h3>
<h4 class="title">Pending Subscribers</h4>
<a class="btn-view-all" href="<?php echo e(route('admin.subscriber.pending')); ?>">Show All</a>
</div>
</div>
<div class="col-lg-6">
<div class="box box-primary">
<div class="icon">
<i class="fas fa-chart-bar"></i>
</div>
<h3 class="total"><?php echo e($paid_subscribers); ?></h3>
<h4 class="title">Paid Subscribers</h4>
<a class="btn-view-all" href="<?php echo e(route('admin.subscriber.paid')); ?>">Show All</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-xl-12">
<div class="row">
<div class="col-sm-3">
<div class="card" style='background:rgba(52,195,143,.25)!important'>
<div class="card-body">
<div class="d-flex align-items-center mb-3">
<div class="avatar-xs me-3">
<span
class="avatar-title rounded-circle bg-success bg-soft text-success font-size-18">
<i class="fas fa-hand-holding-usd"></i>
</span>
</div>
<h5 class="font-size-14 mb-0"><?php echo app('translator')->get('Pending Payment'); ?></h5>
</div>
<div class="text-muted mt-4">
<h4><?php echo e(\App\Models\Income::where('status', 0)->count()); ?></h4>
<div class="d-flex">
<a href="<?php echo e(route('admin.income.index')); ?>"
class="btn btn-success waves-effect waves-light btn-sm"><?php echo app('translator')->get('View All'); ?></a>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="card" style='background:#f1b44c40!important'>
<div class="card-body">
<div class="d-flex align-items-center mb-3">
<div class="avatar-xs me-3">
<span
class="avatar-title rounded-circle bg-warning bg-soft text-warning font-size-18">
<i class="fas fa-spinner"></i>
</span>
</div>
<h5 class="font-size-14 mb-0"><?php echo app('translator')->get('Products'); ?></h5>
</div>
<div class="text-muted mt-4">
<h4><?php echo e(\App\Models\Product::count()); ?></h4>
<div class="d-flex">
<a href="<?php echo e(route('admin.product_list.product_list')); ?>"
class="btn btn-warning waves-effect waves-light btn-sm"><?php echo app('translator')->get('View All'); ?></a>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="card" style='background:rgba(244,106,106,.25)!important'>
<div class="card-body">
<div class="d-flex align-items-center mb-3">
<div class="avatar-xs me-3">
<span
class="avatar-title rounded-circle bg-danger bg-soft text-danger font-size-18">
<i class="fas fa-ban"></i>
</span>
</div>
<h5 class="font-size-14 mb-0"><?php echo app('translator')->get('Buy Offers'); ?></h5>
</div>
<div class="text-muted mt-4">
<h4><?php echo e(\App\Models\BuyOffer::count()); ?></h4>
<div class="d-flex">
<a href="<?php echo e(route('admin.buy_offer.buy_offer')); ?>"
class="btn btn-danger waves-effect waves-light btn-sm"><?php echo app('translator')->get('View All'); ?></a>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="card" style='background:rgba(85,110,230,.25)!important'>
<div class="card-body">
<div class="d-flex align-items-center mb-3">
<div class="avatar-xs me-3">
<span
class="avatar-title rounded-circle bg-primary bg-soft text-danger font-size-18">
<i class="fas fa-percentage"></i>
</span>
</div>
<h5 class="font-size-14 mb-0"><?php echo app('translator')->get('Packages'); ?></h5>
</div>
<div class="text-muted mt-4">
<h4><?php echo e(\App\Models\Package::count()); ?></h4>
<div class="d-flex">
<a href="<?php echo e(route('admin.package.index')); ?>"
class="btn btn-primary waves-effect waves-light btn-sm"><?php echo app('translator')->get('View All'); ?></a>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- end row -->
</div>
</div>
<!-- end row -->
<div class="row">
<div class="col-lg-6">
<div class="card">
<div class="card-body">
<h4 class="card-title mb-4">Pending Products</h4>
<div class="table-responsive">
<table class="table align-middle table-nowrap mb-0">
<thead class="table-light">
<tr>
<th class="align-middle">SN</th>
<th class="align-middle">Title</th>
<th class="align-middle">Details</th>
<th class="align-middle">Company</th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = \App\Models\Product::where('status', 0)->take(8)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td>
<?php echo e($loop->iteration); ?>
</td>
<td><a href="<?php echo e(route('product.view', $product->slug)); ?>"><?php echo e($product['title']); ?></a>
</td>
<td><?php echo e(\Illuminate\Support\Str::limit(strip_tags($product['details']), 20, $end='...')); ?></td>
<td><?php echo e($product->supplier->name); ?></td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
<!-- end table-responsive -->
</div>
</div>
</div>
<div class="col-lg-6">
<div class="card">
<div class="card-body">
<h4 class="card-title mb-4">Pending Approval Buy Offer</h4>
<div class="table-responsive">
<table class="table align-middle table-nowrap mb-0">
<thead class="table-light">
<tr>
<th class="align-middle">SN</th>
<th class="align-middle">Title</th>
<th class="align-middle">Details</th>
<th class="align-middle">Company</th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = \App\Models\BuyOffer::where('status', 0)->take(8)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($product->buyer): ?>
<tr>
<td>
<?php echo e($loop->iteration); ?>
</td>
<td><a href="<?php echo e(route('buy.view', $product->slug)); ?>"><?php echo e($product['title']); ?></a>
</td>
<td><?php echo e(\Illuminate\Support\Str::limit(strip_tags($product['details']), 20, $end='...')); ?></td>
<td><?php echo e($product->buyer->name); ?></td>
</tr>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
<!-- end table-responsive -->
</div>
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('script'); ?>
<!-- apexcharts -->
<script src="<?php echo e(asset('/assets/libs/apexcharts/apexcharts.min.js')); ?>"></script>
<!-- dashboard init -->
<script src="<?php echo e(asset('/assets/js/pages/dashboard.init.js')); ?>"></script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('backend.ayaan.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/tradevaly/public_html/resources/views/backend/pages/dashboard.blade.php ENDPATH**/ ?>