handle all invoice links

This commit is contained in:
Jan Bader
2026-04-07 23:26:45 +02:00
parent c493d21403
commit a6d725f12c

View File

@@ -149,7 +149,6 @@ def get_invoice_links(page: Page) -> list[dict]:
href = f"{BASE_URL}/{href.lstrip('/')}"
_add_link(href, text)
if not links:
print_links = page.locator("a.no-print[data-reference-object-id], a[data-reference-object-id]").all()
for anchor in print_links:
href = anchor.get_attribute("href") or ""