@include('../layouts/header') @include('../layouts/left-sidebar')
@yield('content')
@include('../layouts/footer') @include('../layouts/modals')
@php use App\Http\Controllers\Admin\DashboardController as Dashboard; $dashboard = new Dashboard(); $graph = $dashboard->graph(); //print_pre($graph); $usersByMonth = $graph['users']; $eventsByMonth = $graph['events']; $bookedEventsByMonth = $graph['booked_events']; //print_pre( $usersByMonth ); @endphp @if( Route::current()->getName() == 'dashboard' || Route::current()->getName() == 'dashboard' ) @endif @php $pgs = ['users.create','users.edit','events.create','events.edit','groups.create','groups.edit']; $place_api_key = get_option('google_place_key'); @endphp @if( in_array(Route::current()->getName() , $pgs) ) @endif