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

@@ -393,7 +393,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="#barcode-table"
href="#"><i class="fas fa-eye"></i></a>
</th>
<th>{{ $__t('Barcode') }}</th>
@if(GROCY_FEATURE_FLAG_STOCK_PRICE_TRACKING)
<th>{{ $__t('Store') }}</th>
@@ -478,7 +484,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="#qu-conversion-table"
href="#"><i class="fas fa-eye"></i></a>
</th>
<th>{{ $__t('Quantity unit from') }}</th>
<th>{{ $__t('Quantity unit to') }}</th>
<th>{{ $__t('Factor') }}</th>