rental moon testing

This commit is contained in:
2020-06-05 03:00:59 -05:00
parent 7cc3788f77
commit 3b64aaca66

View File

@@ -235,6 +235,8 @@ class MoonsController extends Controller
->orderBy('moon', 'ASC')
->get();
dd($moons);
foreach($moons as $moon) {
//Check if someone is currently renting the moon
@@ -284,7 +286,7 @@ class MoonsController extends Controller
'FourthOre' => $moon->fourth_ore,
'FourthQuantity' => $moon->fourth_quantity,
'Price' => number_format($moonprice, 0, ".", ","),
'Worth' => number_format($moon->worth),
'Worth' => number_format($moon->worth, 0, ".", ","),
'RentalEnd' => $rentalEnd,
'RowColor' => $color,
]);