Merge pull request #10011 from inietov/fixes/quotations_turn_into_html_entity

Fixes Quotations turn into HTML entity
This commit is contained in:
snipe 2021-08-31 11:00:38 -07:00 committed by GitHub
commit 96c0dba92b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -209,10 +209,10 @@ class AssetMaintenancesController extends Controller
return static::getInsufficientPermissionsRedirect(); return static::getInsufficientPermissionsRedirect();
} }
$assetMaintenance->supplier_id = e($request->input('supplier_id')); $assetMaintenance->supplier_id = $request->input('supplier_id');
$assetMaintenance->is_warranty = e($request->input('is_warranty')); $assetMaintenance->is_warranty = $request->input('is_warranty');
$assetMaintenance->cost = Helper::ParseFloat(e($request->input('cost'))); $assetMaintenance->cost = Helper::ParseFloat($request->input('cost'));
$assetMaintenance->notes = e($request->input('notes')); $assetMaintenance->notes = $request->input('notes');
$asset = Asset::find(request('asset_id')); $asset = Asset::find(request('asset_id'));