Update api_setup.class.php
This commit is contained in:
parent
c8b0570c90
commit
8ace020ba8
@ -112,7 +112,7 @@ class Setup extends DolibarrApi
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the list of ordering reasons.
|
* Get the list of ordering origins.
|
||||||
*
|
*
|
||||||
* @param string $sortfield Sort field
|
* @param string $sortfield Sort field
|
||||||
* @param string $sortorder Sort order
|
* @param string $sortorder Sort order
|
||||||
@ -121,13 +121,13 @@ class Setup extends DolibarrApi
|
|||||||
* @param int $active Payment type is active or not {@min 0} {@max 1}
|
* @param int $active Payment type is active or not {@min 0} {@max 1}
|
||||||
* @param string $sqlfilters SQL criteria to filter with. Syntax example "(t.code:=:'OrderByWWW')"
|
* @param string $sqlfilters SQL criteria to filter with. Syntax example "(t.code:=:'OrderByWWW')"
|
||||||
*
|
*
|
||||||
* @url GET dictionary/ordering_reasons
|
* @url GET dictionary/ordering_origins
|
||||||
*
|
*
|
||||||
* @return array [List of ordering reasons]
|
* @return array [List of ordering reasons]
|
||||||
*
|
*
|
||||||
* @throws RestException 400
|
* @throws RestException 400
|
||||||
*/
|
*/
|
||||||
public function getOrderingReasons($sortfield = "code", $sortorder = 'ASC', $limit = 100, $page = 0, $active = 1, $sqlfilters = '')
|
public function getOrderingOrigins($sortfield = "code", $sortorder = 'ASC', $limit = 100, $page = 0, $active = 1, $sqlfilters = '')
|
||||||
{
|
{
|
||||||
$list = array();
|
$list = array();
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user