Custom field in client table


#21

@Webtica Please save your code on Codepen or another code sharing platform instead of posting screenshots here. Resources for the InvoicePlane infrastructure are quite limited and don’t need to be exhausted by endless code screenshots.


#22

Hey @Kovah

No problem , is using blockquote also good in the editor instead of images?
and also okay if i host my images and post link to them here?

Thanks


#23

Add the following code. Works like charm.

<?php 
$CI = &get_instance();
$CI->load->model('custom_fields/mdl_custom_fields');
$custom_fields = array('client' => $CI->mdl_custom_fields->get_values_for_fields('mdl_client_custom', $client->client_id),);
?>
<td>
    <?php echo nl2br($custom_fields['client']['Domain']); ?>
</td>