fix structure name

This commit is contained in:
2021-07-10 23:27:10 -05:00
parent 4ac1ef0e73
commit 6afba02675

View File

@@ -412,9 +412,9 @@ class MiningTaxesController extends Controller
//Basically get the structure info and attach it to the variable set //Basically get the structure info and attach it to the variable set
foreach($extractions as $ex) { foreach($extractions as $ex) {
$sName = $sHelper->GetStructureInfo($ex->structure_id); $sName = $sHelper->GetStructureInfo($ex->structure_id);
dd($sName); //Add the information into the structures array to go to the page to be displayed
array_push($structures, [ array_push($structures, [
'structure_name' => $sName->name, 'structure_name' => $sName->structure_name,
'start_time' => $esiHelper->DecodeDate($ex->extraction_start_time), 'start_time' => $esiHelper->DecodeDate($ex->extraction_start_time),
'arrival_time' => $esiHelper->DecodeDate($ex->chunk_arrival_time), 'arrival_time' => $esiHelper->DecodeDate($ex->chunk_arrival_time),
'decay_time' => $esiHelper->DecodeDate($ex->natural_decay_time), 'decay_time' => $esiHelper->DecodeDate($ex->natural_decay_time),