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

@@ -18,7 +18,11 @@
<p>{%= doc.description %}</p>{% } %}
{% include "templates/form_grid/includes/visible_cols.html" %}
<div>
{% if(doc.s_warehouse) { %}<span class="label label-default">
{% if(doc.s_warehouse) { %}<span class="label
{%= (doc.actual_qty >= doc.qty) ? "label-success"
: "label-danger" %}"
title="{%= (doc.actual_qty >= doc.qty) ? __("In Stock")
: __("Not In Stock") %}">
{%= doc.s_warehouse || "" %}</span>{% } %}
<i class="icon-long-arrow-right"></i>
{% if(doc.t_warehouse) { %}<span class="label label-primary">