New: Automatic events for sending mails showing info about mail linked
objects.
This commit is contained in:
parent
36bc225208
commit
92a8fde88b
@ -21,7 +21,8 @@ For users:
|
|||||||
- New: Add option MAIN_ADD_SALE_REP_SIGNATURE_IN_NOTE.
|
- New: Add option MAIN_ADD_SALE_REP_SIGNATURE_IN_NOTE.
|
||||||
- New: Add warning if supplier payment is higher that due amount.
|
- New: Add warning if supplier payment is higher that due amount.
|
||||||
- New: Increase length of url into bookmark module.
|
- New: Increase length of url into bookmark module.
|
||||||
- New: Add an admin page to make a mass init of barcode values for all products.
|
- New: Add an admin page to make a mass init of barcode values for all products.
|
||||||
|
- New: Automatic events for sending mails showing info about mail linked objects.
|
||||||
|
|
||||||
TODO
|
TODO
|
||||||
- New: Predefined product and free product use same form.
|
- New: Predefined product and free product use same form.
|
||||||
|
|||||||
@ -618,6 +618,15 @@ class InterfaceActionsAuto
|
|||||||
if ($ok)
|
if ($ok)
|
||||||
{
|
{
|
||||||
$now=dol_now();
|
$now=dol_now();
|
||||||
|
|
||||||
|
if(isset($_SESSION['listofnames']))
|
||||||
|
{
|
||||||
|
$attachs=$_SESSION['listofnames'];
|
||||||
|
if($attachs && strpos($action,'SENTBYMAIL'))
|
||||||
|
{
|
||||||
|
$object->actionmsg.="\n".$langs->transnoentities("AttachedFiles").': '.$attachs;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
|
||||||
require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user