moon rental update for admin

This commit is contained in:
2019-04-29 02:58:20 -05:00
parent 5229abcb23
commit da84b4645c

View File

@@ -208,6 +208,12 @@ class MoonsAdminController extends Controller
'RentalEnd' => $moon->RentalEnd,
])->get(['Contact']);
if($contact[0] == null) {
$contact = 'None';
} else {
$contact = $contact[0];
}
//Set the color for the table
if($rentalTemp->diffInDays($today) < 3 ) {
$color = 'table-warning';