Renders a full invoice/payment summary panel including company details, recipient, line items, payment method icons, and totals.
PaymentReport — set as ReportType in def_report.
def Render(self, Param1="", Param2="", Param3="") -> str:
The query must return one column: the payment GUID from stage_Payment. The report reads the full payment record from stage_Payment and the payment method from def_Paymentmethod, then loads company details via the internal ReportCompany helper. Returns an HTML invoice section with From/To addresses, an itemised table showing amount due and notes, VAT breakdown, payment status, and a print button. If the payment is not yet complete and TimeDue is set, a "Submit Payment" link is rendered.
Automatically sets TimeAdded and TimeDue on stage_Payment rows where these fields are null. Payment method icons (payment_credit.png, payment_eft.png, payment_bitcoin.png) are served from /image/.