{% extends "layout_report.html" %} {% load static %} {% load app_filters %} {% load humanize %} {% load tz %} {% block content %} {{ block.super }}
Filter:
Sort:
{% if qstr.sort_by == 'location' %}
Unit
Qty.
Whse
Row
Receiver
Item
Lot
Package
Weight
On Hand
Units
Loc Qty
{% for location in location_list %}
{{ location.whse }}
{{ location.row }}
{{ location.receiver | truncatechars:9 }}
{{ location.receiver.item.name | truncatechars:25 }}
{{ location.receiver.lot }}
{{ location.receiver.package}}
{{ location.receiver.unit_weight | floatformat:'0' | intcomma }}
{{ location.receiver.qty_on_hand | floatformat:'0' | intcomma}}
{{ location.units | floatformat:'0' | intcomma}}
{{ location.qty | floatformat:'0' | intcomma }}
{% endfor %} {% elif qstr.sort_by == 'receiver' %}
Unit
Qty.
Receiver
Item
Lot
Package
Weight
On Hand
Whse
Row
Units
Qty
{% for location in location_list %}
{{ location.receiver | truncatechars:10 }}
{{ location.receiver.item.name | truncatechars:30 }}
{{ location.receiver.lot }}
{{ location.receiver.package}}
{{ location.receiver.unit_weight | floatformat:'0' | intcomma }}
{{ location.receiver.qty_on_hand | floatformat:'0' | intcomma }}
{{ location.whse }}
{{ location.row }}
{{ location.units | floatformat:'0' | intcomma }}
{{ location.qty | floatformat:'0' | intcomma }}
{% endfor %} {% else %} {% comment - by item new layout - return to old%}
Receiver
Lot
Pkg/Weight
Qty on Hand
Whse
Row
Unit
Loc Qty
{% regroup location_list by receiver.item.name as item_list %} {% for item in item_list %}
Item:{{ item.grouper }}
Cust Item Code:{{ item.list.0.receiver.cust_item_code | truncatechars:20}}
Class/Grp:{{ item.list.0.receiver.inv_class }}/{{ item.list.0.receiver.group }}
{% for location in item.list %}
{{ location.receiver | truncatechars:15 }}
{{ location.receiver.lot }}
{{ location.receiver.package | truncatechars:12 }}/{{ location.receiver.unit_weight | floatformat:'0' | intcomma | truncatechars:12}}
{{ location.receiver.qty_on_hand | floatformat:'0' | intcomma }}
{{ location.whse }}
{{ location.row }}
{{ location.units | floatformat:'0' | intcomma }}
{{ location.qty | floatformat:'0' | intcomma }}
{% endfor %}
{% endfor %} {% endcomment %}
Cust Item
Qty. On
Item
Code
Class/Grp
Receiver
Lot
Pkg/Weight
Hand
Whse
Row
Unit
Loc Qty
{% regroup location_list by receiver.item.name as item_list %} {% for item in item_list %}
{{ item.grouper }}
{{ item.list.0.receiver.cust_item_code | truncatechars:11}}
{{ item.list.0.receiver.inv_class }}/{{ item.list.0.receiver.group }}
{% for location in item.list %}
{{ location.receiver | truncatechars:7 }}
{{ location.receiver.lot }}
{{ location.receiver.package | truncatechars:7 }}/{{ location.receiver.unit_weight | floatformat:'0' | intcomma | truncatechars:6}}
{{ location.receiver.qty_on_hand | floatformat:'0' | intcomma }}
{{ location.whse }}
{{ location.row }}
{{ location.units | floatformat:'0' | intcomma }}
{{ location.qty | floatformat:'0' | intcomma }}
{% endfor %}
{% endfor %} {% endif %} {% endblock content %} {% block body_scripts %} {{ block.super }} {% endblock body_scripts %}