508 Commits

Author SHA1 Message Date
Frédéric FRANCE
d770d37e29 add phpcs rule extension (#36561)
* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* add phpcs rule extension

* test

* test

* test

* test

* test

* test

* fix

* fix

* fix

* fix

* fix

* fix

* fix translations

* fix translations

* translate

* translate

* translate

* translate

* translate

* translate

* translate

* Update propal.class.php
2026-01-15 16:05:06 +01:00
Frédéric FRANCE
b369576a9d NEW add support of subtotals on more objects (#34125)
* add more subtotals

* add more subtotals

* class

* class

* wip

* wip

* wip

* wip

* doc

* 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

* fix

* fix

* fix

* fix

* fix

* fix

* clean code

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* fix

* fix

* fix

* fix

* fix

* fix

* fetch extraparams

* add confirms

* add options

* add options

* add options

* add options

* add options

* add options

* add options

* fix

* wip

* wip

* fix

* fix

* fix

* fix

* fix

* fix
2026-01-06 15:58:06 +01:00
Laurent Destailleur
454eb415ca Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-12-15 15:43:55 +01:00
splohmer
a658b7fe89 FIX: Search all function for supplier proposals
In commit 6c8ae0b2a6 the behavior of searching all functionality for supplier proposals via the list.php was changed a bit. It was provided that the supplier_proposal.class.php defines the array of $fields with the flag if a search all is allowed in this field. This short fix adds only the two fields to the list to make the function again working. Without this you cannot search after the reference via the search all functionality.
2025-12-15 11:07:06 +01:00
Frédéric FRANCE
46d6714fe0 clean code (#36317)
* clean code

* clean code

* clean doc

* clean doc

* clean doc

* clean doc

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-20 01:47:46 +01:00
Laurent Destailleur
81527a9fe9 Clean code 2025-11-18 12:03:23 +01:00
Frédéric FRANCE
ef0f2ee4ee clean code (#36014) 2025-11-01 00:32:45 +01:00
Frédéric FRANCE
3b61b77b79 fix fetch extraparams (#35986)
* fix fetch extraparams

* fix

* fix

* Update FactureTest.php
2025-10-29 22:19:07 +01:00
Laurent Destailleur
8d91557b17 Fix doc 2025-10-19 18:23:04 +02:00
Frédéric FRANCE
18c29d0e40 fix tva can be sometimes string instead float (#35835) 2025-10-18 19:12:01 +02:00
Vincent Maury
b28b94821f NEW #35700 : Throw an error when validating a propal, order, supplier with a product no more in sale/purchase… (#35709)
* Fix #35700 : Throw an error when validating a propal, order, supplier proposal, supplier order if some products doesn't have the good status (on sale, on buy)

* Fix #35700 : Throw an error when validating a propal, order, supplier proposal, supplier order if some products doesn't have the good status (on sale, on buy)

* Fix #35700 : Throw an error when validating a propal, order, supplier proposal, supplier order if some products doesn't have the good status (on sale, on buy)

* Fix #35700 : Throw an error when validating a propal, order, supplier proposal, supplier order if some products doesn't have the good status (on sale, on buy)

* Fix #35700 : Throw an error when validating a propal, order, supplier proposal, supplier order if some products doesn't have the good status (on sale, on buy)

* Update commonobject.class.php

* Refactor checkActiveProductInLines method

* Fix comment formatting in commonobject.class.php

* Update commonobject.class.php

---------

Co-authored-by: vmaury <vmaury@vmaury-Lafite-Pro-16-AMD>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-18 11:19:31 +02:00
Laurent Destailleur
384d40ca01 phpunit more complete 2025-10-17 19:39:45 +02:00
Laurent Destailleur
412fe1df32 Fix regression 2025-10-16 21:26:35 +02:00
Laurent Destailleur
9d24127f37 Clean code 2025-10-16 20:15:06 +02:00
Laurent Destailleur
5228c9827e Fix CI 2025-10-16 19:46:46 +02:00
Frédéric FRANCE
3c597c263d clean code (#35710)
* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* fix

* clean code
2025-10-14 19:58:04 +02:00
Yamil Esteban Garcia
fc1364db56 NEW add tags on proposals and supplier proposals and in statistics (#35553)
* add own supplier invoice tag filter and bulk insert

add own supplier invoice tag filter and bulk insert

* Update list.php

change format

* Bulk edit commande tags

Bulk edit commande tags

* Label filter orders and supplier order statistics

Label filter orders and supplier order statistics

* Supplier Order Label Filter and Mass Action for Supplier Order Labels

Supplier Order Label Filter and Mass Action for Supplier Order Labels

* Update index.php

change format

* Update list.php

change format

* Update index.php

change format

* Update index.php

change format

* create categories proposal and supplier proposal

create categories proposal and supplier proposal

* adds category insertion to budget

adds category insertion to budget

* Create  table llx_categorie_propal

Create  table llx_categorie_propal

* setCategories method


setCategories method

* bulk add tag and filter tag actions

bulk add tag and filter tag actions

* labels in supplier budget statistics and budgets

labels in supplier budget statistics and budgets

* change format

* adds category insertion to supplier budget

* create supplier budget category table

create supplier budget category table

* create setCategories method

create setCategories method

* add tags in bulk and filter tag actions

add tags in bulk and filter tag actions

* Update card.php

* Update card.php

* Update propal.class.php

* Update index.php

* Update index.php

* Update card.php

* Update supplier_proposal.class.php

* Update list.php

* Update supplier_proposal.class.php

* Update supplier_proposal.class.php

* Update list.php

* Update list.php

* Update card.php

* Update card.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-01 17:37:08 +02:00
Frédéric FRANCE
8fa1df6560 clean code (#35518)
* clean code

* fix

* fix

* clean code
2025-09-28 13:58:30 +02:00
kkhelifa-opendsi
a9cd1d2bb9 New : Copy support of the deposit percent of the payment mode found in customer proposal, customer order and customer invoice to supplier proposal, order and invoice (#35432)
* New : Copy support of the deposit percent of the payment mode found in customer proposal, customer order and customer invoice to supplier proposal, order and invoice

* Correction pre-commit / travis CI

* Correction pre-commit / travis CI

* Correction pre-commit / travis CI

* Correction pre-commit / travis CI
2025-09-26 23:59:51 +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
4a363478ae Clean code with rector 2025-09-18 16:26:38 +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
2dbc0db9dd Clean code 2025-09-05 14:54:01 +02:00
ldestailleur
8a1ec5634f Clean code between subprice/pu_ht and subprice_ttc/pu_ttc 2025-09-03 22:29:36 +02:00
ldestailleur
d6fa374d84 QUAL: Removed no more used deprecated code 2025-09-03 21:53:43 +02:00
ldestailleur
62f761ac71 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-09-02 12:07:15 +02:00
ldestailleur
dd667a30b2 Fix warning 2025-09-01 20:01:14 +02:00
ldestailleur
1e98b14a75 FIX default doc template on supplier proposal 2025-09-01 12:12:48 +02:00
ldestailleur
9be9f6d0e6 FIX changin status on proposal need a refresh of page to be visible 2025-09-01 12:07:01 +02:00
Frédéric FRANCE
e6cb3039c0 fetch greatest tms (#35123)
* fetch greatest tms

* fetch greatest tms

* fetch greatest tms

* fetch greatest tms
2025-08-28 23:07:51 +02:00
Frédéric FRANCE
b31e85f00a clean code (#35002) 2025-08-20 16:59:17 +02:00
Jyhere
787bd1d278 CHANGE: ternary simplification (#34675) 2025-07-01 20:34:09 +02:00
ldestailleur
9c2da8b9b6 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-06-19 11:31:44 +02:00
ldestailleur
a78e63dbf0 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-06-19 11:13:59 +02:00
Laurent Destailleur
75b9a98f0b Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2025-06-14 02:24:25 +02:00
VIAL-GOUTEYRON Quentin
956d545b41 fix missing last_main_doc (#34405) 2025-06-12 12:17:29 +02:00
ldestailleur
6af8298736 Fix related to #33449 2025-04-07 15:46:10 +02:00
Pierre Ardoin
c8f38ef97c Add hidden option SUPPLIER_PROPOSAL_AUTOADD_USER_CONTACT (#33524)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-19 19:18:16 +01:00
Laurent Destailleur
aad4a2bc7e Merge branch 'develop' into retrieving-extraparams-for-lines 2025-03-06 04:57:15 +01:00
MDW
eac44b164a Qual: Fix phpdoc index(), FIELDS 2025-03-05 13:21:05 +01:00
MDW
acf6b62822 Fix PhanTypeMismatchArgument in commonobject, commande/card, 2025-03-05 12:15:12 +01:00
yannis
3519174adf Added retrieving extraparams for some object lines 2025-03-03 16:57:32 +01:00
MDW
035ede5874 Qual: Fix phan notices in API classes 2025-03-02 20:49:46 +01:00
MDW
c02293a880 Qual: Add phpdoc for request_data param 2025-03-02 20:49:45 +01:00
MDW
11ed394b4b Qual: Fix phan notices (supplier_proposal) 2025-02-18 14:16:49 +01:00
Laurent Destailleur (aka Eldy)
d01274ef4c Fix phan 2025-02-07 11:28:13 +01:00
MDW
24fa28dfe2 Qual: Fix getKanban phpdoc
# Qual: Fix getKanban phpdoc

Array phpdoc for getKanban corrections.
2025-02-05 01:43:37 +01:00
Laurent Destailleur
940e42c1e4 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2025-01-27 01:30:34 +01:00
vmaury
cf0c04c6ee Fix 31370 Pb with external account 2025-01-13 11:58:16 +01:00