mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 00:44:45 +00:00
built item grids for sales, purchase, stock
This commit is contained in:
committed by
Anand Doshi
parent
c13727adba
commit
b5e768906a
13
erpnext/templates/form_grid/includes/visible_cols.html
Normal file
13
erpnext/templates/form_grid/includes/visible_cols.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{% $.each(visible_columns || [], function(i, df) { %}
|
||||
{% var val = row.get_formatted(df.fieldname);
|
||||
if(val) { %}
|
||||
<div class="row">
|
||||
<div class="col-xs-3">
|
||||
<strong>{%= __(df.label) %}:</strong>
|
||||
</div>
|
||||
<div class="col-xs-9">
|
||||
{%= row.get_formatted(df.fieldname) %}
|
||||
</div>
|
||||
</div>
|
||||
{% } %}
|
||||
{% }); %}
|
||||
Reference in New Issue
Block a user