From c533bc5fd64416fadaf7c7b80b655b617dc1f190 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Sat, 12 Oct 2019 22:50:09 -0500 Subject: [PATCH] dashboard --- app/Http/Controllers/Dashboard/DashboardController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/Dashboard/DashboardController.php b/app/Http/Controllers/Dashboard/DashboardController.php index 521f06c..98a8207 100644 --- a/app/Http/Controllers/Dashboard/DashboardController.php +++ b/app/Http/Controllers/Dashboard/DashboardController.php @@ -31,6 +31,7 @@ class DashboardController extends Controller foreach($tempContracts as $con) { if($con->status != 'finished') { + //Find start and end station. Need to work on how to tell citadels later. $startStation = $lookupHelper->GetStationDetails($con->start_location_id); $endStation = $lookupHelper->GetStationDetails($con->end_location_id); @@ -44,7 +45,7 @@ class DashboardController extends Controller if(isset($endStation->system_id)) { $endSystem = $lookupHelper->GetSolarSystemName($endStation->system_id); } else { - $endStation = 'N/A'; + $endSystem = 'N/A'; } //Compile the final array