@extends('components.app')
@section('styles')
@endsection
@section('title')
    Dashboard
@endsection

@section('content')
 
        <!-- Begin Page Content -->
        <div class="container">

            <!-- Page Heading -->
            <div class="d-sm-flex align-items-center justify-content-between mb-4">
                <h1 class="h3 mb-0 text-gray-800">Dashboard</h1>
               
            </div>
            
            <!-- Content Row -->
            <div class="row">
                <div class="col-sm-3">
                    <div class="card text-white" style="background-color: #a900ff">
                        <div class="card-body text-center">
                            <span>Total Credit</span>
                            <h1>{{$total_orders}}</h1>
                        </div>
                    </div>
                </div>
                <div class="col-sm-3">
                    <div class="card  text-white" style="background-color: #ffa500">
                        <div class="card-body text-center">
                            <span>Used Credit</span>
                            <h1>{{$visited_orders}}</h1>
                        </div>
                    </div>
                </div>
               
                <!-- Earnings (Monthly) Card Example -->
                
            </div>

        </div>
        <!-- /.container-fluid -->
    </div>
    <!-- End of Main Content -->
    @endsection
    @section('scripts')
            {{-- <script  src="{{ asset('assets/js/require.js') }}"></script> --}}
            {{-- <script src="{{ asset('assets/vendor/whatsapp-web.js/src/Client.js') }}"></script> --}}
    @endsection