Renders a FullHouse customer account statement as a Bootstrap invoice view, including account summary, contract transaction details, settlement values, 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. Data is read 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 for a contract. Returns the computed amount as a string.
Inherits from ObjReportEmail. Depends on ObjGo and ObjBarcode. Settlement amounts are summed across all contracts to produce a total. The PayFast payment link is constructed dynamically using the account number, total due, and cell number. QR code generation via ObjGo is currently stubbed out (produces empty strings).