rental moon testing

This commit is contained in:
2020-06-06 04:04:27 -05:00
parent 1717cd9d3b
commit 3d6a2a67ad

View File

@@ -239,7 +239,7 @@ class MoonsAdminController extends Controller
//For each of the moons compile different data for the view for formatting
foreach($rentalMoons as $moon) {
dd($moon->rental_type);
//Check if a current rental for the moon is on going
if(($moon->rental_type == 'In Alliance' || $moon->rental_type == 'Out of Alliance')) {
$paid = $moon->paid;
@@ -337,6 +337,8 @@ class MoonsAdminController extends Controller
$color = 'table-info';
}
dd($table);
//Add the data to the html string to be passed to the view
array_push($table, [
'SPM' => $moon->system . " - " . $moon->planet . " - " . $moon->moon,