2016-04-21 19:00:34 +05:30
|
|
|
{% for d in data %}
|
2016-04-25 17:53:42 +05:30
|
|
|
<div class="dashboard-list-item">
|
2016-04-21 19:00:34 +05:30
|
|
|
<div class="row">
|
2020-08-23 16:36:28 +05:30
|
|
|
<div class="col-sm-3" style="margin-top: 8px;">
|
2016-04-21 19:00:34 +05:30
|
|
|
<a data-type="warehouse" data-name="{{ d.warehouse }}">{{ d.warehouse }}</a>
|
|
|
|
</div>
|
2020-08-23 16:36:28 +05:30
|
|
|
<div class="col-sm-3" style="margin-top: 8px;">
|
2016-04-22 17:22:22 +05:30
|
|
|
{% if show_item %}
|
2016-04-21 19:00:34 +05:30
|
|
|
<a data-type="item"
|
2016-11-08 12:40:04 +05:30
|
|
|
data-name="{{ d.item_code }}">{{ d.item_code }}
|
|
|
|
{% if d.item_name != d.item_code %}({{ d.item_name }}){% endif %}
|
|
|
|
</a>
|
2016-04-21 19:00:34 +05:30
|
|
|
{% endif %}
|
|
|
|
</div>
|
2020-08-23 16:36:28 +05:30
|
|
|
<div class="col-sm-4">
|
2016-04-21 19:00:34 +05:30
|
|
|
<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 19:27:36 +05:30
|
|
|
</span>
|
|
|
|
</span>
|
2016-04-21 19:00:34 +05:30
|
|
|
</span>
|
2017-04-06 20:03:36 +02:00
|
|
|
<span class="inline-graph-half" title="{{ __("Actual Qty {0} / Waiting Qty {1}", [d.actual_qty, d.pending_qty]) }}">
|
2016-04-21 19:00:34 +05:30
|
|
|
<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 19:27:36 +05:30
|
|
|
</span>
|
2016-04-21 19:00:34 +05:30
|
|
|
{% 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 19:27:36 +05:30
|
|
|
</span>
|
2016-04-21 19:00:34 +05:30
|
|
|
{% endif %}
|
2016-04-18 19:27:36 +05:30
|
|
|
</span>
|
|
|
|
</span>
|
2016-04-21 19:00:34 +05:30
|
|
|
</span>
|
2016-04-18 19:27:36 +05:30
|
|
|
</div>
|
2019-07-05 10:38:48 +05:30
|
|
|
{% if can_write %}
|
2020-08-23 16:36:28 +05:30
|
|
|
<div class="col-sm-2 text-right" style="margin: var(--margin-sm) 0;">
|
2019-07-05 10:38:48 +05:30
|
|
|
{% if d.actual_qty %}
|
|
|
|
<button class="btn btn-default btn-xs btn-move"
|
2019-07-10 10:22:08 +05:30
|
|
|
data-disable_quick_entry="{{ d.disable_quick_entry }}"
|
2019-07-05 10:38:48 +05:30
|
|
|
data-warehouse="{{ d.warehouse }}"
|
|
|
|
data-actual_qty="{{ d.actual_qty }}"
|
|
|
|
data-item="{{ escape(d.item_code) }}">{{ __("Move") }}</a>
|
|
|
|
{% endif %}
|
|
|
|
<button style="margin-left: 7px;" class="btn btn-default btn-xs btn-add"
|
2019-07-10 10:22:08 +05:30
|
|
|
data-disable_quick_entry="{{ d.disable_quick_entry }}"
|
2019-07-05 10:38:48 +05:30
|
|
|
data-warehouse="{{ d.warehouse }}"
|
|
|
|
data-actual_qty="{{ d.actual_qty }}"
|
|
|
|
data-item="{{ escape(d.item_code) }}"
|
|
|
|
data-rate="{{ d.valuation_rate }}">{{ __("Add") }}</a>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2016-04-21 19:00:34 +05:30
|
|
|
</div>
|
2016-04-25 17:53:42 +05:30
|
|
|
</div>
|
2018-01-25 17:11:52 +05:30
|
|
|
{% endfor %}
|