New: Automatic events for sending mails showing info about mail linked
objects.
This commit is contained in:
parent
36bc225208
commit
92a8fde88b
@ -22,6 +22,7 @@ For users:
|
|||||||
- 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.
|
||||||
|
|||||||
@ -619,6 +619,15 @@ class InterfaceActionsAuto
|
|||||||
{
|
{
|
||||||
$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';
|
||||||
$contactforaction=new Contact($this->db);
|
$contactforaction=new Contact($this->db);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user