Invoicing: Allow types to add text and watermarks (#5453)

This commit is contained in:
Raphael Michel
2025-09-22 10:04:25 +02:00
committed by GitHub
parent a7cbcb29b5
commit 08961091f6
4 changed files with 62 additions and 2 deletions

View File

@@ -104,6 +104,18 @@ class TransmissionType:
def transmission_info_to_form_data(self, transmission_info: dict) -> dict:
return transmission_info
def pdf_watermark(self) -> Optional[str]:
"""
Return a watermark that should be rendered across the PDF file.
"""
return None
def pdf_info_text(self) -> Optional[str]:
"""
Return an info text that should be rendered on the PDF file.
"""
return None
class TransmissionProvider:
"""