Invoices with Company and Cutomer Name

Hi

I would like to Create pdf Invoices with

Companyname
Firstname Lastname
Address

In the Customer Address section.

As i cannot find a Company Name field i’m using “Customer Name” as Companyname and “Client Surname (Optional)” containing First and Lastname.
The only thing left is changing the PDF template to display “Customer Name” in bold and “Client Surname” on a second line. But i’m not completely sure where this is done.
In application/views/invoice_templates/pdf/ it seems to me there is a function called: <?php _htmlsc(format_client($invoice)); ?>
do i have to change this function? where?
and how do i make sure changes on the pdf template "survive an update?

Version 1.5.10

best regards
Andi

application/helpers/client_helper.php

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.