Renders a FullHouse monthly account statement as a formatted HTML email template, with a Code 128 barcode, banking details, and per-contract transaction lists including opening and closing balances.
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. Adjusts styles for PDF rendering when self.Param9 == "pdf".
ComputeSettle(Contract)Invokes {fhsettlement:Contract} to calculate the live settlement amount. Returns the amount as a float.
Inherits from ObjReportEmail. Depends on ObjBarcode for Code 128 barcode generation and ObjGo for short URL/QR generation (currently stubbed). The footer section includes Standard Bank and ABSA banking details plus EasyPay and Post Office payment options. Every second contract triggers a page break (pagebreak CSS class). Uses an embedded AvenirLT font via @font-face. The settlement template is loaded from trader.meta_template (templatetype=SETTLEMENT).