mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +00:00
Show the products grocycode as a (hidden by default) column on /products (closes #1820)
This commit is contained in:
@@ -124,6 +124,7 @@
|
||||
<th class="allow-grouping">{{ $__t('Quantity unit stock') }}</th>
|
||||
<th class="">{{ $__t('Product group') }}</th>
|
||||
<th class="@if(!GROCY_FEATURE_FLAG_STOCK_PRICE_TRACKING) d-none @endif allow-grouping">{{ $__t('Default store') }}</th>
|
||||
<th class="">{{ $__t('grocycode') }}</th>
|
||||
|
||||
@include('components.userfields_thead', array(
|
||||
'userfields' => $userfields
|
||||
@@ -206,6 +207,10 @@
|
||||
{{ $store->name }}
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
<img data-src="{{ $U('/product/' . $product->id . '/grocycode?size=25') }}"
|
||||
class="lazy">
|
||||
</td>
|
||||
|
||||
@include('components.userfields_tbody', array(
|
||||
'userfields' => $userfields,
|
||||
|
Reference in New Issue
Block a user