{% extends "base.html" %} {% load static %} {% block title %}Pharmacy Inventory - {{ block.super }}{% endblock %} {% block content %}
Total Items
Low Stock
Expired Items
Total Value
|
|
Medication | Location | Current Stock | Min Level | Lot Number | Expiry Date | Unit Cost | Status | Actions |
|---|---|---|---|---|---|---|---|---|---|
|
|
{% if item.medication.is_controlled_substance %}
{% else %}
{% endif %}
{{ item.medication.generic_name }}
{% if item.medication.brand_name %}
{{ item.medication.brand_name }}
{% endif %}
{{ item.medication.strength }} {{ item.medication.get_unit_of_measure_display }} |
{{ item.location.name }}
{% if item.location.description %}
{{ item.location.description }} {% endif %} |
{{ item.current_stock }}
{{ item.get_unit_of_measure_display }}
{% if item.is_low_stock %}
Low Stock
{% elif item.current_stock == 0 %}
Out of Stock
{% endif %}
|
{{ item.minimum_stock_level }} |
{{ item.lot_number }}
{% if item.supplier %}
{{ item.supplier.name }} {% endif %} |
{{ item.expiry_date|date:"M d, Y" }}
{% if item.is_expired %}
Expired
{% elif item.is_expiring_soon %}
Expiring Soon
{% else %}
{{ item.days_until_expiry }} days
{% endif %}
|
{% if item.unit_cost %}
${{ item.unit_cost|floatformat:2 }}
Total: ${{ item.total_value|floatformat:2 }}
{% else %}
N/A
{% endif %}
|
{% if item.is_expired %} Expired {% elif item.current_stock == 0 %} Out of Stock {% elif item.is_low_stock %} Low Stock {% elif item.is_expiring_soon %} Expiring Soon {% else %} In Stock {% endif %} | |
|
No inventory items found Try adjusting your search criteria or add a new item |
|||||||||