2016-04-21 13:30:34 +00:00
|
|
|
{% for d in data %}
|
2016-04-25 12:23:42 +00:00
|
|
|
<div class="dashboard-list-item">
|
2016-04-21 13:30:34 +00:00
|
|
|
<div class="row">
|
2016-04-22 11:52:22 +00:00
|
|
|
<div class="col-sm-3 small" style="margin-top: 8px;">
|
2016-04-21 13:30:34 +00:00
|
|
|
<a data-type="warehouse" data-name="{{ d.warehouse }}">{{ d.warehouse }}</a>
|
|
|
|
</div>
|
2016-04-22 11:52:22 +00:00
|
|
|
<div class="col-sm-3 small" style="margin-top: 8px;">
|
|
|
|
{% if show_item %}
|
2016-04-21 13:30:34 +00:00
|
|
|
<a data-type="item"
|
2016-11-08 07:10:04 +00:00
|
|
|
data-name="{{ d.item_code }}">{{ d.item_code }}
|
|
|
|
{% if d.item_name != d.item_code %}({{ d.item_name }}){% endif %}
|
|
|
|
</a>
|
2016-04-21 13:30:34 +00:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-4 small">
|
|
|
|
<span class="inline-graph">
|
|
|
|
<span class="inline-graph-half" title="{{ __("Reserved Qty") }}">
|
|
|
|
<span class="inline-graph-count">{{ d.total_reserved }}</span>
|
|
|
|
<span class="inline-graph-bar">
|
|
|
|
<span class="inline-graph-bar-inner"
|
|
|
|
style="width: {{ cint(Math.abs(d.total_reserved)/max_count * 100) || 5 }}%">
|
2016-04-18 13:57:36 +00:00
|
|
|
</span>
|
|
|
|
</span>
|
2016-04-21 13:30:34 +00:00
|
|
|
</span>
|
2017-04-06 18:03:36 +00:00
|
|
|
<span class="inline-graph-half" title="{{ __("Actual Qty {0} / Waiting Qty {1}", [d.actual_qty, d.pending_qty]) }}">
|
2016-04-21 13:30:34 +00:00
|
|
|
<span class="inline-graph-count">
|
|
|
|
{{ d.actual_qty }} {{ (d.pending_qty > 0) ? ("(" + d.pending_qty+ ")") : "" }}
|
|
|
|
</span>
|
|
|
|
<span class="inline-graph-bar">
|
|
|
|
<span class="inline-graph-bar-inner dark"
|
|
|
|
style="width: {{ cint(d.actual_qty/max_count * 100) }}%">
|
2016-04-18 13:57:36 +00:00
|
|
|
</span>
|
2016-04-21 13:30:34 +00:00
|
|
|
{% if d.pending_qty > 0 %}
|
|
|
|
<span class="inline-graph-bar-inner" title="{{ __("Projected Qty") }}"
|
|
|
|
style="width: {{ cint(d.pending_qty/max_count * 100) }}%">
|
2016-04-18 13:57:36 +00:00
|
|
|
</span>
|
2016-04-21 13:30:34 +00:00
|
|
|
{% endif %}
|
2016-04-18 13:57:36 +00:00
|
|
|
</span>
|
|
|
|
</span>
|
2016-04-21 13:30:34 +00:00
|
|
|
</span>
|
2016-04-18 13:57:36 +00:00
|
|
|
</div>
|
2016-04-21 13:30:34 +00:00
|
|
|
</div>
|
2016-04-25 12:23:42 +00:00
|
|
|
</div>
|
2018-01-25 11:41:52 +00:00
|
|
|
{% endfor %}
|