3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-05-06 06:35:23 +00:00

Include purchase cost column if depreciation is selected

This commit is contained in:
snipe
2017-12-05 14:02:43 -08:00
parent 027f6a7c12
commit f95d780fcf

View File

@ -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');
}