Commit Graph

2538 Commits

Author SHA1 Message Date
Charlène Benke
3ff7e43648 Add parameters 'source' and 'notrigger' to postContact (#35678)
* Add parameters to postContact method

allow to add internal contact

* Add parameters 'source' and 'notrigger' to postContact
2025-10-08 10:58:01 +02:00
Charlène Benke
0c2f6ea9b0 add getContacts method on invoice api (#35656)
* add getContacts method on invoice api

Add the getContacts method to fetch both external and internal contacts for a given invoice.

* Change return type from Object to array in API docs

Updated return type in the documentation for the get contacts method.

* Update api_invoices.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-07 20:51:07 +02:00
Frédéric FRANCE
6afec608a3 fix CI (#35631)
* fix CI

* fix CI

* fix CI

* fix CI

* fix CI

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-10-04 13:29:57 +02:00
Mohamed DAOUD
c222bf1f85 ip protection for invoice creation (#35557) 2025-09-29 21:13:01 +02:00
Laurent Destailleur
131d1390bc Debug v23 2025-09-28 22:20:44 +02:00
Frédéric FRANCE
e65b5575b9 clean code (#35462)
* clean code

* clean code

* clean code

* clean code

* clean code
2025-09-24 10:37:26 +02:00
Charlène Benke
cd03e9fc36 Add check for invoice status before line deletion (#35456)
* Add check for invoice status before line deletion

* Change invoice status check from fk_statut to status
2025-09-23 21:44:47 +02:00
Frédéric FRANCE
8fd4d0332d clean code (#35423)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code
2025-09-21 23:22:33 +02:00
ldestailleur
15f34dbbb0 QUAL: Removed deprecated properties user_valid, user->creation,
user_modification replaced with user_ceation_id, user_validation_id and
user_modification_id.
2025-09-21 14:58:38 +02:00
MDW
b3228aa7ce Qual: Fix phan notices (#35406)
* fix CI

* fix

* Qual: Fix newly appeard phan notices

# Qual: Fix newly appeard phan notices

Fix notices that appearce sin a previous phan report - some of these
notices are masked by the current baseline.

---------

Co-authored-by: Frédéric FRANCE <frederic34@users.noreply.github.com>
Co-authored-by: Frédéric FRANCE <frederic.france@free.fr>
2025-09-20 15:59:05 +02:00
ldestailleur
4a363478ae Clean code with rector 2025-09-18 16:26:38 +02:00
Frédéric FRANCE
21d50f1a58 clean code expedition class (#35327)
* clean code expedition class

* clean code expedition class

* clean code expedition class

* clean code expedition class

* clean code expedition class

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* clean code
2025-09-15 16:16:22 +02:00
ldestailleur
702d91c65d Clean code 2025-09-11 12:25:22 +02:00
Frédéric FRANCE
e81d5378cd clean code contract class (#35245)
* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code contract class

* clean code

* clean code

* clean code

* clean code

* clean code

* fix typo

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix
2025-09-10 11:13:18 +02:00
ldestailleur
5490afcf72 FIX invoice not set to closed when we add a credit note to close it 2025-09-08 15:24:47 +02:00
Frédéric FRANCE
0e1478206a clean code (#35229)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-08 01:48:52 +02:00
ldestailleur
97d5025c08 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-09-07 18:51:58 +02:00
Frédéric FRANCE
617e922a3a fix broken workflows (#35226)
* fix broken workflows

* Update ci-on-push.yml

* Update fournisseur.commande.class.php

* clean code

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-05 12:01:57 +02:00
HENRY Florian
a69bd1ba56 fix: divided by zero with customer packaging (#35224)
* fix: divided by zero with customer packaging

* fix: divided by zero with customer packaging

* fix: divided by zero with customer packaging

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-05 12:01:26 +02:00
Frédéric FRANCE
a1d7b11324 fix doc (#35196) 2025-09-03 12:54:17 +02:00
MDW
cab15ca58e Fix: Fix typo in user_modifcation_id (#35179)
# Fix: Fix typo in user_modifcation_id

Thes fixes the modification id initialisation.
2025-09-02 22:50:15 +02:00
Frédéric FRANCE
b4e01be091 translations fields (#35112) 2025-08-28 13:51:30 +02:00
Frédéric FRANCE
7d04067b4e fix CI (Travis) (#35099)
* fix test

* fix test

* fix test

* fix test

* fix test

* fix

* fix

* fix
2025-08-28 02:15:41 +02:00
Frédéric FRANCE
103bfd9051 update user_modification_id when updating invoice (#35082) 2025-08-27 03:07:17 +02:00
Frédéric FRANCE
e0861b922f normalise doc (#34987)
* normalise doc

* normalise doc

* normalise doc
2025-08-19 11:24:38 +02:00
Frédéric FRANCE
c992ac8955 clean code (#34984) 2025-08-19 11:23:12 +02:00
ldestailleur
3ac25e9581 Fix phpunit 2025-08-17 17:43:20 +02:00
ldestailleur
b1b1504111 Enhance the stripe IPN on dispute 2025-08-17 16:10:14 +02:00
ldestailleur
2427553211 The property $sumpayed (duplicate of $totalpaid), $sumdeposit
(duplicate of $totaldeposits) and $sumcreditnote (duplicate of
$totalcreditnotes) has been removed (there are replaced with the
property that was a duplication of (same for $sumpayed_multicurrency,
$sumdeposit_multicurrency, $sumcreditnote_multicurrency).
2025-08-12 04:08:38 +02:00
ldestailleur
bb27ff9707 Clean code 2025-08-11 19:48:03 +02:00
ldestailleur
bd999c21a2 Fix CI 2025-08-06 19:49:31 +02:00
ldestailleur
d03af36d95 Fix use of const trigger to avoid compatibility pb in future. 2025-08-06 19:08:01 +02:00
atm-lucas
0c044c8349 NEW - Add a boolean for lines in api and $properties (#34293)
* Add a boolean for lines in api

* Upgrade
2025-08-02 00:35:16 +02:00
ldestailleur
7ea3c419aa Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-07-25 17:00:22 +02:00
ldestailleur
b710c85b07 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-07-22 13:00:31 +02:00
ldestailleur
d04e8e62c9 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-07-22 12:56:45 +02:00
ldestailleur
e7594f52ff Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-07-22 12:48:35 +02:00
ldestailleur
d202af2593 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2025-07-22 12:48:14 +02:00
ldestailleur
ed4006b51b Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2025-07-22 12:47:52 +02:00
Florian Mortgat
bc33f7e1a7 FIX 17.0: when you clone an invoice that was created from a template invoice, the clone should not be linked to the template invoice (#34777) 2025-07-22 12:10:41 +02:00
ldestailleur
ca0538a79d Fix warning 2025-07-22 12:07:28 +02:00
Charlène Benke
1df5ea8456 NEW Add thirdparty search on api list (#34634)
* Add thirdparty search on api list

this change allow to seach element with filter on thirdparty (ex : list of bill of with name of thidparty)

* Update api_orders.class.php

* Update api_invoices.class.php

* Update api_contracts.class.php

* Update api_shipments.class.php

* Update api_interventions.class.php

* Update api_projects.class.php

* Update api_tickets.class.php

* Update api_tickets.class.php

* Update api_projects.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-07-18 02:35:50 +02:00
Charlène Benke
2bd22cc7c6 NEW : add api_paiements.class.php (#34756)
* NEW : add api_paiements.class.php

* Update functions2.lib.php

add payement api folder

* Update api_paiements.class.php

* Update api_paiements.class.php
2025-07-17 21:34:26 +02:00
ldestailleur
590f04ce04 Debug v22 2025-07-17 19:30:58 +02:00
ldestailleur
a145b3b44d Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-07-17 19:30:58 +02:00
ldestailleur
b410bf0731 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-07-17 19:30:58 +02:00
ldestailleur
43b05c56b6 Debug v22 2025-07-17 19:26:24 +02:00
ldestailleur
52bf642601 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2025-07-15 18:44:05 +02:00
ldestailleur
bb09797599 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-07-15 18:36:39 +02:00
ldestailleur
bc82fba711 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-07-15 18:31:15 +02:00