{% extends "layout_report.html" %} {% load tz %} {% load humanize %} {% load app_filters %} {% block content %} {{ block.super }}
Receiver
Class
Group
CustItemCode
Item
Lot
Last Trans
Date
Qty On Hand
 
{% regroup inv_list by customer as inventory_list %} {% for customer in inventory_list %}
Customer: {{ customer.grouper }}
{% for inv in customer.list %}
{{ inv.receiver }}
{{ inv.inv_class }}
{{ inv.group }}
{{ inv.cust_item_code }}
{{ inv.item.name }}
{{ inv.lot }}
{{ inv.latest_date }}
{{ inv.qty_on_hand | floatformat:'0' | intcomma }}
{% if inv.days_inactive > 45 and inv.days_inactive <= 90 %}* {% elif inv.days_inactive > 90 and inv.days_inactive <= 180 %}** {% elif inv.days_inactive > 180 and inv.days_inactive <= 360 %}*** {% else %}****{% endif %}
{% endfor %} {% endfor %} {% endblock content %}