Fix: doxygen
This commit is contained in:
parent
46e9b5d550
commit
f743cbafa2
@ -1395,19 +1395,21 @@ class CommandeFournisseur extends CommonOrder
|
||||
/**
|
||||
* Delete line
|
||||
*
|
||||
* @param int $idligne Id of line to delete
|
||||
* @param int $idline Id of line to delete
|
||||
* @param int $notrigger 1=Disable call to triggers
|
||||
* @return 0 if Ok, <0 ik Ko
|
||||
*/
|
||||
function deleteline($idligne, $notrigger=0)
|
||||
function deleteline($idline, $notrigger=0)
|
||||
{
|
||||
if ($this->statut == 0)
|
||||
{
|
||||
$sql = "DELETE FROM ".MAIN_DB_PREFIX."commande_fournisseurdet WHERE rowid = ".$idligne;
|
||||
$sql = "DELETE FROM ".MAIN_DB_PREFIX."commande_fournisseurdet WHERE rowid = ".$idline;
|
||||
$resql=$this->db->query($sql);
|
||||
|
||||
|
||||
dol_syslog(get_class($this)."::deleteline sql=".$sql);
|
||||
|
||||
if(!$notrigger && $resql){
|
||||
|
||||
if (!$notrigger && $resql)
|
||||
{
|
||||
// Appel des triggers
|
||||
include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
|
||||
$result = 0;
|
||||
@ -1418,9 +1420,9 @@ class CommandeFournisseur extends CommonOrder
|
||||
}
|
||||
// Fin appel triggers
|
||||
}
|
||||
|
||||
|
||||
if ($resql)
|
||||
{
|
||||
{
|
||||
$result=$this->update_price();
|
||||
return 0;
|
||||
}
|
||||
@ -1431,7 +1433,7 @@ class CommandeFournisseur extends CommonOrder
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user