mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Include purchase cost column if depreciation is selected
This commit is contained in:
parent
027f6a7c12
commit
f95d780fcf
|
@ -473,7 +473,7 @@ class ReportsController extends Controller
|
|||
$header[] = trans('admin/hardware/table.purchase_date');
|
||||
}
|
||||
|
||||
if ($request->has('purchase_cost')) {
|
||||
if (($request->has('purchase_cost')) || ($request->has('depreciation'))) {
|
||||
$header[] = trans('admin/hardware/table.purchase_cost');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue