summaryrefslogtreecommitdiff
path: root/templates/inventory/product.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/inventory/product.html')
-rw-r--r--templates/inventory/product.html13
1 files changed, 8 insertions, 5 deletions
diff --git a/templates/inventory/product.html b/templates/inventory/product.html
index bd2306b..d86623a 100644
--- a/templates/inventory/product.html
+++ b/templates/inventory/product.html
@@ -71,10 +71,13 @@ with the Taler Codeless Merchant. If not, see <https://www.gnu.org/licenses/>.
- <form name="update_stock" action="{{ url_update_inventory }}" method="post" enctype="multipart/form-data">
- {% csrf_token %}
- <input type="number" name="stock_updated" id="stock_updated" placeholder="Update Stock" required>
- <button name="update_stock" type="submit" class="submit">Update</button>
- </form>
+ {% if digital == 'False' %}
+ <form name="update_stock" action="{{ url_update_inventory }}" method="post" enctype="multipart/form-data">
+ {% csrf_token %}
+ <input type="number" name="stock_updated" id="stock_updated" placeholder="Update Stock" required>
+ <button name="update_stock" type="submit" class="submit">Update</button>
+ <br>
+ </form>
+ {% endif %}
</div>
{% endblock content %} \ No newline at end of file