DashboardController.php
Go to the documentation of this file.
44 $asset_stats['rtd']['percent'] = round(($asset_stats['rtd']['total']/$asset_stats['total']) * 100);
53 $asset_stats['pending']['percent'] = round(($asset_stats['pending']['total']/$asset_stats['total']) * 100);
62 $asset_stats['deployed']['percent'] = round(($asset_stats['deployed']['total']/$asset_stats['total']) * 100);
71 $asset_stats['undeployable']['percent'] = round(($asset_stats['undeployable']['total']/$asset_stats['total']) * 100);
79 $asset_stats['archived']['percent'] = round(($asset_stats['archived']['total']/$asset_stats['total']) * 100);
85 return View::make('dashboard')->with('asset_stats', $asset_stats)->with('recent_activity', $recent_activity);
Definition: AccessoriesController.php:2
This controller handles all actions related to the Admin Dashboard for the Snipe-IT Asset Management ...
Definition: DashboardController.php:18
Definition: Controller.php:30
getIndex()
Check authorization and display admin dashboard, otherwise display the user's checked-out assets...
Definition: DashboardController.php:28