Continue working on tasks feature

This commit is contained in:
Bernd Bestel
2018-09-23 09:22:54 +02:00
parent 6fe0100927
commit f85a67a1ff
17 changed files with 370 additions and 71 deletions

View File

@@ -43,7 +43,7 @@
<th>{{ $L('Product') }}</th>
<th>{{ $L('Amount') }}</th>
<th>{{ $L('Next best before date') }}</th>
<th class="hidden">Hidden location</th>
<th class="d-none">Hidden location</th>
</tr>
</thead>
<tbody>
@@ -75,7 +75,7 @@
<span id="product-{{ $currentStockEntry->product_id }}-next-best-before-date">{{ $currentStockEntry->best_before_date }}</span>
<time id="product-{{ $currentStockEntry->product_id }}-next-best-before-date-timeago" class="timeago timeago-contextual" datetime="{{ $currentStockEntry->best_before_date }}"></time>
</td>
<td class="hidden">
<td class="d-none">
{{ FindObjectInArrayByPropertyValue($locations, 'id', FindObjectInArrayByPropertyValue($products, 'id', $currentStockEntry->product_id)->location_id)->name }}
</td>
</tr>