Current File : //home/tradevaly/public_html/storage/framework/views/d43bcbce4d9a93e0851dd81b63bd024afaacd379.php |
<div class='col-lg-8 seller_custom_dashboard'>
<div class='row'>
<div class="col-lg-6 col-sm-6">
<div class='card pe-4 bg-white'>
<div class='card-body'>
<h3><?php echo e(\App\Models\Thread::where('receiver_id', Auth::guard('web')->user()->id)->count()); ?></h3>
<p>Total Inquiries</p>
<hr/>
</div>
</div>
</div>
<div class="col-lg-6 col-sm-6">
<div class='card pe-4 bg-white'>
<div class='card-body'>
<h3><?php echo e(\App\Models\Product::where('supplier_id', Auth::guard('web')->user()->id)->count()); ?></h3>
<p>Products</p>
<hr/>
</div>
</div>
</div>
<div class="col-lg-12">
<div class="card">
<div class="card-body">
<div class="h4 card-title">About</div>
<div class="table-responsive">
<table class="table table-striped mb-0 table">
<tbody>
<tr>
<td>Member Id</td>
<td>TV<?php echo e(Auth::guard('web')->user()->id); ?></td>
</tr>
<tr>
<td>Name</td>
<td><?php echo e(Auth::guard('web')->user()->name); ?></td>
</tr>
<tr>
<td>Email</td>
<td><?php echo e(Auth::guard('web')->user()->email); ?></td>
</tr>
<tr>
<td>Contact Number</td>
<td><?php echo e(Auth::guard('web')->user()->company->phone); ?></td>
</tr>
<tr>
<td>Package</td>
<td><img src='<?php echo e(asset('storage/images/admin/package/'.Auth::guard('web')->user()->package->image)); ?>' alt='img' height='40' /></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="col-lg-12">
<div class="card">
<div class="card-body">
<div class="h4 card-title two-text-justiry-between"><span>Basic Information</span> <a href='<?php echo e(route('user.profile.view')); ?>' class='btn btn-sm btn-primary'>Edit</a></div>
<div class="table-responsive">
<table class="table table-striped mb-0 table">
<tbody>
<tr>
<td>Member Id</td>
<td>TV<?php echo e(Auth::guard('web')->user()->id); ?></td>
</tr>
<tr>
<td>Company Name</td>
<td><?php echo e(Auth::guard('web')->user()->company->name); ?></td>
</tr>
<tr>
<td>Business Type</td>
<td><?php echo e(Auth::guard('web')->user()->company->type); ?></td>
</tr>
<tr>
<td>Main Markets</td>
<td><?php echo e(Auth::guard('web')->user()->company->main_market); ?></td>
</tr>
<tr>
<td>Main Products</td>
<td>
<?php
$products = json_decode(Auth::guard('web')->user()->company->main_products, true);
?>
<?php if(!empty($products)): ?>
<?php $__currentLoopData = $products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<span class='badge bg-secondary'><?php echo e($product); ?></span>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php endif; ?>
</td>
</tr>
<tr>
<td>Account Type</td>
<td><?php echo e(Auth::guard('web')->user()->type); ?></td>
</tr>
<tr>
<td>Country</td>
<td><?php echo e(Auth::guard('web')->user()->country->name); ?></td>
</tr>
<tr>
<td>Package Name </td>
<td><?php echo e(Auth::guard('web')->user()->package->name); ?></td>
</tr>
<tr>
<td>Expiry Date</td>
<td><?php if(Auth::guard('web')->user()->package->id != 0): ?>
<?php echo e(date('d F, Y', strtotime(Auth::guard('web')->user()->next_pay))); ?>
<?php else: ?>
Unlimted
<?php endif; ?></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="col-lg-12">
<div class="card">
<div class="card-body">
<div class="h4 card-title two-text-justiry-between"><span>Contact Information</span> <a href='<?php echo e(route('user.profile.view')); ?>' class='btn btn-sm btn-primary'>Edit</a></div>
<div class="table-responsive">
<table class="table table-striped mb-0 table">
<tbody>
<tr>
<td>Full Name</td>
<td><?php echo e(Auth::guard('web')->user()->name); ?></td>
</tr>
<tr>
<td>Email</td>
<td><?php echo e(Auth::guard('web')->user()->email); ?></td>
</tr>
<tr>
<td>Phone Number</td>
<td><?php echo e(Auth::guard('web')->user()->company->phone); ?></td>
</tr>
<tr>
<td>Mobile Number</td>
<td>-</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<div class='col-lg-4'>
<div class='row'>
<div class="col-lg-12 col-sm-12">
<div class="card">
<div class="card-body">
<h4 class="card-title">Posting Status</h4>
<div class="">
<h6 class=" <?php echo e(100 - $user_profile_complete < 50 ? 'p_title':' '); ?>" style="margin-top:23px; ">Your Profile is <?php echo e(100 - $user_profile_complete); ?>% Completed</h6>
<div class="progress progress-xl">
<div class="progress-bar progress-bar-striped progress-bar-animated <?php echo e(100 - $user_profile_complete < 50 ? 'bg-danger':' '); ?> " role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: <?php echo e(100 - $user_profile_complete); ?>%"></div>
</div>
</div>
<div class="row mt-4">
<div class="col-4">
<h6 class="text-black">Company</h6>
</div>
<div class="col-8">
<div class="progress progress-xl">
<div class="progress-bar progress-bar-striped progress-bar-animated <?php echo e(100 - $user_profile_complete_c < 50 ? 'bg-danger':' '); ?>" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: <?php echo e(100 - $user_profile_complete_c); ?>%"></div>
</div>
</div>
</div>
<div class="row mt-4">
<div class="col-4">
<h6 class="text-black">Products (<?php echo e($auth_total_product); ?> /10 )</h6>
</div>
<div class="col-8">
<div class="progress progress-xl">
<div class="progress-bar progress-bar-striped progress-bar-animated <?php echo e($auth_total_product*10 < 40 ? 'bg-danger':' '); ?>" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: <?php echo e($auth_total_product * 10); ?>%"></div>
</div>
</div>
</div>
<div class="row mt-4">
<div class="col-4">
<h6 class="text-black">Buy Offers (<?php echo e($auth_buy_offer); ?>/ 10)</h6>
</div>
<div class="col-8">
<div class="progress progress-xl">
<div class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: <?php echo e($auth_buy_offer/10); ?>%"></div>
</div>
</div>
</div>
<!--<div class="row mt-4">-->
<!-- <div class="col-4">-->
<!-- <h6 class="text-black">Trade Alerts (X)</h6>-->
<!-- </div>-->
<!-- <div class="col-8">-->
<!-- <div class="progress progress-xl">-->
<!-- <div class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: 75%"></div>-->
<!-- </div>-->
<!-- </div>-->
<!--</div>-->
</div>
</div>
</div>
</div>
<div class='row'>
<div class="noticecol-lg-12 col-sm-12">
<div class="card">
<div class="card-header">
<h3><span>Notice</span> Board</h3>
</div>
<div class="card-body">
<div class="main-blog">
<div class="blog">
<h5>For Buyers</h5>
<ul>
<li> How can I search for products on eworldtrade.com?</li>
<li> What should I do if I can't find suitable products?</li>
<li>How can I post a Buying Request to get accurate quotes?</li>
<li>How can I contact suppliers?</li>
<li>Can eWorld Trade recommend specific products to me?</li>
</ul>
</div>
<div class="blog">
<h5>For Suppliers</h5>
<ul>
<li> Updating your Company Profile</li>
<li> Listing & Managing Your Products</li>
<li> In addition to waiting for the buyer to send me an inquiry, where can I take the initiative to find buyers?</li>
<li> How many products I can post?</li>
<li> What benefits I will get as a premium member?</li>
<li> Exploring Buy Offers</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php /**PATH /home/tradevaly/public_html/resources/views/user/pages/sellerDashboard.blade.php ENDPATH**/ ?>