I am editing application/modules/dashboard/views/index.php
I would like to show the value of a invoice ‘custom field’ for each invoice raw of the ‘Recent Invoices’ section.
I figured out how to add a column for true invoice fields but how do I code a ‘custom field’ ?
Do I need to add some control to dashboard/Controllers/Dashboard.php to access the custom fields?
like present in the Invoices.php controller?
$this->load->model('custom_values/mdl_custom_values'); $this->load->model('custom_fields/mdl_invoice_custom');
this does not seem to be enough to get access to invoice → custom fields like $custom_fields[‘invoice’][‘Project Number’]
Thanks for any help
S