1
0
Fork 0
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:
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');
}