|
From: | Maxime Kohlhaas |
Subject: | Re: [Dolibarr-dev] Company name in the mail subject. |
Date: | Thu, 11 May 2017 15:12:32 +0200 |
On Thu, May 11, 2017 at 12:51 PM, Maxime Kohlhaas <address@hidden> 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 :The available variables appear when you click on the tooltip next to "Contenu".Here it seems there is a problem because I do not get them listed.
Variáveis de substituição disponíveis:
__(AnyTransKey)__I get just this.RgdsSaxaBien cordialement,--Maxime Kohlhaas | Consultant associé------------------------------------------------------------ ------------------------ Tél : 06 33 42 92 432017-05-11 14:46 GMT+02:00 Sasa Ostrouska <address@hidden>:On Thu, May 11, 2017 at 12:41 PM, Maxime Kohlhaas <address@hidden> 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 doesnt work , at least by changing it in that line from __REFCLIENT__ to __THIRDPARTY_NAME__ have not worked here. Will take a closer look into the thing why it does not work.Since 5.0, you have the available variable in an tooltip on the mail model form.Where should I see this tooltip ?I am usind develop branch.Regards,Bien cordialement,RgdsSaxa--Maxime Kohlhaas | Consultant associé------------------------------------------------------------ ------------------------ Tél : 06 33 42 92 432017-05-11 14:22 GMT+02:00 Sasa Ostrouska <address@hidden>:______________________________SaxaRgdsin place of __REFCLIENT__ to get the company name listed ?Is there a constant like __CLIENT__ or what is the exact name to be usedRight now we get the field named customer refference in the parenthesis.Hi , I am looking for a way to list the company name after thequote number in the email subject.
$formmail->withtopic = $outputlangs->trans('SendPropalRef' , '__PROPREF__ (__REFCLIENT__)');
see code here: https://github.com/Dolibarr/dolibarr/blob/develop/htdocs/com m/propal/card.php#L2500 _________________
Dolibarr-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
_______________________________________________
Dolibarr-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
_______________________________________________
Dolibarr-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
_______________________________________________
Dolibarr-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
_______________________________________________
Dolibarr-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
[Prev in Thread] | Current Thread | [Next in Thread] |