Support

Home Forums Multiple Event Registration Add-on Various layout issues on pdf invoice, settings.php

Various layout issues on pdf invoice, settings.php

Posted: August 14, 2012 at 4:51 pm


mcote

August 14, 2012 at 4:51 pm

Hi, here are some of the layout issues on the pdf invoice, which I believed is generated from the gateways/invoice/settings.php file

-> Translation issues- The following code at line 27 doesn’t pick up what is in my .po .mo files but the others do work:

    $invoice_payment_settings['invoice_title'] = __('Invoice Payments', 'event_espresso');
    $invoice_payment_settings['pdf_title'] = __('Invoice Payments', 'event_espresso');
    $invoice_payment_settings['pdf_instructions'] = __('Please send this invoice with payment attached to the address above, or use the payment link below. Payment must be received within 48 hours of event date.', 'event_espresso');
    $invoice_payment_settings['invoice_instructions'] = __('Please send Invoice to the address below. Payment must be received within 48 hours of event date.', 'event_espresso');
    $invoice_payment_settings['payable_to'] = trim($org_options['organization']);

-> Unwanted brackets in the suppliers address – see image, the code is around line 21:

Address

-> Missing decimal value under the Unit price (Prix Unitaire)

enter image description here

-> Default Logo is not carried out on the invoice as mentioned in the general settings

Using version 3.1.25.P


Kevin Doherty

August 14, 2012 at 4:55 pm

hey mcote, can’t help you on the formatting but I did figure out where to change the logo information today. Its actually not using the logo from the General Settings. You need to go to the settings in the admin for the “invoice” payment Gateway. You ‘ll see some options here and one of them allows you to add your logo path.
Hope that helps.


mcote

August 14, 2012 at 10:06 pm

Thanks for the input Kevin, but I can’t find where the invoice payment Gateway is. Is it in the Event Espresso -> Payment Settings ?


Kevin Doherty

August 15, 2012 at 7:44 am

Yup, you got it. Fine the “Invoice Settings” and you’ll see a field to enter your “Logo URL”
cheers


mcote

August 15, 2012 at 7:56 am

Wow, I had never activated this “Invoice Payment Settings” tab. Now that I have, I can see that most of the layout problems I was having came from there! This should correct translation issue, the brackets issue and the logo problem but the decimal one still remains. This is most likely in the php code.

Thanks Kevin for the lead


Josh

  • Support Staff

August 15, 2012 at 12:32 pm

The decimal issues should be resolved with the next version of the invoice templating we are working on.

The support post ‘Various layout issues on pdf invoice, settings.php’ 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.

Status: closed

Updated by  Josh 8 years, 1 month ago ago

Topic Tags

Tagged: ,

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!