Commit Graph

1436 Commits

Author SHA1 Message Date
MDW
c1533bb4aa Fix ci - TYPE_CREDITNOTE -> TYPE_CREDIT_NOTE 2025-03-02 20:54:16 +01:00
ldestailleur
19ff066f99 Close #32233 2025-03-02 20:05:44 +01:00
ldestailleur
abcd0d2cf2 Qual: Clean code related to categories 2025-02-23 19:42:49 +01:00
MDW
81e870f7c1 Qual: Fix phan notices (takepos) 2025-02-18 22:55:56 +01:00
Laurent Destailleur
7bb331f9f8 Merge pull request #32042 from rycks/develop_takepos_search_term_is_not_same_as_term_variable
new variable search_term to be more clear
2025-02-12 04:11:45 +01:00
MDW
288aca6423 Qual: Fix phan (project-2) 2025-02-11 22:08:21 +01:00
MDW
fd7fee2e8f Qual: Fix textwithpicto $type argument (0->info,1->help) 2025-02-08 01:49:54 +01:00
Laurent Destailleur
d0b45c9723 Merge pull request #32691 from Tetras-Libre/takepos-start-new-sale-on-click-product-after-payment
TakePos Once payment is complet, a click on a product should start a new sale
2025-02-05 18:02:07 +01:00
Frédéric France
57b440677a Merge remote-tracking branch 'upstream/develop' into fix_phpstan_2025_01_05_01 2025-01-05 19:02:46 +01:00
Frédéric France
9eb58c9ce9 fix phpstan 2025-01-05 19:02:28 +01:00
Laurent Destailleur (aka Eldy)
8e3948fda7 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-01-05 18:39:39 +01:00
Laurent Destailleur (aka Eldy)
1cfa3b5803 Fix warning 2025-01-05 18:34:01 +01:00
Bahfirilyes
1751705f1f Merge branch 'develop' into lounes2001-3 2024-12-30 22:08:25 +01:00
ilyes bahfir
77e1dd62ad Fix: hook for adding params for bill closing 2024-12-29 23:28:14 +01:00
Laurent Destailleur (aka Eldy)
5fa3881f64 Debug v21 2024-12-09 14:07:37 +01:00
Laurent Destailleur (aka Eldy)
5c2b0b4321 Debug v21 2024-12-09 11:20:35 +01:00
Laurent Destailleur (aka Eldy)
352d156dd7 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-12-08 17:07:14 +01:00
Frédéric FRANCE
aefde2bbd8 Update auto_order.php 2024-12-07 14:37:40 +01:00
Frédéric FRANCE
fde5d6fdea fix include bad path 2024-12-07 14:34:01 +01:00
Laurent Destailleur (aka Eldy)
5c321cc678 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-12-02 01:52:08 +01:00
Laurent Destailleur (aka Eldy)
9227add8f4 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-12-02 01:41:40 +01:00
David Beniamine
343873c82f Once payment is complet, a click on a product should start a new sale 2024-11-26 13:13:07 +01:00
Laurent Destailleur
1fc7bc278b Merge branch 'develop' into develop_takepos_search_term_is_not_same_as_term_variable 2024-11-26 03:59:08 +01:00
Frédéric FRANCE
2b264ae5d0 fix phpstan (#32063) 2024-11-22 15:24:11 +01:00
Laurent Destailleur
65aadd446a Debug v21 2024-11-22 12:33:53 +01:00
Laurent Destailleur
ef714b23c0 Debug v21 2024-11-22 12:29:00 +01:00
Laurent Destailleur
999754c184 Debug v21 2024-11-22 12:07:48 +01:00
Eric Seigne
101ee350d3 new variable search_term to be more clear, term is only for terminal number 2024-11-21 19:51:29 +01:00
lvessiller-opendsi
c12a7e144a FIX TakePos barcode rule (#31857)
* FIX TakePos barcode rule

* Keep last test confition on barcode rule
2024-11-21 19:07:58 +01:00
lvessiller-opendsi
d2f5ee65ae FIX Takepos barcode rule with float qty (#31916)
* FIX Takepos barcode rule with float qty

* Replace floatval by cast in float and GETPOSTINT by GETPOSTFLOAT for qty

* Keep last test condition on barcode value
2024-11-19 13:21:31 +01:00
Laurent Destailleur
1386d8c388 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-11-19 04:21:29 +01:00
Delthair
c2a7c4bbc1 FIX #31724 (#31885)
* FIX TakePOS : Undefined variable $servicestatus in pay.php on lines 126, 368 and 392 when stripe is not enabled #31724

TakePOS : Undefined variable $servicestatus in pay.php on lines 126, 368 and 392 when stripe is not enabled #31724

* nettoyage ligne 89 whitespace
2024-11-15 23:59:30 +01:00
HENRY Florian
ba46e7dfd5 fix/feat: ProductLot document folder have to be the rowid (#29859)
* fix/feat: ProductLot docuement folder have to be ID as batch is not unique

* fix/feat: ProductLot docuement folder have to be ID as batch is not unique

* add translation

* fix travis

* fix travis

* fix CI*

* fix CI

* fix: travis CI

* reset from develop

* reset from develop

* reset from develop

* reset from develop

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-13 23:58:12 +01:00
Laurent Destailleur
66ee2a2cfe Close #24828 2024-11-12 02:24:25 +01:00
MDW
9ec4618199 Qual: Fix FunctionArray phan notices (#31754)
* Qual: Fix FunctionArray phan notices

* Fix class name in typing of htdocs/modulebuilder/index.php

* Fix customreports phpdoc

* Adjust file type after completeFileArrayWithDatabaseInfo

* Further phpdoc typing improvements

* More phpdoc

* Improve typing with cast on position field

* Force phpstan version

* Add phpstan exception

* Fix array index type + adjust phan config comment
2024-11-11 14:48:18 +01:00
Frédéric FRANCE
15490b292f fix phpstan and fix CI (#31739)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-11-10 11:16:23 +01:00
Frédéric FRANCE
0d7bc505d3 add phpdoc and clean phpstan baseline (#31702)
* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline
2024-11-06 19:39:46 +01:00
Frédéric FRANCE
1adc883b56 add baseline exclude for phpstan (#31632)
* add baseline exclude for phpstan

* update

* update

* update

* update

* update

* merge

* restore one filter

* delete old errors

* fix

* fix

* fix

* $moreforfilter can t be empty

* fix

* enable check

* refresh baseline

* add phpdoc

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 23:53:20 +01:00
Laurent Destailleur
abf5323484 FIX showing the receipt for print will generate a unalterable log 2024-10-28 21:23:54 +01:00
Laurent Destailleur
c70973c0c8 Merge v20 2024-10-19 14:44:55 +02:00
Yoan Mollard
e17e9e8703 Sanitize JS string fort alert() (#31465) 2024-10-19 00:56:00 +02:00
MDW
53cfbc35be Qual: Fix several phan & stan notices (#31308)
* Qual: Fix several phan & stan notices

# Qual: Fix several phan & stan notices

Several fixes in files while fixing UnknownClass notices

* Qual: Update prepare_head PHPDoc return types

# Qual: Update prepare_head PHPDoc return types

Provide detailed array return types for prepare_head functions.

* Fix new phan notice

* Better loadLangs typing and fix call to loadLangs

* Fix new issues (stats)

* Other fixes of new issues

* Qual: update phan baseline
2024-10-14 01:59:44 +02:00
Laurent Destailleur
49be27e95c Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-08 23:58:43 +02:00
Laurent Destailleur
1f5f38a968 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-10-08 23:54:40 +02:00
Laurent Destailleur
14dec516a3 FIX Vat code is lost when updating lines in POS 2024-10-08 23:51:51 +02:00
MDW
1834c37c16 Qual: Fix phan notices (#31212)
* Qual: Fix phan notices

# Qual: Fix phan notices

Fix several phan notices related to classes with UnknownObject
classes.

* Qual: Fix phan notices

* Qual: Fix phan notices

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-03 19:40:34 +02:00
MDW
8236aed22f Qual: Fix phan notices (#31193)
# Qual: Fix phan notices

Fix phan notices in several classes that have UnknownObjectMethod calls and classes
that had notices in relation with these classes
2024-09-30 10:05:24 +02:00
MDW
42bb4fbf3e Qual: Enable & fix or ignore Invalid DimOffset (#31176)
* Qual: Enable & fix or ignore Invalid DimOffset

# Qual: Enable & fix or ignore Invalid DimOffset

The Invalid DimOffset notices occur when array keys are defined and
the index used is not amongst the known array keys.

This PR enables these notices and fixes array definitions when needed,
or ignores the notices locally if it's a false positive, or in the
baseline.txt when it does not seem to be a false positive so that
it can be fixed later

* Nullable object typing in function signature not ok for 7.0/8.4

Can't user '?User' as argument type for PHP7.0 which is required by PHP8.4.
Therefore, removing the typing specification in the function definition

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-29 21:52:31 +02:00
Laurent Destailleur
726395ded9 Look and feel v21 2024-09-28 17:05:44 +02:00
Frédéric FRANCE
000173c7b9 fix phpstan (#31075)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-23 01:59:14 +02:00