Fix ref suffix for patnership into PSHIP
This commit is contained in:
parent
77864f2c2c
commit
fc70adb2e7
@ -36,7 +36,7 @@ class mod_partnership_standard extends ModeleNumRefPartnership
|
|||||||
*/
|
*/
|
||||||
public $version = 'dolibarr'; // 'development', 'experimental', 'dolibarr'
|
public $version = 'dolibarr'; // 'development', 'experimental', 'dolibarr'
|
||||||
|
|
||||||
public $prefix = 'PARTNERSHIP';
|
public $prefix = 'PSHIP';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string Error code (or message)
|
* @var string Error code (or message)
|
||||||
|
|||||||
@ -232,7 +232,7 @@ if (empty($reshook)) {
|
|||||||
// Actions to send emails
|
// Actions to send emails
|
||||||
$triggersendname = 'PARTNERSHIP_SENTBYMAIL';
|
$triggersendname = 'PARTNERSHIP_SENTBYMAIL';
|
||||||
$autocopy = 'MAIN_MAIL_AUTOCOPY_PARTNERSHIP_TO';
|
$autocopy = 'MAIN_MAIL_AUTOCOPY_PARTNERSHIP_TO';
|
||||||
$trackid = 'partnership'.$object->id;
|
$trackid = 'pship'.$object->id;
|
||||||
include DOL_DOCUMENT_ROOT.'/core/actions_sendmails.inc.php';
|
include DOL_DOCUMENT_ROOT.'/core/actions_sendmails.inc.php';
|
||||||
|
|
||||||
if (!empty($id) && !empty(GETPOST('confirm'))) {
|
if (!empty($id) && !empty(GETPOST('confirm'))) {
|
||||||
@ -664,7 +664,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
|
|||||||
$modelmail = 'partnership_send';
|
$modelmail = 'partnership_send';
|
||||||
$defaulttopic = 'InformationMessage';
|
$defaulttopic = 'InformationMessage';
|
||||||
$diroutput = $conf->partnership->dir_output;
|
$diroutput = $conf->partnership->dir_output;
|
||||||
$trackid = 'partnership'.$object->id;
|
$trackid = 'pship'.$object->id;
|
||||||
|
|
||||||
include DOL_DOCUMENT_ROOT.'/core/tpl/card_presend.tpl.php';
|
include DOL_DOCUMENT_ROOT.'/core/tpl/card_presend.tpl.php';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -464,7 +464,7 @@ print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sort
|
|||||||
$topicmail = "SendPartnershipRef";
|
$topicmail = "SendPartnershipRef";
|
||||||
$modelmail = "partnership_send";
|
$modelmail = "partnership_send";
|
||||||
$objecttmp = new Partnership($db);
|
$objecttmp = new Partnership($db);
|
||||||
$trackid = 'partnership'.$object->id;
|
$trackid = 'pship'.$object->id;
|
||||||
include DOL_DOCUMENT_ROOT.'/core/tpl/massactions_pre.tpl.php';
|
include DOL_DOCUMENT_ROOT.'/core/tpl/massactions_pre.tpl.php';
|
||||||
|
|
||||||
if ($search_all) {
|
if ($search_all) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user