Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
18def27e
Commit
18def27e
authored
9 years ago
by
Jean-François Ferry
Browse files
Options
Downloads
Patches
Plain Diff
Change API route for thirdparties lists
Use /thirdparty/list instead of /thirdparties/
parent
cd37d3eb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/societe/class/api_thirdparty.class.php
+4
-4
4 additions, 4 deletions
htdocs/societe/class/api_thirdparty.class.php
with
4 additions
and
4 deletions
htdocs/societe/class/api_thirdparty.class.php
+
4
−
4
View file @
18def27e
...
...
@@ -94,7 +94,7 @@ class ThirdpartyApi extends DolibarrApi {
*
* Get a list of thirdparties
*
* @url GET /thirdpart
ies/
* @url GET /thirdpart
y/list
*
* @param int $mode Set to 1 to show only customers
* Set to 2 to show only prospects
...
...
@@ -183,7 +183,7 @@ class ThirdpartyApi extends DolibarrApi {
/**
* Show customers
*
* @url GET /thirdpart
ies
/customers
* @url GET /thirdpart
y/list
/customers
*
* @return array List of customers
*/
...
...
@@ -194,7 +194,7 @@ class ThirdpartyApi extends DolibarrApi {
/**
* Show prospects
*
* @url GET /thirdpart
ies
/prospects
* @url GET /thirdpart
y/list
/prospects
*
* @return array List of prospects
*/
...
...
@@ -205,7 +205,7 @@ class ThirdpartyApi extends DolibarrApi {
/**
* Show other
*
* @url GET /thirdpart
ies
/others
* @url GET /thirdpart
y/list
/others
*
* @return array List of thirpdparties who are not customer neither prospect
*/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment