Renders a comprehensive FullHouse PIMS product administration panel, showing product metadata, web display status, pricing, instalment calculation, barcode, images, colour variants, product groups, warranty, and an image upload history table.
FH Product — set as ReportType in def_report.
def Render(self, Param1="", Param2="", Param3="") -> str:
Param1 is the product code (first 10 characters used). Returns an HTML string produced from the WEB template stored in trader.meta_template. The template is populated with substitution tokens covering all product attributes.
ComputeInstalment(Contract)Invokes ObjTextFHInstalment to compute monthly payment, total payment, interest rate, and terms. Stores results on self.
RenderLine(Attr, Value)Returns a Bootstrap two-column <div> row for a labelled key-value pair.
RenderFeatures(Param1)Queries trader.meta_product for long description and features; parses by |, :, or , delimiters and returns an HTML <ul> list.
NewRender(Param1, Param2, Param3)An older inline rendering variant that queries data_documentfile (rather than data_documentmeta_pims) and includes alternates lookup. Currently not called by Render.
Inherits from ObjReportEmail. Depends on ObjBarcode, ObjGo, ObjTextFHInstalment, ObjTextFHFeatures, and ObjDocument. The active Render method uses the WEB template and queries data_documentfile for image counts. Image edit history is read from fullhouse.axion.data_documentfile. Product group membership is looked up via trader.meta_product_alternates. Colour variants are sourced from trader.product_colour. Warranty product is found via PM_SIMILIARITEMCODE. Dead code after the first return html inside Render is unreachable.