Reply To: Question about templates for PDF output

#2249
fearless359
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.