mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 07:54:46 +00:00
show item description in item grid view if marked for 'In List View'
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{% $.each(visible_columns || [], function(i, df) { %}
|
||||
{% var val = doc.get_formatted(df.fieldname);
|
||||
if((df.fieldname !== "description") && val) { %}
|
||||
if(val) { %}
|
||||
<div class="row">
|
||||
<div class="col-xs-4 text-ellipsis">
|
||||
<strong title="{%= __(df.label) %}">{%= __(df.label) %}:</strong>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% var visible_columns = row.get_visible_columns(["item_code", "item_name", "description", "qty", "rate", "amount", "stock_uom", "uom", "discount_percentage", "schedule_date", "warehouse", "against_sales_order", "sales_order"]); %}
|
||||
{% var visible_columns = row.get_visible_columns(["item_code", "item_name", "qty", "rate", "amount", "stock_uom", "uom", "discount_percentage", "schedule_date", "warehouse", "against_sales_order", "sales_order"]); %}
|
||||
|
||||
{% if(!doc) { %}
|
||||
<div class="row">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{% var visible_columns = row.get_visible_columns(["item_code", "warehouse",
|
||||
"item_name", "description", "amount", "stock_uom", "uom", "qty", "schedule_date"]); %}
|
||||
"item_name", "amount", "stock_uom", "uom", "qty", "schedule_date"]); %}
|
||||
|
||||
{% if(!doc) { %}
|
||||
<div class="row">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{% var visible_columns = row.get_visible_columns(["item_code",
|
||||
"item_name", "description", "amount", "stock_uom", "uom", "qty",
|
||||
"item_name", "amount", "stock_uom", "uom", "qty",
|
||||
"s_warehouse", "t_warehouse", "incoming_rate"]);
|
||||
%}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user