Fix restore list of attached files into action report
This commit is contained in:
parent
45a808e034
commit
6ac39b97e4
@ -89,6 +89,7 @@ $actiontypecode='';
|
||||
$trigger_name='';
|
||||
$paramname='id';
|
||||
$mode='emailfortest';
|
||||
$trackid=(($action == 'testhtml')?"testhtml":"test");
|
||||
include DOL_DOCUMENT_ROOT.'/core/actions_sendmails.inc.php';
|
||||
|
||||
if ($action == 'presend' && GETPOST('trackid') == 'test') $action='test';
|
||||
|
||||
@ -26,11 +26,13 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* \file htdocs/comm/propal/card.php
|
||||
* \ingroup propale
|
||||
* \brief Page of commercial proposals card and list
|
||||
*/
|
||||
|
||||
require '../../main.inc.php';
|
||||
require_once DOL_DOCUMENT_ROOT . '/core/class/html.formother.class.php';
|
||||
require_once DOL_DOCUMENT_ROOT . '/core/class/html.formfile.class.php';
|
||||
@ -609,6 +611,7 @@ if (empty($reshook))
|
||||
$trigger_name='PROPAL_SENTBYMAIL';
|
||||
$paramname='id';
|
||||
$mode='emailfromproposal';
|
||||
$trackid='pro'.$object->id;
|
||||
include DOL_DOCUMENT_ROOT.'/core/actions_sendmails.inc.php';
|
||||
|
||||
|
||||
|
||||
@ -1256,6 +1256,7 @@ if (empty($reshook))
|
||||
$trigger_name='ORDER_SENTBYMAIL';
|
||||
$paramname='id';
|
||||
$mode='emailfromorder';
|
||||
$trackid='ord'.$object->id;
|
||||
include DOL_DOCUMENT_ROOT.'/core/actions_sendmails.inc.php';
|
||||
|
||||
|
||||
|
||||
@ -1781,6 +1781,7 @@ if (empty($reshook))
|
||||
$trigger_name='BILL_SENTBYMAIL';
|
||||
$paramname='id';
|
||||
$mode='emailfrominvoice';
|
||||
$trackid='inv'.$object->id;
|
||||
include DOL_DOCUMENT_ROOT.'/core/actions_sendmails.inc.php';
|
||||
|
||||
|
||||
|
||||
@ -551,6 +551,7 @@ if (empty($reshook))
|
||||
$trigger_name='SHIPPING_SENTBYMAIL';
|
||||
$paramname='id';
|
||||
$mode='emailfromshipment';
|
||||
$trackid='shi'.$object->id;
|
||||
include DOL_DOCUMENT_ROOT.'/core/actions_sendmails.inc.php';
|
||||
|
||||
}
|
||||
|
||||
@ -766,6 +766,7 @@ if (empty($reshook))
|
||||
$trigger_name='FICHINTER_SENTBYMAIL';
|
||||
$paramname='id';
|
||||
$mode='emailfromintervention';
|
||||
$trackid='int'.$object->id;
|
||||
include DOL_DOCUMENT_ROOT.'/core/actions_sendmails.inc.php';
|
||||
|
||||
|
||||
|
||||
@ -1159,6 +1159,7 @@ if (empty($reshook))
|
||||
$trigger_name='ORDER_SUPPLIER_SENTBYMAIL';
|
||||
$paramname='id';
|
||||
$mode='emailfromsupplierorder';
|
||||
$trackid='sor'.$object->id;
|
||||
include DOL_DOCUMENT_ROOT.'/core/actions_sendmails.inc.php';
|
||||
|
||||
|
||||
|
||||
@ -965,6 +965,7 @@ if (empty($reshook))
|
||||
$trigger_name='BILL_SUPPLIER_SENTBYMAIL';
|
||||
$paramname='id';
|
||||
$mode='emailfromsupplierinvoice';
|
||||
$trackid='sin'.$object->id;
|
||||
include DOL_DOCUMENT_ROOT.'/core/actions_sendmails.inc.php';
|
||||
|
||||
|
||||
|
||||
@ -712,6 +712,7 @@ if (empty($reshook))
|
||||
$trigger_name='COMPANY_SENTBYMAIL';
|
||||
$paramname='socid';
|
||||
$mode='emailfromthirdparty';
|
||||
$trackid='thi'.$object->id;
|
||||
include DOL_DOCUMENT_ROOT.'/core/actions_sendmails.inc.php';
|
||||
|
||||
// Actions to build doc
|
||||
|
||||
@ -475,6 +475,7 @@ if (empty($reshook))
|
||||
$trigger_name='SUPPLIER_PROPOSAL_SENTBYMAIL';
|
||||
$paramname='id';
|
||||
$mode='emailfromsupplierproposal';
|
||||
$trackid='spr'.$object->id;
|
||||
include DOL_DOCUMENT_ROOT.'/core/actions_sendmails.inc.php';
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user