srp admin controller

This commit is contained in:
2019-07-03 19:37:41 -05:00
parent a8e39e3125
commit ce2fc54e66

View File

@@ -111,8 +111,8 @@ class SRPAdminController extends Controller
public function displayStatistics() {
$months = 3;
$barChartData = array();
$now = Carbon::now()->toFormattedString();
$previous = Carbon::now()->subMonths(3)->toFormattedString();
$now = Carbon::now()->toDateTimeString();
$previous = Carbon::now()->subMonths(3)->toDateTimeString();
//We need a function from this library rather than recreating a new library
$srpHelper = new SRPHelper();