@extends('admin.layouts.default') @section('content')
{{ Form::open(['role' => 'form','route'=>[$modelName.'.activeUsersdaywiseGraph'],'files' => true,'method' => 'get']) }} {{csrf_field()}} @php $matchkey="";$start_date="";$end_date=""; if(isset($_GET['start_date'])){ $start_date = $_GET['start_date']; } if(isset($_GET['end_date'])){ $end_date = $_GET['end_date']; } @endphp
{{ Form::close() }}

All Active & Registered Users

@php $days = array(); $amount = array(); $withdraw_amount = array(); $add_cash_color = array(); $withdraw_cash_color = array(); @endphp @if(isset($total_active_users) && !empty($total_active_users)) @foreach($total_active_users as $total_active_users_val) @php $days[] = date_format(date_create($total_active_users_val->date) ,"d M Y"); $amount[] = floatval($total_active_users_val->total_active_users); $add_cash_color[] = "#25d5f2"; @endphp @endforeach @else $days=array(); $amount=array(); @endif @if(isset($total_registers) && !empty($total_registers)) @foreach($total_registers as $total_registers_val) @php $withdraw_amount[] = floatval($total_registers_val->total_registers); $withdraw_cash_color[] = "#ff407b"; @endphp @endforeach @else $withdraw_amount=array(); @endif @endsection