Added product groups (this closes #55)

This commit is contained in:
Bernd Bestel
2018-09-24 13:02:52 +02:00
parent e472711d23
commit 66095738e3
15 changed files with 339 additions and 29 deletions

View File

@@ -35,7 +35,7 @@
<th>{{ $L('QU purchase') }}</th>
<th>{{ $L('QU stock') }}</th>
<th>{{ $L('QU factor') }}</th>
<th>{{ $L('Description') }}</th>
<th>{{ $L('Product group') }}</th>
</tr>
</thead>
<tbody>
@@ -68,7 +68,7 @@
{{ $product->qu_factor_purchase_to_stock }}
</td>
<td>
{{ $product->description }}
@if(!empty($product->product_group_id)) {{ FindObjectInArrayByPropertyValue($productGroups, 'id', $product->product_group_id)->name }} @endif
</td>
</tr>
@endforeach