Make it possible to hide columns (closes #1058)

Hide new overview page columns by default
This commit is contained in:
Bernd Bestel
2020-11-11 21:11:17 +01:00
parent b15740bded
commit 0245a925b7
30 changed files with 307 additions and 58 deletions

View File

@@ -36,7 +36,13 @@
class="table table-sm table-striped nowrap w-100">
<thead>
<tr>
<th class="border-right"></th>
<th class="border-right"><a id="change-table-columns-visibility"
class="text-muted"
data-toggle="tooltip"
title="{{ $__t('Hide/view columns') }}"
data-table-selector="#stockentries-table"
href="#"><i class="fas fa-eye"></i></a>
</th>
<th class="d-none">product_id</th> <!-- This must be in the first column for searching -->
<th>{{ $__t('Product') }}</th>
<th>{{ $__t('Amount') }}</th>