update for troubleshooting
This commit is contained in:
@@ -274,17 +274,6 @@ class MoonsAdminController extends Controller
|
||||
$ticker = 'N/A';
|
||||
$type = 'N/A';
|
||||
}
|
||||
|
||||
//Set up the moon rental type
|
||||
if($moon->rental_type == 'In Alliance') {
|
||||
$type = 'IA';
|
||||
} else if($moon->rental_type == 'Out of Alliance') {
|
||||
$type = 'OOA';
|
||||
} else if($moon->rental_type == 'Alliance') {
|
||||
$type = 'W4RP';
|
||||
} else {
|
||||
$type = 'N/A';
|
||||
}
|
||||
|
||||
//Check if the moon is currently being utilized by the alliance
|
||||
} else if($moon->rental_type == 'Alliance') {
|
||||
@@ -325,6 +314,17 @@ class MoonsAdminController extends Controller
|
||||
$type = 'N/A';
|
||||
}
|
||||
|
||||
//Set up the moon rental type
|
||||
if($moon->rental_type == 'In Alliance') {
|
||||
$type = 'IA';
|
||||
} else if($moon->rental_type == 'Out of Alliance') {
|
||||
$type = 'OOA';
|
||||
} else if($moon->rental_type == 'Alliance') {
|
||||
$type = 'W4RP';
|
||||
} else {
|
||||
$type = 'N/A';
|
||||
}
|
||||
|
||||
//Set the color for the table
|
||||
if($moon->rental_type != 'Alliance') {
|
||||
if($rentalTemp->diffInDays($today) < 3) {
|
||||
|
||||
@@ -295,6 +295,8 @@ class MoonsController extends Controller
|
||||
]);
|
||||
}
|
||||
|
||||
dd($table);
|
||||
|
||||
//Pass the data to the view
|
||||
return view('moons.user.moon')->with('table', $table);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user