moon rental update for admin
This commit is contained in:
@@ -208,10 +208,10 @@ class MoonsAdminController extends Controller
|
|||||||
'RentalEnd' => $moon->RentalEnd,
|
'RentalEnd' => $moon->RentalEnd,
|
||||||
])->get(['Contact']);
|
])->get(['Contact']);
|
||||||
|
|
||||||
if($contact[0] == null) {
|
if(!isset($contact)) {
|
||||||
$contact = 'None';
|
$contact = 'None';
|
||||||
} else {
|
} else {
|
||||||
$contact = $contact[0];
|
$contact = $contact->contact;
|
||||||
}
|
}
|
||||||
|
|
||||||
//Set the color for the table
|
//Set the color for the table
|
||||||
|
|||||||
Reference in New Issue
Block a user