{% extends "base.html" %} {% load static %} {% block title %}{% if object %}Edit Stock{% else %}New Stock Entry{% endif %}{% endblock %} {% block content %}

{% if object %}Edit Stock - {{ object.item.name }}{% else %}Create Stock Entry{% endif %}

Back to Stock List

Stock Information

{% if messages %} {% for message in messages %} {% endfor %} {% endif %}
{% csrf_token %}
{% if form.item.errors %}
{{ form.item.errors.0 }}
{% endif %}
{% if form.location.errors %}
{{ form.location.errors.0 }}
{% endif %}
{% if form.current_quantity.errors %}
{{ form.current_quantity.errors.0 }}
{% endif %}
{% if form.minimum_quantity.errors %}
{{ form.minimum_quantity.errors.0 }}
{% endif %}
{% if form.reorder_level.errors %}
{{ form.reorder_level.errors.0 }}
{% endif %}
{% if form.maximum_quantity.errors %}
{{ form.maximum_quantity.errors.0 }}
{% endif %}
Optional: Maximum storage capacity for this location
$
{% if form.unit_cost.errors %}
{{ form.unit_cost.errors.0 }}
{% endif %}
$
Automatically calculated: Quantity × Unit Cost
{% if form.batch_number.errors %}
{{ form.batch_number.errors.0 }}
{% endif %}
{% if form.expiry_date.errors %}
{{ form.expiry_date.errors.0 }}
{% endif %}
{% if form.notes.errors %}
{{ form.notes.errors.0 }}
{% endif %}
{% if object %} Cancel {% else %} Cancel {% endif %}
Stock Level Guidelines
Minimum Quantity

The lowest acceptable stock level. When stock reaches this level, immediate action is required to prevent stockouts.

Reorder Level

The stock level that triggers a reorder. Should be set higher than minimum quantity to account for lead times.

Maximum Quantity

The maximum storage capacity for this location. Helps prevent overstocking and storage issues.

Recommended: Reorder Level should be 2-3 times the Minimum Quantity to ensure adequate buffer stock.
Quick Actions
{% endblock %}