Commit graph

138992 commits

Author SHA1 Message Date
Frédéric FRANCE
cf0782d96d
fix sql (#31769) 2024-11-12 00:33:28 +01:00
MDW
e8c51e8802
Qual: fix ci phpstan by removing useless test (#31772)
# Qual: fix phpstan by removing useless test

!$error && $champdatefin && ($champdatefin > 0) has useless tests.
- $error is still 0.
- $champdatefin is also not 0 when it is >0
- By casting $champdatefin to int, we ensure that '' (error) is
  converted to 0.
2024-11-12 00:32:59 +01:00
Laurent Destailleur
40aca2803f Add std deviation in custom report 2024-11-11 21:51:51 +01:00
Laurent Destailleur
982c356493 Debug v21 2024-11-11 21:28:21 +01:00
Laurent Destailleur
8c1f823851 Debug v21 2024-11-11 21:22:18 +01:00
Laurent Destailleur
0436458a8f FIX Date of survey must be in future 2024-11-11 20:36:52 +01:00
Laurent Destailleur
b51dc54db8 FIX edit label of survey 2024-11-11 20:32:02 +01:00
Laurent Destailleur
9b68d78fe5 Debug v21 2024-11-11 18:53:16 +01:00
Laurent Destailleur
0d905fc7a7 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-11 18:39:39 +01:00
Laurent Destailleur
e127d3c044 Debug v21 2024-11-11 18:39:15 +01:00
Frédéric FRANCE
273386f52f
display fichinter rec link (#31767)
* display fichinter rec link

* display fichinter rec link

* display fichinter rec link

* display fichinter rec link

* display fichinter rec link

* display fichinter rec link
2024-11-11 18:26:57 +01:00
lvessiller-opendsi
6c9c177763
NEW VAT by state (#31628)
* NEW VAT by state

* Fix global conf in looad tva function

* Fix load vat rates in memory

* Revert fk_tva column in state dict and load_tva function

* NEW vat rate with department in dict

* Fix isset not nullable

* Fix order VAT rate desc to set as default
2024-11-11 17:57:32 +01:00
atm-lena
10e18da5d7
Develop new facture rec field societe rib management (#31698)
* Add field "fk_societe_rib" in llx_facture_rec

* Add field fk_societe_rib FactureRec

* Management of new field "Bank Account Customer" in facture rec

* Empty Value Management

* Change method of hide/show field

* Preselect RIB

* Rename function

* Edit structure formiban

* fix merge conflict

* Clean code

* clean code

* change translations

* default rib preselected in invoice rec create

* fix "=="

* Update card-rec.php

---------

Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-11 17:53:35 +01:00
Alexandre SPANGARO
2fc0579def
NEW EPC QR CODE - Use bank owner account name instaed of company (#31735)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-11 17:38:41 +01:00
Laurent Destailleur
18b334bdf1 Clean code 2024-11-11 15:39:58 +01:00
Laurent Destailleur
c24c49225b Debug v21 2024-11-11 15:33:14 +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
Laurent Destailleur
3448985640 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-11 14:45:43 +01:00
Laurent Destailleur
8ccab8a5fa Doc 2024-11-11 14:45:30 +01:00
Frédéric FRANCE
661059ca9a
fix phpstan (#31763)
* 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-11-11 14:33:53 +01:00
Laurent Destailleur
86f80d0da5 Debug v21 2024-11-11 14:00:39 +01:00
Frédéric FRANCE
92ef950e6d
fix phpstan (#31761)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* hide new error with phpstan 1.12.9
2024-11-10 23:47:14 +01:00
Laurent Destailleur
37df9c3524 export 2024-11-10 18:42:57 +01:00
Laurent Destailleur
579aa77d76 Fix phpstan 2024-11-10 18:40:24 +01:00
Laurent Destailleur
8d62713eff Fix warning 2024-11-10 18:31:40 +01:00
Laurent Destailleur
7e8fff6cb0 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-11-10 18:28:05 +01:00
Laurent Destailleur
4d29fd4beb More complete fix for #31746 2024-11-10 18:23:17 +01:00
Frédéric FRANCE
940324f76d
fix dol_time_plus_duree with unit egal mn instead i (#31746)
* fix dol_time_plus_duree with unit egal mn instead i

* Update date.lib.php
2024-11-10 18:15:57 +01:00
Francis Appels
e17eafacb2
FIX select variant by attribute. (#31759)
DISTINCT needs order field in select.
Solved by removing DISTINCT
2024-11-10 18:15:04 +01:00
Laurent Destailleur
c585588ed4 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-10 18:09:39 +01:00
Laurent Destailleur
607f2708fc Rename variables to avoid confusion between id and scale. 2024-11-10 18:09:18 +01:00
Frédéric FRANCE
7ef1d270e7
fix phpstan in loan cards (#31758)
* fix phpstan in loan cards

* fix phpstan in loan cards

* fix phpstan in loan cards

* fix phpstan in loan cards

* fix phpstan in loan cards

* fix phpstan in loan cards

* fix phpstan in loan cards

* fix phpstan in cards
2024-11-10 17:55:36 +01:00
Laurent Destailleur
9114162a42 Close #31756 2024-11-10 12:37:26 +01:00
Laurent Destailleur
451e498608 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-10 11:56:32 +01:00
Laurent Destailleur
e20a593959 css 2024-11-10 11:55: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
Laurent Destailleur
27224afa9f Debug v21 2024-11-10 02:21:50 +01:00
Laurent Destailleur
46974bdf3f Debug v21 2024-11-10 02:19:35 +01:00
Laurent Destailleur
c7d0482f8d Debug v21 2024-11-10 01:59:46 +01:00
Laurent Destailleur
279aaa4da3 Fix color of status 2024-11-10 01:53:23 +01:00
Laurent Destailleur
6db1a73f9e Debug v21 2024-11-10 01:47:19 +01:00
Laurent Destailleur
028c5d8a92 Debug v21 2024-11-10 01:28:16 +01:00
Laurent Destailleur
c093f0c27e Debug v21 2024-11-10 01:10:49 +01:00
Laurent Destailleur
f8d5cfbb3b Fix phpunit 2024-11-09 17:21:23 +01:00
Laurent Destailleur
c1891c7886 Debug v21 2024-11-09 17:00:48 +01:00
Laurent Destailleur
eb64a1a3f6 Debug v21 2024-11-09 16:57:23 +01:00
Laurent Destailleur
cf65b5346c Debug v21 2024-11-09 16:18:54 +01:00
Laurent Destailleur
254c15fae1 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-09 15:55:41 +01:00
Laurent Destailleur
83a90708cb Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-11-09 15:51:05 +01:00
Laurent Destailleur
1b36a10702 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-11-09 15:50:56 +01:00