Re: [Dolibarr-dev] Company name in the mail subject.

2017-05-11 Par sujet Sasa Ostrouska
On Thu, May 11, 2017 at 12:51 PM, Maxime Kohlhaas wrote: > Why would you change it in the core code ? > Because I never saw this setup stuff , and completely forget that I should firstly look into it :) > In Home > Setup > E-mail (in develop), you can define e-mail models : > > [image: Images

Re: [Dolibarr-dev] Company name in the mail subject.

2017-05-11 Par sujet Maxime Kohlhaas
Why would you change it in the core code ? In Home > Setup > E-mail (in develop), you can define e-mail models : [image: Images intégrées 1] The available variables appear when you click on the tooltip next to "Contenu". Bien cordialement, -- *Maxime Kohlhaas* | Consultant associé --

Re: [Dolibarr-dev] Company name in the mail subject.

2017-05-11 Par sujet Sasa Ostrouska
On Thu, May 11, 2017 at 12:41 PM, Maxime Kohlhaas wrote: > Hi Saxa, > > Hi Maxime ! > Since 3.8 version, you can use __THIRDPARTY_NAME__ > See here : https://github.com/Dolibarr/dolibarr/blob/5.0/htdocs/core/ > class/html.formmail.class.php#L969 > > I was just experimenting with this, but it do

Re: [Dolibarr-dev] Company name in the mail subject.

2017-05-11 Par sujet Maxime Kohlhaas
Hi Saxa, Since 3.8 version, you can use __THIRDPARTY_NAME__ See here : https://github.com/Dolibarr/dolibarr/blob/5.0/htdocs/core/ class/html.formmail.class.php#L969 Since 5.0, you have the available variable in an tooltip on the mail model form. Regards, Bien cordialement, -- *Maxime Kohlhaas*

[Dolibarr-dev] Company name in the mail subject.

2017-05-11 Par sujet Sasa Ostrouska
Hi , I am looking for a way to list the company name after the quote number in the email subject. Right now we get the field named customer refference in the parenthesis. $formmail->withtopic = $outputlangs->trans('SendPropalRef', '__PROPREF__ (__REFCLIENT__)'); see code here: https://github.com