commit
5c36aa3802
@ -1458,12 +1458,10 @@ class CommandeFournisseur extends CommonOrder
|
||||
//print $sql;
|
||||
if ($resql)
|
||||
{
|
||||
$this->rowid = $this->db->last_insert_id(MAIN_DB_PREFIX.'commande_fournisseurdet');
|
||||
|
||||
if (empty($conf->global->MAIN_EXTRAFIELDS_DISABLED)) // For avoid conflicts if trigger used
|
||||
{
|
||||
$linetmp = new CommandeFournisseurLigne($this->db);
|
||||
$linetmp->id=$this->rowid;
|
||||
$linetmp->id=$this->db->last_insert_id(MAIN_DB_PREFIX.'commande_fournisseurdet');
|
||||
$linetmp->array_options = $array_options;
|
||||
$result=$linetmp->insertExtraFields();
|
||||
if ($result < 0)
|
||||
|
||||
@ -252,7 +252,7 @@ if ($status)
|
||||
if ($status == '6,7') $title.=' - '.$langs->trans("StatusOrderCanceled");
|
||||
else $title.=' - '.$langs->trans($commandestatic->statuts[$status]);
|
||||
}
|
||||
if ($billed) $title.=' - '.$langs->trans("Billed");
|
||||
if ($billed > 0) $title.=' - '.$langs->trans("Billed");
|
||||
|
||||
//$help_url="EN:Module_Customers_Orders|FR:Module_Commandes_Clients|ES:Módulo_Pedidos_de_clientes";
|
||||
$help_url='';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user