srp history

This commit is contained in:
2019-11-06 23:01:31 -06:00
parent dc8179a23a
commit e203f6e0d5
3 changed files with 95 additions and 0 deletions

View File

@@ -132,6 +132,20 @@ class SRPAdminController extends Controller
}
}
public function displayHistory() {
$srpApproved = SRPShip::where([
'approved' => 'Approved',
])->paginate(25);
$srpDenied = SRPShip::where([
'approved' => 'Denied',
])->paginate(25);
return view('srp.admin.history')->with('srpApproved', $srpApproved)
->with('srpDenied', $srpDenied);
}
public function displayStatistics() {
$months = 3;
$barChartData = array();