2014-07-29 16:07:43 +05:30
|
|
|
{% $.each(visible_columns || [], function(i, df) { %}
|
2014-07-30 18:32:08 +05:30
|
|
|
{% var val = doc.get_formatted(df.fieldname);
|
2015-06-08 14:22:56 +05:30
|
|
|
if((df.fieldname !== "description" && df.fieldname !== "item_name") && val) { %}
|
2014-07-29 16:07:43 +05:30
|
|
|
<div class="row">
|
2016-11-02 07:34:17 +05:30
|
|
|
<div class="col-xs-4 ellipsis">
|
2014-08-11 12:28:32 +05:30
|
|
|
<strong title="{%= __(df.label) %}">{%= __(df.label) %}:</strong>
|
2014-07-29 16:07:43 +05:30
|
|
|
</div>
|
2014-08-11 12:28:32 +05:30
|
|
|
<div class="col-xs-8">
|
2014-07-30 18:32:08 +05:30
|
|
|
{%= doc.get_formatted(df.fieldname) %}
|
2014-07-29 16:07:43 +05:30
|
|
|
</div>
|
|
|
|
</div>
|
2015-07-02 15:09:18 +05:30
|
|
|
{% } else if (df.fieldname==="description") { %}
|
|
|
|
<p>{{ doc.description }}</p>
|
2014-07-29 16:07:43 +05:30
|
|
|
{% } %}
|
|
|
|
{% }); %}
|