Support

Home Forums Event Espresso Premium Invoice Column Width

Invoice Column Width

Posted: June 24, 2014 at 9:57 pm

Viewing 3 reply threads


hypno123

June 24, 2014 at 9:57 pm

Can someone please tell me where I can adjust the column width for the invoice – where is it on in the template?

My email address can’t even fit in one line and it looks bad having .com under the rest of the email in another line.


Dean

June 24, 2014 at 11:51 pm

Hi,

Is this in EE3 or EE4?


hypno123

June 25, 2014 at 12:00 am

EE3


Dean

June 25, 2014 at 12:35 am

Hi,

Thanks for the clarification.

I am ssuming that the email is part of the general address.

If so in the invoice’s template.php you can edit the code block at line 119 that looks like this

//Set the top left of invoice below header
$pdf->SetFont('Times', 'BI', 14);
if (isset($invoice_payment_settings['payable_to'])) {
	$pdf->MultiCell(0, 10, pdftext($invoice_payment_settings['payable_to']), 0, 'L'); //Set payable to
} else {
	$pdf->MultiCell(0, 10, pdftext(''), 0, 'L'); //Set payable to
}
$pdf->SetFont('Times', '', 12);
if (isset($invoice_payment_settings['payment_address'])) {
	$pdf->MultiCell(50, 5, pdftext($invoice_payment_settings['payment_address']), 0, 'L'); //Set address
} else {
	$pdf->MultiCell(50, 5, pdftext(''), 0, 'L'); //Set address
}
$pdf->Ln(5);

edit it so it looks like this (the last two MultiCell’s have had their value increased)

//Set the top left of invoice below header
$pdf->SetFont('Times', 'BI', 14);
if (isset($invoice_payment_settings['payable_to'])) {
	$pdf->MultiCell(0, 10, pdftext($invoice_payment_settings['payable_to']), 0, 'L'); //Set payable to
} else {
	$pdf->MultiCell(0, 10, pdftext(''), 0, 'L'); //Set payable to
}
$pdf->SetFont('Times', '', 12);
if (isset($invoice_payment_settings['payment_address'])) {
	$pdf->MultiCell(150, 5, pdftext($invoice_payment_settings['payment_address']), 0, 'L'); //Set address
} else {
	$pdf->MultiCell(150, 5, pdftext(''), 0, 'L'); //Set address
}
$pdf->Ln(5);

Please note that these change will be over written on update.

Viewing 3 reply threads

The support post ‘Invoice Column Width’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso