srp testing
This commit is contained in:
@@ -141,15 +141,13 @@ class SRPAdminController extends Controller
|
|||||||
$total = SRPShip::where(['fleet_commander_name' => $name->fleet_commander_name])
|
$total = SRPShip::where(['fleet_commander_name' => $name->fleet_commander_name])
|
||||||
->sum('loss_value');
|
->sum('loss_value');
|
||||||
$temp = [
|
$temp = [
|
||||||
'fc' => $name,
|
'fc' => $name->fleet_commander_name,
|
||||||
'total' => $total,
|
'total' => $total,
|
||||||
];
|
];
|
||||||
|
|
||||||
array_push($barChartData, $temp);
|
array_push($barChartData, $temp);
|
||||||
}
|
}
|
||||||
|
|
||||||
dd($barChartData);
|
|
||||||
|
|
||||||
//Pie Chart for approval, denied, and under review
|
//Pie Chart for approval, denied, and under review
|
||||||
$lava = new Lavacharts; // See note below for Laravel
|
$lava = new Lavacharts; // See note below for Laravel
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user