{% extends "base.html" %} {% load static %} {% block title %}Adjust Stock{% endblock %} {% block header_title %}Adjust Stock{% endblock %} {% block content %}
Stock Adjustment for {{ product.name }}
{% if product.image %} {{ product.name }} {% else %}
{% endif %}
{{ product.name }}

Current Stock: {{ product.quantity }}

Low Stock Threshold: {{ product.low_stock_threshold }}

{% if product.is_low_stock %}

This product is below its low stock threshold.

{% endif %}
{% csrf_token %}
{{ form.adjustment_type }} {% if form.adjustment_type.errors %}
{{ form.adjustment_type.errors }}
{% endif %}
{{ form.quantity }} {% if form.quantity.errors %}
{{ form.quantity.errors }}
{% endif %}
Enter a positive number. The quantity will be added or removed based on the adjustment type.
{{ form.reason }} {% if form.reason.errors %}
{{ form.reason.errors }}
{% endif %}
Provide a reason for this stock adjustment.
Back
{% endblock %}