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

14 lines
363 B
HTML

{% $.each(visible_columns || [], function(i, df) { %}
{% var val = doc.get_formatted(df.fieldname);
if(val) { %}
<div class="row">
<div class="col-xs-4 text-ellipsis">
<strong title="{%= __(df.label) %}">{%= __(df.label) %}:</strong>
</div>
<div class="col-xs-8">
{%= doc.get_formatted(df.fieldname) %}
</div>
</div>
{% } %}
{% }); %}