Fixing Typo on creating Depreciation

This commit is contained in:
James Emanuel 2021-08-16 15:33:17 +03:00 committed by GitHub
parent 29c584289f
commit 98285001ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -69,7 +69,7 @@ class DepreciationsController extends Controller
// Depreciation data // Depreciation data
$depreciation->name = $request->input('name'); $depreciation->name = $request->input('name');
$depreciation->months = $request->input('months'); $depreciation->months = $request->input('months');
$depreciation->depreciations_min= $request->input('depreciation_min'); $depreciation->depreciation_min= $request->input('depreciation_min');
$depreciation->user_id = Auth::id(); $depreciation->user_id = Auth::id();
// Was the asset created? // Was the asset created?