moons admin controller

This commit is contained in:
2019-02-15 23:26:59 -06:00
parent 5e01c82bbc
commit 18537dce50
2 changed files with 2 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ class MoonsAdminController extends Controller
'Planet' => $request->planet,
'Moon' => $request->moon,
])->first();
$price = (int)$moonCalc->SpatialMoonsOnlyGoo($moon->FirstOre, $moon->FirstQuantity, $moon->SecondOre, $moon->SecondQuantity,
$price = $moonCalc->SpatialMoonsOnlyGoo($moon->FirstOre, $moon->FirstQuantity, $moon->SecondOre, $moon->SecondQuantity,
$moon->ThirdOre, $moon->ThirdQuantity, $moon->FourthOre, $moon->FourthQuantity);
$date = new Carbon($request->date . '00:00:01');

View File

@@ -21,7 +21,7 @@ class CreateMoonRentsTable extends Migration
$table->string('RentalCorp');
$table->dateTime('RentalEnd');
$table->string('Contact');
$table->float('Price', 20, 2);
$table->string('Price');
$table->timestamps();
});
}