moons admin controller

This commit is contained in:
2019-05-05 20:26:27 -05:00
parent a79f2bddbb
commit 6c3e450438

View File

@@ -201,7 +201,7 @@ class MoonsAdminController extends Controller
$price = $moonCalc->SpatialMoonsOnlyGoo($moon->FirstOre, $moon->FirstQuantity, $moon->SecondOre, $moon->SecondQuantity, $moon->ThirdOre, $moon->ThirdQuantity, $moon->FourthOre, $moon->FourthQuantity);
//Set the rental end date
$rentalEnd = new Carbon($rental->RentalEnd);
$rentalTemp = new Carbon($rental->RentalEnd);
//Set the rental end date as month / day
$rentalEnd = $rentalTemp->format('m-d');