dolibarr-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Sasa Ostrouska
Subject: Re: [Dolibarr-dev] Company name in the mail subject.
Date: Thu, 11 May 2017 13:10:06 +0000



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 :

Images intégrées 1
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.

Rgds
Saxa
 
Bien cordialement,

--
Maxime Kohlhaas | Consultant associé
------------------------------------------------------------------------------------
Tél : 06 33 42 92 43

2017-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__

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,

Rgds
Saxa
--
Maxime Kohlhaas | Consultant associé
------------------------------------------------------------------------------------

2017-05-11 14:22 GMT+02:00 Sasa Ostrouska <address@hidden>:
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/Dolibarr/dolibarr/blob/develop/htdocs/comm/propal/card.php#L2500

Is there a constant like __CLIENT__ or what is the exact name to be used
in place of __REFCLIENT__ to get the company name listed ?

Rgds
Saxa

_______________________________________________
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]