srp admin dashboard stuff

This commit is contained in:
2020-03-06 19:16:23 -06:00
parent 88697d30c5
commit ff8b19c75b
3 changed files with 8 additions and 1 deletions

View File

@@ -111,6 +111,7 @@ class SRPController extends Controller
$fcId = User::where(['name' => $request->FC])->get(['character_id']);
//Take the loss value and remove ' ISK' from it. Convert the string to a number
//May need to work on some locale stuff here but will think about it first.
$lossValue = str_replace(' ISK', '', $request->LossValue);
$lossValue = str_replace(',', '', $lossValue);
$lossValue = floatval($lossValue);