Add BOM bubble to additional component list (WIP)
This commit is contained in:
parent
c7537f000a
commit
4a9a4c8d46
@ -110,6 +110,7 @@ def gv_additional_component_table(component):
|
|||||||
rows.append(
|
rows.append(
|
||||||
Tr(
|
Tr(
|
||||||
[
|
[
|
||||||
|
Td(bom_bubble(subitem.bom_id)),
|
||||||
Td(f"{subitem.bom_qty}"),
|
Td(f"{subitem.bom_qty}"),
|
||||||
Td(f"{subitem.qty.unit if subitem.qty.unit else 'x'}"),
|
Td(f"{subitem.qty.unit if subitem.qty.unit else 'x'}"),
|
||||||
Td(f"{subitem.description}"),
|
Td(f"{subitem.description}"),
|
||||||
@ -117,7 +118,7 @@ def gv_additional_component_table(component):
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
return Table(rows)
|
return Table(rows, border=0)
|
||||||
|
|
||||||
|
|
||||||
def calculate_node_bgcolor(component, harness_options):
|
def calculate_node_bgcolor(component, harness_options):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user