mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-15 05:51:28 +01:00
bugfix
This commit is contained in:
@@ -342,7 +342,7 @@ else
|
|||||||
$hselected = $h;
|
$hselected = $h;
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
if ($conf->livraison->enable)
|
if ($conf->livraison->enabled)
|
||||||
{
|
{
|
||||||
$head[$h][0] = DOL_URL_ROOT."/livraison/fiche.php?id=".$livraison->id;
|
$head[$h][0] = DOL_URL_ROOT."/livraison/fiche.php?id=".$livraison->id;
|
||||||
$head[$h][1] = $langs->trans("DeliveryCard");
|
$head[$h][1] = $langs->trans("DeliveryCard");
|
||||||
|
|||||||
@@ -338,7 +338,7 @@ else
|
|||||||
$soc->fetch($commande->soc_id);
|
$soc->fetch($commande->soc_id);
|
||||||
|
|
||||||
$h=0;
|
$h=0;
|
||||||
if ($conf->expedition->enable)
|
if ($conf->expedition->enabled)
|
||||||
{
|
{
|
||||||
$head[$h][0] = DOL_URL_ROOT."/expedition/fiche.php?id=".$expedition->id;
|
$head[$h][0] = DOL_URL_ROOT."/expedition/fiche.php?id=".$expedition->id;
|
||||||
$head[$h][1] = $langs->trans("SendingCard");
|
$head[$h][1] = $langs->trans("SendingCard");
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ class Livraison
|
|||||||
if ($this->db->query($sql))
|
if ($this->db->query($sql))
|
||||||
{
|
{
|
||||||
|
|
||||||
if ($conf->expedition->enable)
|
if ($conf->expedition->enabled)
|
||||||
{
|
{
|
||||||
$this->expedition = new Expedition($this->db);
|
$this->expedition = new Expedition($this->db);
|
||||||
$this->expedition->id = $this->expedition_id;
|
$this->expedition->id = $this->expedition_id;
|
||||||
|
|||||||
Reference in New Issue
Block a user