Hi, I went over the WIKI and several posts about custom fields and pdf invoice.
My problem is that after adding:
<?php echo $custom_fields['client']['Service Address']; ?>
the newly created clients and their invoices display the custom field OK, unfortunately all remaining old - existing clients and already created invoices trow error:
A PHP Error was encountered
Message: Undefined index: Service Address
Line Number: 55
Thant is because all records that does not have entered data inside this custom filed return error. So, how to get around this issue so when the client record have custom field: ‘Service Address’ with value to display it, and when there is no entered data to display the invoice without trowing the error?