Inventory is always possible, also when the produc is not in stock currently (references #327)

This commit is contained in:
Bernd Bestel
2019-09-20 18:26:32 +02:00
parent 63d7f8f36d
commit 1ae5f552d1

View File

@@ -140,7 +140,7 @@
data-product-id="{{ $currentStockEntry->product_id }}">
<i class="fas fa-utensils"></i> {{ $__t('Consume') }}
</a>
<a class="dropdown-item product-inventory-button @if($currentStockEntry->amount < 1) disabled @endif" type="button" href="#"
<a class="dropdown-item product-inventory-button" type="button" href="#"
data-product-id="{{ $currentStockEntry->product_id }}">
<i class="fas fa-list"></i> {{ $__t('Inventory') }}
</a>