{#
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
Inventory Location |
Quantity |
Reserved |
Available |
{% for code, status in inv_status.loc_status|dictsort %}
{{ status.0 }} |
{{ status.1 or '-' }} |
{{ status.2 or '-' }} |
{{ status.3 or '-' }} |
{% endfor %}
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) -%}
{% endmacro -%}