add form for system rentals

This commit is contained in:
2020-08-12 03:02:04 -05:00
parent 5688f6ebb8
commit 72502ae53f
2 changed files with 4 additions and 4 deletions

View File

@@ -289,12 +289,12 @@ class SupplyChainController extends Controller
$cStringSize = strlen($request->bid);
$tempCol = str_split($request->bid, $cStringSize - 1);
$bidAmount = $tempCol[0];
$bidAmount = $bidAmount * 1000000000.00;
$bidAmount = $bidAmount * 1000000.00;
} else if(preg_match('(b|B)', $request->bid) === 1) {
$cStringSize = strlen($request->bid);
$tempCol = str_split($request->bid, $cStringSize - 1);
$bidAmount = $tempCol[0];
$bidAmount = $bidAmount * 1000000000000.00;
$bidAmount = $bidAmount * 1000000000.00;
}
} else {
$bidAmount = $request->bid;