

<?php $__env->startSection('content'); ?>
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-md-12">
                <div class="card">
                    <div class="card-header">Dashboard</div>

                    <div class="card-body">
                        <?php if(session('status')): ?>
                            <div class="alert alert-success" role="alert">
                                <?php echo e(session('status')); ?>

                            </div>
                        <?php endif; ?>

                        <?php if(str_contains(Auth::user()->menuroles, "admin")): ?>
                        <div class="row">
                            <div class="col-sm-6 col-lg-3">
                                <div class="card text-white bg-primary">
                                    <div class="card-body pb-0">
                                        <div class="text-value-lg"><?php echo e(1500); ?></div>
                                        <div>Total Clients</div>
                                    </div>
                                    <div class="c-chart-wrapper mt-3 mx-3" style="height:70px;">
                                        <canvas class="chart" id="card-chart1" height="70"></canvas>
                                    </div>
                                </div>
                            </div>
                            <!-- /.col-->
                            <div class="col-sm-6 col-lg-3">
                                <div class="card text-white bg-info">
                                    <div class="card-body pb-0">
                                        <div class="text-value-lg"><?php echo e(789); ?></div>
                                        <div>Total Consultants</div>
                                    </div>
                                    <div class="c-chart-wrapper mt-3 mx-3" style="height:70px;">
                                        <canvas class="chart" id="card-chart2" height="70"></canvas>
                                    </div>
                                </div>
                            </div>
                            <!-- /.col-->
                            <div class="col-sm-6 col-lg-3">
                                <div class="card text-white bg-warning">
                                    <div class="card-body pb-0">
                                        <div class="text-value-lg"><?php echo e(1100); ?></div>
                                        <div>Total Projects</div>
                                    </div>
                                    <div class="c-chart-wrapper mt-3" style="height:70px;">
                                        <canvas class="chart" id="card-chart3" height="70"></canvas>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-6 col-lg-3">
                                <div class="card text-white bg-danger">
                                    <div class="card-body pb-0">
                                        <div class="text-value-lg"><?php echo e(150000); ?>$</div>
                                        <div>Total Estimated Business</div>
                                    </div>
                                    <div class="c-chart-wrapper mt-3" style="height:70px;">
                                        <canvas class="chart" id="card-chart4" height="70"></canvas>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <?php endif; ?>
                        <?php if(str_contains(Auth::user()->menuroles, "consultant")): ?>
                        <h2>Welcome to PEC E Gateway </h2>
                        <!--<div class="alert alert-success m-3" role="alert">-->
                        <!--    Email has been verified! Please complete your <a href="<?php echo e(route('consultant_edit_profile')); ?>">profile</a> and sent request for the approval to PEC.-->
                        <!--</div>-->
                        
                        <?php endif; ?>
                        <?php if(str_contains(Auth::user()->menuroles, "client")): ?>
<h2>Welcome to PEC E Gateway </h2>
                        <!--<div class="alert alert-success m-3" role="alert">-->
                        <!--    Email has been verified! Please complete your <a href="<?php echo e(route('client_edit_profile')); ?>">profile</a> and sent request for the approval by PEC.-->
                        <!--</div>-->
                        
                        <?php endif; ?>
                    </div>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('dashboard.base', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/pecdev/public_html/pec_laravel_v2/resources/views/dashboard/homepage.blade.php ENDPATH**/ ?>