Renders a FullHouse rolling account statement as a formatted HTML email, including a barcode, client and branch address, contract transaction tables, and a PayFast payment link.
PaymentReport — set as ReportType in def_report.
def Render(self, Param1="", Param2="", Param3="") -> str:
Param1 is the account number (first 10 characters used as the lookup key). Returns an HTML string based on an embedded email template. Data is sourced from trader.meta_statement_rolling. Adjusts font sizes and border styles when self.Param9 == "pdf".
ComputeSettle(Contract)Invokes {fhsettlement:Contract} to compute the live settlement amount. Returns the result as a float.
Inherits from ObjReportEmail. Depends on ObjBarcode for Code 128 barcode generation and ObjGo for QR/short URL generation (currently stubbed). The embedded template includes FullHouse branding (orange header, teal account details box), a barcode section showing total due and due date, and a dark footer with Standard Bank and ABSA banking details. Supports WhatsApp contact links for non-PDF rendering. Settlement amounts are accumulated across contracts to produce an account-level total.