Change the term 'order' by 'invoice'

This commit is contained in:
Neil Orley 2017-09-22 12:18:11 +02:00
parent ad6778a1cf
commit 1aedc4a793

View File

@ -309,12 +309,12 @@ class Invoices extends DolibarrApi
/** /**
* 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) {