Skip to main content

Support Policy

We only provide official support for Solidres's subscribers, all subscribers can request support by using forum or support ticket system. For more information please check our Support Policy at www.solidres.com/support-policy

[2.12.10 Bugs] Invoice Email sending process - Language + Sender

More
4 years 1 month ago - 4 years 1 month ago #19316 by joomleb
Hi guys,
PHP 7.4.30 - Joomla 3.10.11 + Solidres 2.12.10 + last plugins
Backend default language: English - Frontend default language: Spanish

1 - Invoice Language
On sending Invoice Email to a customer process (through the Actions) should always follow the Joomla frontend user language, taking it from the "Joomla > User > Basic Settings > Frontend Language: …” setting (which, if not set, automatically bounces to the Joomla frontend default language). While:

Experience - from line 258
…plugins/solidres/experienceinvoice/experienceinvoice.php
- From Backend - Email text: Spanish, okay
- From Frontend Partner Dashboard - Email text: Spanish, okay

Property - from line 138
…/plugins/solidres/invoice/invoice.php
- From Backend - Email text: English > BUG - it is sending following the Joomla backend default language
- From Frontend Partner Dashboard - Email text: Spanish, okay

Experience & Property
BUG - the Email attached pdf / or the Downloaded pdf is in the language of where I clicked last time Generate / Regenerate (English if from Backend, Spanish if from Frontend Partner Dashboard)

Please, Can you confirm ?


2 - Invoice Sender
On sending Invoice email to a customer process, the Sender should be the Property / Experience organization and not the Joomla User (Partner):

Experience - from line 282
It is using correctly the “Contact > Email” / “Contact > Company name”
$mailer = CMSFactory::getMailer();
$mailer->setSender(array(
$item->contact_email,
!empty($item->contact_company_name) ? $item->contact_company_name : $this->app->get('sitename')
));

Property - from line 335
$mail->setSender(array($config->get('mailfrom'), $config->get('fromname')));
BUG - It is using the Partner Email and Site name.
Please, Can you confirm ?
While it should use as sender the “Publishing > Company email” / “Publishing > Company name” and, if empty, the “General > Email” / “General > Property name”
Last edit: 4 years 1 month ago by joomleb.

Please Log in or Create an account to join the conversation.

Moderators: solidres

All the things you need to make your work easier. Did you like Solidres?