Skip to content

Commit

Permalink
Update production.bom_table.hbs
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-dvorak authored Nov 15, 2023
1 parent ff23c46 commit 624fc17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/OpenIntranet/templates/production.bom_table.hbs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{%for i, row in enumerate(data) %}
{% set valid = bson.objectid.ObjectId.is_valid(row['cUST_ID']) %}

{% set exclude_row = row.get('_id', {}).get('exclude_from_bom', False) %}
{% set exclude_row = row.get('exclude_from_bom', False) %}
{% if not exclude_row %}
<tr>
<td>
<div>#{{i+1}}</div>
<div title="{{row}}">#{{i+1}}</div>
<div> <input type="checkbox" name=""> </div>
<div><b>{{len(row['Ref'])}} &times;<b></div>
</td>
Expand Down

0 comments on commit 624fc17

Please sign in to comment.