moon rental update for admin

This commit is contained in:
2019-04-29 03:14:40 -05:00
parent ae196f1bca
commit e83900ff10

View File

@@ -211,13 +211,11 @@ class MoonsAdminController extends Controller
'RentalEnd' => $moon->RentalEnd,
])->first()->toArray();
dd($contact);
if(!isset($contact['Contact'])) {
$contact = 'None';
} else {
//Get the name of the character
$contact = $lookup->CharacterName($contact->Contact);
$contact = $lookup->CharacterName($contact['Contact']);
}
//Set the color for the table