station lookup tables

This commit is contained in:
2019-10-12 22:10:15 -05:00
parent 645ed2d6f7
commit 18ef68979c
8 changed files with 183 additions and 10 deletions

View File

@@ -30,9 +30,12 @@ class DashboardController extends Controller
foreach($tempContracts as $con) {
if($con->status != 'finished') {
dd($con->start_location_id);
$startSystem = $lookupHelper->GetSolarSystemName($con->start_location_id);
$endSystem = $lookupHelper->GetSolarSystemName($con->end_location_id);
$startStation = $lookupHelper->GetStationDetails($con->start_location_id);
$endStation = $lookupHelper->GetStationDetails($con->end_location_id);
$startSystem = $lookupHelper->GetSolarSystemName($startStation->system_id);
$endSystem = $lookupHelper->GetSolarSystemName($endStation->system_id);
$final = [
'pickup' => $startSystem,