moon rental update for admin
This commit is contained in:
@@ -211,13 +211,11 @@ class MoonsAdminController extends Controller
|
|||||||
'RentalEnd' => $moon->RentalEnd,
|
'RentalEnd' => $moon->RentalEnd,
|
||||||
])->first()->toArray();
|
])->first()->toArray();
|
||||||
|
|
||||||
dd($contact);
|
|
||||||
|
|
||||||
if(!isset($contact['Contact'])) {
|
if(!isset($contact['Contact'])) {
|
||||||
$contact = 'None';
|
$contact = 'None';
|
||||||
} else {
|
} else {
|
||||||
//Get the name of the character
|
//Get the name of the character
|
||||||
$contact = $lookup->CharacterName($contact->Contact);
|
$contact = $lookup->CharacterName($contact['Contact']);
|
||||||
}
|
}
|
||||||
|
|
||||||
//Set the color for the table
|
//Set the color for the table
|
||||||
|
|||||||
Reference in New Issue
Block a user