moon admin controller
This commit is contained in:
@@ -246,19 +246,18 @@ class MoonsAdminController extends Controller
|
|||||||
|
|
||||||
//Calculate hte price of the moon based on what is in the moon
|
//Calculate hte price of the moon based on what is in the moon
|
||||||
$price = $moonCalc->SpatialMoonsOnlyGoo($moon->FirstOre, $moon->FirstQuantity, $moon->SecondOre, $moon->SecondQuantity, $moon->ThirdOre, $moon->ThirdQuantity, $moon->FourthOre, $moon->FourthQuantity);
|
$price = $moonCalc->SpatialMoonsOnlyGoo($moon->FirstOre, $moon->FirstQuantity, $moon->SecondOre, $moon->SecondQuantity, $moon->ThirdOre, $moon->ThirdQuantity, $moon->FourthOre, $moon->FourthQuantity);
|
||||||
dd($ticker);
|
|
||||||
//Add the data to the html string to be passed to the view
|
//Add the data to the html string to be passed to the view
|
||||||
array_push($table, [
|
array_push($table, [
|
||||||
'SPM' => $moon->System . ' - ' . $moon->Planet . ' - ' . $moon->Moon,
|
'SPM' => $moon->System . ' - ' . $moon->Planet . ' - ' . $moon->Moon,
|
||||||
'StructureName' => $moon->StructureName,
|
'StructureName' => $moon->StructureName,
|
||||||
'AlliancePrice' => $price['alliance'],
|
'AlliancePrice' => $price['alliance'],
|
||||||
'OutOfAlliancePrice' => $price['outofalliance'],
|
'OutOfAlliancePrice' => $price['outofalliance'],
|
||||||
'Renter' => $ticker,
|
|
||||||
'RentalEnd' => $rentalEnd,
|
'RentalEnd' => $rentalEnd,
|
||||||
'RowColor' => $color,
|
'RowColor' => $color,
|
||||||
'Paid' => $paid,
|
'Paid' => $paid,
|
||||||
'Contact' => $contact,
|
'Contact' => $contact,
|
||||||
'Renter' => $renter,
|
'Renter' => $ticker,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user