rental moon testing
This commit is contained in:
@@ -235,6 +235,8 @@ class MoonsController extends Controller
|
|||||||
->orderBy('moon', 'ASC')
|
->orderBy('moon', 'ASC')
|
||||||
->get();
|
->get();
|
||||||
|
|
||||||
|
dd($moons);
|
||||||
|
|
||||||
foreach($moons as $moon) {
|
foreach($moons as $moon) {
|
||||||
|
|
||||||
//Check if someone is currently renting the moon
|
//Check if someone is currently renting the moon
|
||||||
@@ -284,7 +286,7 @@ class MoonsController extends Controller
|
|||||||
'FourthOre' => $moon->fourth_ore,
|
'FourthOre' => $moon->fourth_ore,
|
||||||
'FourthQuantity' => $moon->fourth_quantity,
|
'FourthQuantity' => $moon->fourth_quantity,
|
||||||
'Price' => number_format($moonprice, 0, ".", ","),
|
'Price' => number_format($moonprice, 0, ".", ","),
|
||||||
'Worth' => number_format($moon->worth),
|
'Worth' => number_format($moon->worth, 0, ".", ","),
|
||||||
'RentalEnd' => $rentalEnd,
|
'RentalEnd' => $rentalEnd,
|
||||||
'RowColor' => $color,
|
'RowColor' => $color,
|
||||||
]);
|
]);
|
||||||
|
|||||||
Reference in New Issue
Block a user