[minor] notifications and other fixes to stock

This commit is contained in:
Rushabh Mehta
2015-02-25 12:04:49 +05:30
parent d75ef108fc
commit e91388381c
5 changed files with 68 additions and 59 deletions

View File

@@ -15,12 +15,10 @@
<div class="col-sm-5 col-xs-4"><strong>{%= doc.item_code %}</strong>
{% if(doc.item_name != doc.item_code) { %}
<br>{%= doc.item_name %}{% } %}
<!-- {% if(doc.item_name != doc.description) { %}
<p>{%= doc.description %}</p>{% } %} -->
{% include "templates/form_grid/includes/visible_cols.html" %}
{% if(frm.doc.docstatus==0 && doc.s_warehouse && doc.actual_qty < doc.qty) { %}
<span class="text-danger small" style="margin-left: 15px;">
<span class="octicon octicon-stop" style="font-size: 12px;"></span> Not in Stock
Not in Stock
</span>
{% } %}
</div>