typo
This commit is contained in:
parent
84a9ca3f68
commit
8785c10ad8
@ -457,7 +457,7 @@ class Contracts extends DolibarrApi
|
|||||||
throw new RestException(401, 'Access not allowed for login '.DolibarrApiAccess::$user->login);
|
throw new RestException(401, 'Access not allowed for login '.DolibarrApiAccess::$user->login);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO Check the lineid $lineid is a line of ojbect
|
// TODO Check the lineid $lineid is a line of object
|
||||||
|
|
||||||
$updateRes = $this->contract->deleteline($lineid, DolibarrApiAccess::$user);
|
$updateRes = $this->contract->deleteline($lineid, DolibarrApiAccess::$user);
|
||||||
if ($updateRes > 0) {
|
if ($updateRes > 0) {
|
||||||
@ -472,7 +472,7 @@ class Contracts extends DolibarrApi
|
|||||||
/**
|
/**
|
||||||
* Update contract general fields (won't touch lines of contract)
|
* Update contract general fields (won't touch lines of contract)
|
||||||
*
|
*
|
||||||
* @param int $id Id of contrat to update
|
* @param int $id Id of contract to update
|
||||||
* @param array $request_data Datas
|
* @param array $request_data Datas
|
||||||
*
|
*
|
||||||
* @return int
|
* @return int
|
||||||
@ -541,7 +541,7 @@ class Contracts extends DolibarrApi
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Validate an contract
|
* Validate a contract
|
||||||
*
|
*
|
||||||
* @param int $id Contract ID
|
* @param int $id Contract ID
|
||||||
* @param int $notrigger 1=Does not execute triggers, 0= execute triggers
|
* @param int $notrigger 1=Does not execute triggers, 0= execute triggers
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user