brotherton-erpnext/erpnext/templates/form_grid/includes/visible_cols.html
2014-08-08 11:56:31 +05:30

14 lines
321 B
HTML

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