Hello,
I am trying to add a custom field column to the invoices table. Current version is 1.5.5.
I have added the column to the table as below however in the column I get a errror “Message: Undefined property: stdClass::$invoice_custom_invoice_to”
Note: I am modifying the file here /application/modules/invoices/views/partial_invoice_table.php
<td class="amount">
<?php echo ($invoice->invoice_custom_invoice_to); ?>
</td>
I notice in the documentation it states that you use the column value but I am not sure how to work this out since it does not display in my view on the website. My custom field is on the ‘invoice’ table and the label is ‘Invoice To’.
Appreciate any help and advice.
Many Thanks