{% $.each(visible_columns || [], function(i, df) { %} {% var val = doc.get_formatted(df.fieldname); if((df.fieldname !== "description" && df.fieldname !== "item_name") && val) { %}