Renders a FullHouse client account statement view, displaying account summary, contract transactions, settlement amounts, and a PayFast payment link for the amount due.
PaymentReport — set as ReportType in def_report.
def Render(self, Param1="", Param2="", Param3="") -> str:
Param1 is the account number (first 10 characters are used as the lookup key). Returns an HTML string styled as a Bootstrap invoice section with transaction tables per contract.
ComputeSettle(Contract)Invokes the {fhsettlement:Contract} text processor to calculate the current settlement amount for a given contract. Stores the result in self.SettleCalc and returns it as a string.
Data is sourced from trader.meta_statement_rolling. Settlement is recomputed live per contract via ObjGo for QR code/short URL generation (currently disabled). PDF rendering mode is controlled via self.Param9 == "pdf", which switches font sizes and border styles. Includes a client search button rendered via the {buttononclick:...} text processor. Depends on ObjGo and ObjReportEmail.