more updates to lists and started sane filters

This commit is contained in:
Rushabh Mehta
2014-08-01 16:07:59 +05:30
committed by Anand Doshi
parent 8544447b19
commit 873141c1a5
12 changed files with 87 additions and 10 deletions

View File

@@ -23,11 +23,12 @@
{% } %}
{% include "templates/form_grid/includes/visible_cols.html" %}
{% if(doc.schedule_date) { %}
<br><span title="{%= __("Reqd By Date") %}" class="label {%=
<div><span title="{%= __("Reqd By Date") %}" class="label {%=
(frappe.datetime.get_diff(doc.schedule_date) < 1
&& doc.received_qty < doc.qty)
? "label-danger" : "label-default" %}">
{%= doc.get_formatted("schedule_date") %}</span>
</div>
{% } %}
</div>