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:
-> Missing decimal value under the Unit price (Prix Unitaire)
-> Default Logo is not carried out on the invoice as mentioned in the general settings
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.
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.
The decimal issues should be resolved with the next version of the invoice templating we are working on.
Viewing 5 reply threads
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.