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 2a2740f commit 3f4dcc1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 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.get('_id', {}).get('exclude_from_bom', False) %}
{% if not exclude %}
{% set exclude_row = row.get('_id', {}).get('exclude_from_bom', False) %}
{% if not exclude_row %}
<tr>
<td>
<div title="{{row}}">#{{i+1}}</div>
<div>#{{i+1}}</div>
<div> <input type="checkbox" name=""> </div>
<div><b>{{len(row['Ref'])}} &times;<b></div>
</td>
Expand Down

0 comments on commit 3f4dcc1

Please sign in to comment.