I need to add more data in the opportunity assignation email like the account name…
Where are those templates, I can not find them anywhere…
I am sorry if this is about the same (unanswered) post which is one year old!
https://suitecrm.com/community/suitecrm-7-0-discussion/1290-invisible-mail-template
Thank you
/include/language/en_us.notify_template.html
best regards
1 Like
OK I found it
in my case in is in
modules\Opportunities/Opportunity.php
function set_notification_body($xtpl, $oppty)
{
global $app_list_strings;
$xtpl->assign("OPPORTUNITY_NAME", $oppty->name);
$xtpl->assign("OPPORTUNITY_AMOUNT", $oppty->amount);
$xtpl->assign("OPPORTUNITY_CLOSEDATE", $oppty->date_closed);
$xtpl->assign("OPPORTUNITY_STAGE", (isset($oppty->sales_stage)?$app_list_strings['sales_stage_dom'][$oppty->sales_stage]:""));
$xtpl->assign("OPPORTUNITY_DESCRIPTION", $oppty->description);
return $xtpl;
}
now I have to find how to get the account name from the opportunity and add it in the text…
:cheer:
Oh! …even better!
thank you Mike