Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
875a493198
@ -58,12 +58,13 @@ if ($action == 'specimen')
|
|||||||
//$exp->fetch_commande();
|
//$exp->fetch_commande();
|
||||||
|
|
||||||
// Charge le modele
|
// Charge le modele
|
||||||
$dir = DOL_DOCUMENT_ROOT . "/core/modules/expedition/doc/";
|
$dir = "/core/modules/expedition/doc/";
|
||||||
$file = "pdf_expedition_".$modele.".modules.php";
|
$file = "pdf_expedition_".$modele.".modules.php";
|
||||||
if (file_exists($dir.$file))
|
$file = dol_buildpath($dir.$file);
|
||||||
|
if (file_exists($file))
|
||||||
{
|
{
|
||||||
$classname = "pdf_expedition_".$modele;
|
$classname = "pdf_expedition_".$modele;
|
||||||
require_once($dir.$file);
|
require_once($file);
|
||||||
|
|
||||||
$obj = new $classname($db);
|
$obj = new $classname($db);
|
||||||
|
|
||||||
|
|||||||
@ -500,7 +500,11 @@ class InterfaceDemo
|
|||||||
{
|
{
|
||||||
dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
|
dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
|
||||||
}
|
}
|
||||||
elseif ($action == 'SHIPPINGL_DELETE')
|
elseif ($action == 'SHIPPING_DELETE')
|
||||||
|
{
|
||||||
|
dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
|
||||||
|
}
|
||||||
|
elseif ($action == 'SHIPPING_BUILDDOC')
|
||||||
{
|
{
|
||||||
dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
|
dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user