update for troubleshooting

This commit is contained in:
2020-06-22 20:18:31 -05:00
parent 60d47747ba
commit 49e1ec3638
4 changed files with 52 additions and 30 deletions

View File

@@ -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) {