Change the term 'order' by 'invoice'
This commit is contained in:
parent
ad6778a1cf
commit
1aedc4a793
@ -306,15 +306,15 @@ class Invoices extends DolibarrApi
|
|||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add a line to given invoice
|
* Add a line to given invoice
|
||||||
*
|
*
|
||||||
* @param int $id Id of invoice to update
|
* @param int $id Id of invoice
|
||||||
* @param array $request_data Orderline data
|
* @param array $request_data Invoiceline data
|
||||||
*
|
*
|
||||||
* @url POST {id}/lines
|
* @url POST {id}/lines
|
||||||
*
|
*
|
||||||
* @return string
|
* @return int
|
||||||
*/
|
*/
|
||||||
function postLine($id, $request_data = NULL) {
|
function postLine($id, $request_data = NULL) {
|
||||||
if(! DolibarrApiAccess::$user->rights->facture->creer) {
|
if(! DolibarrApiAccess::$user->rights->facture->creer) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user