mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
Remove Parsefloat. Again.
This commit is contained in:
parent
8179fc2f90
commit
aa13b24bbc
|
@ -155,7 +155,7 @@ class AssetsController extends Controller
|
||||||
if (e(Input::get('purchase_cost')) == '') {
|
if (e(Input::get('purchase_cost')) == '') {
|
||||||
$asset->purchase_cost = null;
|
$asset->purchase_cost = null;
|
||||||
} else {
|
} else {
|
||||||
$asset->purchase_cost = \App\Helpers\Helper::ParseFloat(e(Input::get('purchase_cost')));
|
$asset->purchase_cost = (e(Input::get('purchase_cost')));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (e(Input::get('purchase_date')) == '') {
|
if (e(Input::get('purchase_date')) == '') {
|
||||||
|
|
Loading…
Reference in a new issue