Merge pull request #16531 from akemidx/bug/sc-28715
FIXED: Purchase Cost Column Always Shown
This commit is contained in:
commit
43c310c82d
1 changed files with 1 additions and 1 deletions
|
@ -485,7 +485,7 @@ class ReportsController extends Controller
|
||||||
$header[] = trans('admin/hardware/table.purchase_date');
|
$header[] = trans('admin/hardware/table.purchase_date');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (($request->filled('purchase_cost')) || ($request->filled('depreciation'))) {
|
if ($request->filled('purchase_cost')) {
|
||||||
$header[] = trans('admin/hardware/table.purchase_cost');
|
$header[] = trans('admin/hardware/table.purchase_cost');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue