{% extends "base.html" %} {% load static %} {% block title %}{% if object %}Edit {{ object.item_name }}{% else %}Add New Item{% endif %} - Inventory{% endblock %} {% block css %} {% endblock %} {% block content %}

{% if object %}Edit Inventory Item{% else %}Add New Inventory Item{% endif %} {% if object %}{{ object.item_code }}{% else %}Medical Supplies & Equipment{% endif %}

{% csrf_token %}

Basic Information

{{ form.item_code }}
{% if form.item_code.help_text %}
{{ form.item_code.help_text }}
{% endif %} {% if form.item_code.errors %}
{{ form.item_code.errors.0 }}
{% endif %}
{{ form.item_name }} {% if form.item_name.errors %}
{{ form.item_name.errors.0 }}
{% endif %}
{{ form.description }} {% if form.description.help_text %}
{{ form.description.help_text }}
{% endif %}
{{ form.category }} {% if form.category.errors %}
{{ form.category.errors.0 }}
{% endif %}
{{ form.subcategory }}
{{ form.item_type }} {% if form.item_type.errors %}
{{ form.item_type.errors.0 }}
{% endif %}
{{ form.unit_of_measure }}

Manufacturer & Identification

{{ form.manufacturer }}
{{ form.model_number }}
{{ form.part_number }}
{{ form.upc_code }}
{{ form.ndc_code }}
For medications only
{{ form.gtin_code }}

Packaging & Pricing

{{ form.package_size }} units
{{ form.package_type }}
$ {{ form.unit_cost }}
{% if form.unit_cost.errors %}
{{ form.unit_cost.errors.0 }}
{% endif %}
$ {{ form.list_price }}

Storage Requirements

{{ form.storage_temperature_min }}
{{ form.storage_temperature_max }}
{{ form.storage_humidity_min }}
{{ form.storage_humidity_max }}
{{ form.storage_requirements }}
Describe any special storage conditions (e.g., "Keep refrigerated", "Store in dark place")

Clinical Information

{{ form.clinical_use }}
Describe the clinical applications and indications for use
{{ form.contraindications }}
List any contraindications, warnings, or precautions

Additional Notes

{{ form.notes }}
Any additional information about this item

Item Settings

{{ form.is_active }}
Inactive items are hidden from normal operations
{{ form.is_tracked }}
Enable inventory level tracking for this item
{{ form.is_serialized }}
Track individual items by serial number
{{ form.is_lot_tracked }}
Track items by lot/batch number
{{ form.has_expiration }}
Item has an expiration date

Regulatory Information

{{ form.fda_approved }}
{{ form.controlled_substance }}

Inventory Management

{{ form.reorder_point }}
Minimum stock level before reordering
{% if form.reorder_point.errors %}
{{ form.reorder_point.errors.0 }}
{% endif %}
{{ form.reorder_quantity }}
Standard quantity to order
{% if form.reorder_quantity.errors %}
{{ form.reorder_quantity.errors.0 }}
{% endif %}
{{ form.max_stock_level }}
Maximum inventory level (optional)

Supplier Information

{{ form.primary_supplier }}

Form Actions

{% if object %} {% else %} {% endif %} Cancel {% if object %}
Delete Item {% endif %}
{% endblock %} {% block js %} {% endblock %}