mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 11:49:10 +00:00
more updates to lists and started sane filters
This commit is contained in:
committed by
Anand Doshi
parent
8544447b19
commit
873141c1a5
@@ -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>
|
||||
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user