A free open source IT asset/license management system
Removed box header
snipef2d883e71168
diff --git a/app/Http/Controllers/DepreciationsController.php b/app/Http/Controllers/DepreciationsController.phpindex a84174dc83..acdf06a4ff 100755--- a/app/Http/Controllers/DepreciationsController.php+++ b/app/Http/Controllers/DepreciationsController.php@@ -100,11 +100,7 @@ class DepreciationsController extends Controllerreturn Redirect::to('admin/settings/depreciations')->with('error', trans('admin/depreciations/message.does_not_exist'));}- // Show the page- //$depreciation_options = array('' => 'Top Level') + Depreciation::lists('name', 'id');-- $depreciation_options = Helper::depreciationList();- return View::make('depreciations/edit', compact('depreciation'))->with('depreciation_options', $depreciation_options);+ return View::make('depreciations/edit', compact('depreciation'));}diff --git a/resources/views/depreciations/edit.blade.php b/resources/views/depreciations/edit.blade.phpindex 03a0540d6a..e198bcf785 100755--- a/resources/views/depreciations/edit.blade.php+++ b/resources/views/depreciations/edit.blade.php@@ -29,11 +29,7 @@<input type="hidden" name="_token" value="{{ csrf_token() }}" /><div class="box box-default">- @if ($depreciation->id)- <div class="box-heading">- {{ $depreciation->name }}- </div>- @endif+<div class="box-body">