srp testing

This commit is contained in:
2019-07-08 22:48:48 -05:00
parent 0deae9e495
commit 73034f2f74

View File

@@ -141,15 +141,13 @@ class SRPAdminController extends Controller
$total = SRPShip::where(['fleet_commander_name' => $name->fleet_commander_name])
->sum('loss_value');
$temp = [
'fc' => $name,
'fc' => $name->fleet_commander_name,
'total' => $total,
];
array_push($barChartData, $temp);
}
dd($barChartData);
//Pie Chart for approval, denied, and under review
$lava = new Lavacharts; // See note below for Laravel