Merge branch 'develop' into elseif

This commit is contained in:
Laurent Destailleur
2019-01-27 17:54:06 +01:00
committed by GitHub
548 changed files with 2455 additions and 2381 deletions

View File

@@ -496,7 +496,7 @@ class Orders extends DolibarrApi
*
* @return array
*/
function validate($id, $idwarehouse=0, $notrigger=0)
function validate($id, $idwarehouse = 0, $notrigger = 0)
{
if(! DolibarrApiAccess::$user->rights->commande->creer) {
throw new RestException(401);
@@ -629,7 +629,7 @@ class Orders extends DolibarrApi
*
* @return int
*/
function close($id, $notrigger=0)
function close($id, $notrigger = 0)
{
if(! DolibarrApiAccess::$user->rights->commande->creer) {
throw new RestException(401);
@@ -675,7 +675,7 @@ class Orders extends DolibarrApi
*
* @return array
*/
function settodraft($id, $idwarehouse=-1)
function settodraft($id, $idwarehouse = -1)
{
if(! DolibarrApiAccess::$user->rights->commande->creer) {
throw new RestException(401);