Add PN string in gv_additional_component_table()
This commit is contained in:
parent
4238a8aef5
commit
8cd76eb605
@ -124,9 +124,10 @@ def gv_additional_component_table(component):
|
|||||||
rows.append(Tr(firstline))
|
rows.append(Tr(firstline))
|
||||||
|
|
||||||
if subitem.has_pn_info:
|
if subitem.has_pn_info:
|
||||||
|
pn_list = partnumbers2list(subitem.partnumbers)
|
||||||
secondline = [
|
secondline = [
|
||||||
Td("", colspan=3),
|
Td("", colspan=3),
|
||||||
Td(f"# TODO PN string", align="left"), # TODO
|
Td(", ".join(pn for pn in pn_list if pn), align="left"),
|
||||||
Td(""),
|
Td(""),
|
||||||
]
|
]
|
||||||
rows.append(Tr(secondline))
|
rows.append(Tr(secondline))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user