diff --git a/app/Http/Controllers/MoonsController.php b/app/Http/Controllers/MoonsController.php index c01926dd2..c0840cce7 100644 --- a/app/Http/Controllers/MoonsController.php +++ b/app/Http/Controllers/MoonsController.php @@ -99,7 +99,7 @@ class MoonsController extends Controller 'FourthQuantity' => $moon->FourthQuantity, 'Price' => $moonprice, 'Worth' => number_format($worth, "2", ".", ","), - 'RentalEnd' => $rental->RentalEnd, + 'RentalEnd' => $rentalEnd, 'RowColor' => $color, ]); }