{# Copyright (c) 2015 Chintalagiri Shashank Released under the MIT license #} {# Copyright (c) 2015 Chintalagiri Shashank Released under the MIT license #} {% macro render_status(inv_status) -%}
Inventory Status
{% for code, status in inv_status.loc_status|dictsort %} {% endfor %}
Inventory Location Quantity Reserved Available
{{ status.0 }} {{ status.1 or '-' }} {{ status.2 or '-' }} {{ status.3 or '-' }}
TOTAL {{ inv_status.total_quantity }} {{ inv_status.total_reservations }} {{ inv_status.total_availability }}
{% endmacro -%} {% macro render_guideline(guideline) -%}
Inventory Guideline
Order Quantity
Minimum {{ guideline.oqty_min }}
Multiple {{ guideline.oqty_multiple }}
Baseline
Quantity {{ guideline.baseline_qty }}
Excess
Minimum (Percentage) {{ guideline.excess_min_pc }}
Minimum (Quantity) {{ guideline.excess_min_qty }}
Maximum (Quantity) {{ guideline.excess_max_qty }}
{% endmacro -%} {% macro render_transform(inv_transform, ident) -%}
Inventory Transforms
{% for code, row in inv_transform|dictsort %} {% endfor %}
Inventory Location Contextual Representation
{{ row.0 }} {{ row.1 or '' }}
Canonical {{ ident }}
{% endmacro -%}