srp testing

This commit is contained in:
2019-07-08 22:45:57 -05:00
parent d81ca33b0a
commit 0bb0ae7888

View File

@@ -136,7 +136,7 @@ class SRPAdminController extends Controller
$gaugeReview = $pieOpen;
//Get the losses by Fleet Commander Name, and populate variables for the table
$fcNames = SRPShip::pluck('fleet_commander_name');
$fcNames = SRPShip::pluck('fleet_commander_name')->groupBy('fleet_commander_name');
dd($fcNames);
foreach($fcNames as $name) {
$total = SRPShip::where(['fleet_commander_name' => $name])