SimpleInvoices Group Forum › Forums › Fearless359 SimpleInvoices Discussion Group › Question about templates for PDF output › Reply To: Question about templates for PDF output
October 27, 2025 at 10:24 am
#2249
Keymaster
The issue is that the Invoice::manageTableInfo method does not preserve the custom fields for the invoice. Hence, they are undefined by the time it gets to the screen. The easiest way to resolve this is to modify said method to include these fields which would be referenced as $row['custom_field1'], etc. Copy the Inc/Claz/Invoice.php file into the extension directory preserving the “Inc/Claz/” path the same as you did for the template and module files. Then modify the method to add the custom field assignments to the table.
Recent Comments