Renders a transposed payslip view with category-ordered rows, togglable date columns, copy-to-clipboard value fields, and a category flag modal, using tenant-specific display ordering from the database.
DisplayPayslip — set as ReportType in def_report.
def Render(self, Param1="", Param2="", Param3="") -> str:
Param1 — the TransactionGuid used to resolve the tenant and its category display order.
Data is expected in self.data_list and self.FieldNames. The report transposes the dataset using _transpose_data (rows become columns keyed by groupdate) and sorts categories by the tenant-specific displayorder from data_tenant_category.
Returns an HTML string including the transposed table, toggle script, clipboard script, and category-flag modal script.
Options read from self._Options JSON.
| Key | Effect |
|---|---|
showText |
Prefix for show-column button labels (default: "Show") |
hideText |
Prefix for hide-column button labels (default: "Hide") |
axion.rpc.js, package.switchx/transaction_results.css, and modal_report_basic.css.pandas for transposition and shortuuid for unique DOM element IDs.Decimal and datetime/date values are normalised before transposing.data_tenant_category joined to list_tenant and data_transaction using Param1.Category is in the set {gross pay, net pay, deductions, tax pay}; other rows are displayed as-is.displayorder and categoryid are hidden in the rendered table but used internally.flag_payslip_category form via axion_formload, pre-filling sys_param1 and sys_param2.ObjReportDisplayBankStatement).