code comment api contract
This commit is contained in:
parent
622f31fd1e
commit
dbbcb6f8a1
@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2015 Jean-François Ferry <jfefe@aternatik.fr>
|
/* Copyright (C) 2015 Jean-François Ferry <jfefe@aternatik.fr>
|
||||||
* Copyright (C) 2016 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2016 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
|
* Copyright (C) 2018 Frédéric France <frederic.france@netlogic.fr>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -215,7 +216,7 @@ class Contracts extends DolibarrApi
|
|||||||
*
|
*
|
||||||
* @url GET {id}/lines
|
* @url GET {id}/lines
|
||||||
*
|
*
|
||||||
* @return int
|
* @return array
|
||||||
*/
|
*/
|
||||||
function getLines($id)
|
function getLines($id)
|
||||||
{
|
{
|
||||||
@ -247,7 +248,7 @@ class Contracts extends DolibarrApi
|
|||||||
*
|
*
|
||||||
* @url POST {id}/lines
|
* @url POST {id}/lines
|
||||||
*
|
*
|
||||||
* @return int
|
* @return int|bool
|
||||||
*/
|
*/
|
||||||
function postLine($id, $request_data = null)
|
function postLine($id, $request_data = null)
|
||||||
{
|
{
|
||||||
@ -300,7 +301,7 @@ class Contracts extends DolibarrApi
|
|||||||
*
|
*
|
||||||
* @url PUT {id}/lines/{lineid}
|
* @url PUT {id}/lines/{lineid}
|
||||||
*
|
*
|
||||||
* @return object
|
* @return array|bool
|
||||||
*/
|
*/
|
||||||
function putLine($id, $lineid, $request_data = null)
|
function putLine($id, $lineid, $request_data = null)
|
||||||
{
|
{
|
||||||
@ -360,7 +361,7 @@ class Contracts extends DolibarrApi
|
|||||||
*
|
*
|
||||||
* @url PUT {id}/lines/{lineid}/activate
|
* @url PUT {id}/lines/{lineid}/activate
|
||||||
*
|
*
|
||||||
* @return object
|
* @return array|bool
|
||||||
*/
|
*/
|
||||||
function activateLine($id, $lineid, $datestart, $dateend = null, $comment = null)
|
function activateLine($id, $lineid, $datestart, $dateend = null, $comment = null)
|
||||||
{
|
{
|
||||||
@ -398,7 +399,7 @@ class Contracts extends DolibarrApi
|
|||||||
*
|
*
|
||||||
* @url PUT {id}/lines/{lineid}/unactivate
|
* @url PUT {id}/lines/{lineid}/unactivate
|
||||||
*
|
*
|
||||||
* @return object
|
* @return array|bool
|
||||||
*/
|
*/
|
||||||
function unactivateLine($id, $lineid, $datestart, $comment = null)
|
function unactivateLine($id, $lineid, $datestart, $comment = null)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user