moons controller

This commit is contained in:
2019-05-05 21:28:17 -05:00
parent d8836be964
commit 3256b0519d

View File

@@ -62,9 +62,7 @@ class MoonsController extends Controller
$rentalEnd = $rentalTemp->format('m-d');
}
//Setup formats as needed
$rentalTemp = new Carbon($rental->RentalEnd);
$rentalEnd = $rentalTemp->format('m-d');
//mark today's date in carbon format
$today = Carbon::now();
$price = $moonCalc->SpatialMoonsOnlyGoo($moon->FirstOre, $moon->FirstQuantity, $moon->SecondOre, $moon->SecondQuantity,