This commit is contained in:
Graham Campbell
2014-12-20 21:20:17 +00:00
parent 26e4361d8a
commit 9d8d89248f
103 changed files with 2478 additions and 2353 deletions
+3 -3
View File
@@ -1,9 +1,9 @@
<?php
View::composer('index', function($view) {
View::composer('index', function ($view) {
$date = date('Y-m-d');
$incidents = Incident::whereRaw('DATE(created_at) = "' . $date . '"')
$incidents = Incident::whereRaw('DATE(created_at) = "'.$date.'"')
->groupBy('status')
->orderBy('status', 'desc');
@@ -19,6 +19,6 @@ View::composer('index', function($view) {
$view->with([
'systemStatus' => $status,
'systemMessage' => $message
'systemMessage' => $message,
]);
});