brotherton-erpnext/erpnext/templates/form_grid/includes/visible_cols.html

14 lines
431 B
HTML
Raw Normal View History

{% $.each(visible_columns || [], function(i, df) { %}
2014-07-30 13:02:08 +00:00
{% var val = doc.get_formatted(df.fieldname);
if((df.fieldname !== "description" && df.fieldname !== "item_name") && val) { %}
<div class="row">
<div class="col-xs-4 text-ellipsis">
<strong title="{%= __(df.label) %}">{%= __(df.label) %}:</strong>
</div>
<div class="col-xs-8">
2014-07-30 13:02:08 +00:00
{%= doc.get_formatted(df.fieldname) %}
</div>
</div>
{% } %}
{% }); %}